Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 #export DH_VERBOSE = 1
4
5 include /usr/share/dpkg/pkg-info.mk
6
7 export BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d @"$(SOURCE_DATE_EPOCH)")
8
9 # Prevent setuptools/distribute from accessing the internet.
10 export http_proxy = http://127.0.9.1:9
11
12 export PYBUILD_NAME=mando
13
14 %:
15 dh $@ --buildsystem=pybuild
16
17 override_dh_auto_test:
18 ${RM} -r .pybuild/
19 PYTHONPATH=. pytest mando/
20
21 override_dh_auto_build:
22 python3 setup.py build
23 make -C docs/ html SPHINXBUILD="/usr/share/sphinx/scripts/python3/sphinx-build" SPHINXOPTS="-j 4 -D today=\"$(BUILD_DATE)\""
24 $(RM) doc/v2/_build/html/objects.inv
25
26 override_dh_auto_clean:
27 python3 setup.py clean -a
28 find . -name "*.pyc" -delete
29 ${RM} -r .pytest_cache/ .pybuild/ test.log .travis.yml docs/_build/
30
31 override_dh_installexamples:
32 dh_installexamples -p python3-mando
33 dh_installexamples -p python-mando-doc --doc-main-package python-mando-doc
34
35 override_dh_installdocs:
36 dh_installdocs -p python3-mando
37 dh_installdocs -p python-mando-doc --doc-main-package python-mando-doc