#!/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=bottleneck export DH_ALWAYS_EXCLUDE=LICENSE %: dh $@ --with python3,numpy3,sphinxdoc --buildsystem=pybuild override_dh_auto_clean: dh_auto_clean ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) find bottleneck -type f -name "*.so" -delete $(RM) -rf build/sphinx endif override_dh_auto_build: export http_proxy=127.0.0.1:9 override_dh_auto_build: export https_proxy=127.0.0.1:9 override_dh_auto_build: dh_auto_build ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) python3 setup.py build_ext --inplace PYTHONPATH=. python3 setup.py build_sphinx endif override_dh_installchangelogs: dh_installchangelogs RELEASE.rst override_dh_strip: dh_strip --package=python3-$(PYBUILD_NAME) --dbg-package=python3-$(PYBUILD_NAME)-dbg get-orig-source: uscan --download-current-version --force-download --no-symlink