1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
export PYBUILD_DESTDIR_python3=debian/python3-pairtools/
%:
dh $@ --with python3,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
|