#!/usr/bin/make -f export PYBUILD_NAME=numpysane export PYBUILD_DISABLE_python3.4=1 %: dh $@ --with python3 --buildsystem=pybuild # extract_README.py shouldn't be distributed. This should be communicated in # setup.py (or whatever is supposed to take its place), but I cannot be bothered # to figure that out override_dh_auto_install: dh_auto_install rm debian/python3-numpysane/usr/lib/python3*/dist-packages/extract_README.py dh_numpy3 override_dh_auto_build: make README README-pywrap dh_auto_build override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) make test3 endif override_dh_auto_clean: rm -rf README README-pywrap dh_auto_clean