#!/usr/bin/make -f DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 export PYBUILD_DESTDIR_python3=debian/python3-pairtools/ %: dh $@ --with numpy3 --buildsystem=pybuild override_dh_auto_clean: dh_auto_clean rm -f pairtools/lib/*.c pairtools/lib/regions.cpp override_dh_auto_test: dh_auto_test -- --system=custom --test-args="export CURPY={interpreter}; \ cd {build_dir} && {interpreter} -m pytest -v" execute_after_dh_auto_install: find debian/ -name '*.stats' -delete