File: rules

package info (click to toggle)
python-urllib3 1.24.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,792 kB
  • sloc: python: 12,739; makefile: 181
file content (29 lines) | stat: -rwxr-xr-x 716 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
#!/usr/bin/make -f

export PYBUILD_NAME=urllib3
export PYTHONWARNINGS=d
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=\
	--ignore=test/appengine \
	--ignore=test/with_dummyserver \
	--ignore=test/test_connectionpool.py \
	--ignore=test/test_ssl.py \
	--ignore=test/contrib/test_pyopenssl.py \
	--ignore=test/contrib/test_securetransport.py \
	--ignore=test/contrib/test_socks.py \
	-k-test_recent_date
# Skip timing tests
export TRAVIS=1

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

override_dh_clean:
	dh_clean
	find . -type d -name .pytest_cache -exec rm -rf {} +

override_dh_auto_configure:
	rm -f src/urllib3/packages/six.py

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst