File: rules

package info (click to toggle)
httpcore 0.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 520 kB
  • sloc: python: 5,126; sh: 103; makefile: 29
file content (34 lines) | stat: -rwxr-xr-x 1,257 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#! /usr/bin/make -f

export PYBUILD_NAME=httpcore
# missing pproxy: test_proxy_socket_does_not_leak_when_the_connection_hasnt_been_added_to_pool
export PYBUILD_TEST_ARGS=--verbose -k ' \
	      not test_closing_http_request \
	  and not test_connection_pool_get_connection_info \
	  and not test_explicit_backend_name \
	  and not test_http2_request \
	  and not test_http_proxy \
	  and not test_http_request \
	  and not test_http_request_cannot_reuse_dropped_connection \
	  and not test_http_request_local_address \
	  and not test_http_request_reuse_connection \
	  and not test_https_request \
	  and not test_https_request_reuse_connection \
	  and not test_max_keepalive_connections_handled_correctly \
	  and not test_proxy_https_requests \
	  and not test_proxy_socket_does_not_leak_when_the_connection_hasnt_been_added_to_pool \
	  and not test_threadsafe_basic \
	  and not test_broken_socket_detection_many_open_files \
	  and not test_no_retries \
	  and not test_retries_enabled \
	  and not test_retries_exceeded \
	  and not test_connection_timeout_tcp \
	  and not test_connection_timeout_uds \
	  '

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_install:
	find .pybuild -type f -name .coverage -delete
	dh_auto_install