File: rules

package info (click to toggle)
python-altgraph 0.17.3%2Bds0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 372 kB
  • sloc: python: 2,561; makefile: 82; sh: 10
file content (18 lines) | stat: -rwxr-xr-x 457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=altgraph
export http_proxy = http://127.0.0.1:9
export https_proxy = https://127.0.0.1:9

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build:
	python3 -m sphinx -bhtml doc build/html

execute_after_dh_sphinxdoc:
	find debian/python-altgraph-doc -name license.txt -delete

override_dh_auto_test:
	python3 setup.py egg_info
	dh_auto_test -- --system=custom --test-args='{interpreter} -m unittest discover -v'