File: rules

package info (click to toggle)
httpcore 1.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 864 kB
  • sloc: python: 9,365; sh: 101; makefile: 41
file content (47 lines) | stat: -rwxr-xr-x 2,055 bytes parent folder | download | duplicates (3)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
#! /usr/bin/make -f

export PYBUILD_NAME=httpcore
# missing pproxy: test_proxy_socket_does_not_leak_when_the_connection_hasnt_been_added_to_pool
# missing pytest-trio: test_response_async_read, test_response_async_streaming, test_connection_pool_concurrency, test_connection_pool_concurrency_same_domain_closing, test_connection_pool_concurrency_same_domain_keepalive
export PYBUILD_TEST_ARGS=--verbose -o asyncio_mode=strict -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 \
	  and not test_response_async_read \
	  and not test_response_async_streaming \
	  and not test_connection_pool_concurrency \
	  and not test_connection_pool_concurrency_same_domain_closing \
	  and not test_connection_pool_concurrency_same_domain_keepalive \
	  and not test_ssl_request \
	  and not test_extra_info \
	  and not test_socks5_request_incorrect_auth \
	  and not test_socks5_request_failed_to_provide_auth \
	  and not test_socks5_request_connect_failed \
	  and not test_authenticated_socks5_request \
	  and not test_socks5_request \
	  '

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

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