Debian Codegraph @

debian/rules

raw symbols SCIP
1 #! /usr/bin/make -f
2
3 export PYBUILD_NAMEscip-debian debian httpx 0.28.1-1.1 httpx/rules/PYBUILD_NAME.=httpx
4 export PYBUILD_DISABLEscip-debian debian httpx 0.28.1-1.1 httpx/rules/PYBUILD_DISABLE.=test
5
6 # Use dynamic port for unittest embedded webservers
7 # Also see debian/patches/0000-Debianize-unittests-run
8 # export HTTPX_TEST_HTTP_PORT=$(shell python3 -c 'import socket; s=socket.socket(); s.bind(("", 0)); print(s.getsockname()[1]); s.close()')
9 # export HTTPX_TEST_HTTPS_PORT=$(shell python3 -c 'import socket; s=socket.socket(); s.bind(("", 0)); print(s.getsockname()[1]); s.close()')
10
11 %scip-debian debian httpx 0.28.1-1.1 httpx/rules/`%`().:
12 dh $@ --with python3 --buildsystem=pybuild
13
14 override_dh_auto_testscip-debian debian httpx 0.28.1-1.1 httpx/rules/override_dh_auto_test().:
15 ifeq ($(filterscip-debian debian httpx 0.28.1-1.1 httpx/rules/filter. nocheck,$(DEB_BUILD_PROFILESscip-debian debian httpx 0.28.1-1.1 httpx/rules/DEB_BUILD_PROFILES.)),)
16 for python in $(shell py3versions --supported); do \
17 $$python -m pytest -v -Wignore -k 'not test_connect_timeout and not test_sync_proxy_close and not test_async_proxy_close'; \
18 done
19 endif