1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
export PYBUILD_NAME=tango
export PYBUILD_TEST_ARGS=--reruns 5
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --buildsystem=pybuild
execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep:
dh_auto_build --buildsystem=pybuild -- -s custom --build-args="PYTHONPATH={build_dir} {interpreter} -m sphinx -N -bhtml doc build/html"
execute_before_dh_installdocs:
mkdir -p $(CURDIR)/debian/python-tango-doc/usr/share/doc/python-tango-doc/html/usr/share/javascript/d3/
ln -s /usr/share/javascript/d3/d3.min.js \
$(CURDIR)/debian/python-tango-doc/usr/share/doc/python-tango-doc/html/usr/share/javascript/d3/
override_dh_auto_test:
# See: #1087905
#
# Also, some tests are failing sometimes. Allow them to fail for now,
# until there are more reliable tests.
-set -e; for py in $(shell py3versions -s) ; do \
export PYTHON=/usr/bin/$$py ; \
PATH="/usr/lib/tango/:$$PATH" dh_auto_test --buildsystem=pybuild -- \
--test-pytest ; \
done
|