1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/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
|