| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
include /usr/share/dpkg/default.mk |
| 7 |
|
| 8 |
export PYBUILD_NAMEscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/PYBUILD_NAME.=gsd |
| 9 |
|
| 10 |
ifeq ($(DEB_HOST_ARCHscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/DEB_HOST_ARCH.),hurd-amd64) |
| 11 |
TEST_ARGS_EXTRA = -k "not test_largefile" |
| 12 |
endif |
| 13 |
|
| 14 |
export PYBUILD_TEST_ARGSscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/PYBUILD_TEST_ARGS.=$(CURDIRscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/CURDIR.)/gsd/test $(TEST_ARGS_EXTRAscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/TEST_ARGS_EXTRA.) |
| 15 |
|
| 16 |
%scip-debian debian python-gsd 5.0.1-2 python-gsd/rules/`%`().: |
| 17 |
dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 18 |
|
| 19 |
override_dh_cleanscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/override_dh_clean().: |
| 20 |
dh_cleanscip-debian debian debhelper . dh_clean(). |
| 21 |
rm -f gsd/fl.c || /bin/true |
| 22 |
rm -rf devdoc |
| 23 |
rm -rf gsd/test/.pytest_cache |
| 24 |
|
| 25 |
execute_after_dh_auto_build-indepscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/execute_after_dh_auto_build-indep().: export http_proxy=127.0.0.1:9 |
| 26 |
execute_after_dh_auto_build-indepscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/execute_after_dh_auto_build-indep().: export https_proxy=127.0.0.1:9 |
| 27 |
execute_after_dh_auto_build-indepscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/execute_after_dh_auto_build-indep().: |
| 28 |
doxygen |
| 29 |
PYTHONPATH=$(shell pybuild --pyver `py3versions -dv` --print {build_dir}) READTHEDOCS=True sphinx-build -b html doc $(CURDIRscip-debian debian python-gsd 5.0.1-2 python-gsd/rules/CURDIR.)/.pybuild/html # HTML generator |