File: rules

package info (click to toggle)
slixmpp 1.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,520 kB
  • sloc: python: 41,715; xml: 1,197; makefile: 120
file content (23 lines) | stat: -rwxr-xr-x 498 bytes parent folder | download | duplicates (4)
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=slixmpp

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

override_dh_auto_build:
	dh_auto_build
	PYTHONHASHSEED=0; export PYTHONHASHSEED; \
	PYTHONPATH=. http_proxy='127.0.0.1:9' make -C docs html

execute_after_dh_install:
	rm debian/python3-slixmpp/usr/lib/python3/dist-packages/slixmpp/jid.rs

override_dh_auto_test:
	./run_tests.py

execute_after_dh_auto_clean:
	make -C docs clean

override_dh_sphinxdoc-indep:
	dh_sphinxdoc -Xtheme_extras.js