File: rules

package info (click to toggle)
python-aioxmpp 0.13.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 6,244 kB
  • sloc: python: 97,761; xml: 215; makefile: 155; sh: 63
file content (20 lines) | stat: -rwxr-xr-x 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
export PYBUILD_NAME=aioxmpp

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

override_dh_auto_test:
	CI=true pybuild --test --test-pytest

override_dh_auto_build:
	dh_auto_build
	PYTHONHASHSEED=0; \
	export PYTHONHASHSEED; \
	PYTHONPATH=. http_proxy='127.0.0.1:9' https_proxy='127.0.0.1:9' make \
		   SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build \
		   docs-html

override_dh_auto_clean:
	dh_auto_clean
	make docs-clean