File: rules

package info (click to toggle)
django-axes 5.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 704 kB
  • sloc: python: 3,110; makefile: 172; sh: 1
file content (23 lines) | stat: -rwxr-xr-x 509 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
#!/usr/bin/make -f

export PYBUILD_NAME=django-axes
export DH_VERBOSE=1

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf debian/html

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='http://127.0.0.1:9/' python3 /usr/bin/sphinx-build -N -bhtml docs debian/html

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="py.test-3" \
	PYTHONPATH=. dh_auto_test