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 30 31
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME = h5py
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
override_dh_auto_build-indep: export http_proxy=127.0.0.1:9
override_dh_auto_build-indep: export https_proxy=127.0.0.1:9
override_dh_auto_build-indep:
PYTHONPATH=. sphinx-build -N -b html docs build/html
endif
override_dh_python2:
dh_python2
dh_numpy
override_dh_python3:
dh_python3
dh_numpy3
override_dh_strip-arch:
dh_strip --package=python-$(PYBUILD_NAME) \
--dbg-package=python-$(PYBUILD_NAME)-dbg
dh_strip --package=python3-$(PYBUILD_NAME) \
--dbg-package=python3-$(PYBUILD_NAME)-dbg
|