Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=altgraph
4 export http_proxy = http://127.0.0.1:9
5 export https_proxy = https://127.0.0.1:9
6
7 %:
8 dh $@ --buildsystem=pybuild
9
10 execute_after_dh_auto_build:
11 python3 -m sphinx -bhtml doc build/html
12
13 execute_after_dh_sphinxdoc:
14 find debian/python-altgraph-doc -name license.txt -delete
15
16 override_dh_auto_test:
17 python3 setup.py egg_info
18 dh_auto_test -- --system=custom --test-args='{interpreter} -m unittest discover -v'
19
20 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
21 debian/.*
22 # licensecheck v1
23 .PHONY: licensecheck
24 licensecheck:
25 LANG=C.UTF-8 licensecheck \
26 -i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEX))$$" \
27 --check '.*' --recursive --deb-machine --lines 0 * \
28 > debian/copyright_newhints
29 cmp debian/copyright_hints debian/copyright_newhints \
30 && rm debian/copyright_newhints