Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=urllib3
4 export PYTHONWARNINGS=d
5 # Use patched hypercorn; see https://github.com/urllib3/urllib3/issues/3334
6 export PYTHONPATH=$(CURDIR)/debian/vendor
7 export PYBUILD_TEST_PYTEST=1
8 export PYBUILD_TEST_ARGS=-k "not requires_network and not test_recent_date"
9 export LC_ALL=C.UTF-8
10 export CI=1 # Use longer timeouts, see https://github.com/urllib3/urllib3/issues/3164
11 # pybuild exports http_proxy=http://127.0.0.1:9/ by default, but that breaks
12 # some tests here and the package doesn't seem to try to connect to the
13 # internet without it.
14 export http_proxy=
15
16 %:
17 dh $@ --buildsystem=pybuild
18
19 override_dh_clean:
20 dh_clean
21 find . -type d -name .pytest_cache -exec rm -rf {} +
22
23 override_dh_auto_test:
24 PYTHONPATH=$(CURDIR)/debian/vendor dh_auto_test
25
26 override_dh_installchangelogs:
27 dh_installchangelogs CHANGES.rst