#!/usr/bin/make -f export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export PYBUILD_NAME = thinc %: dh $@ --buildsystem=pybuild execute_after_dh_auto_install: -find debian -type d -path '*.hypothesis*' -exec rm -rf '{}' + override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) -PYBUILD_SYSTEM=custom \ PYBUILD_TEST_ARGS="cd {build_dir} && {interpreter} -Wd -m pytest thinc -v -rs" \ dh_auto_test endif execute_after_dh_auto_clean: -find . -type f -name cythonize.dat -delete