1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
DOPACKAGES := $(shell dh_listpackages)
export HDF5PLUGIN_STRIP=all
%:
dh $@ --buildsystem=pybuild
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)
dh_auto_test -- -s custom --test-args="env PYTHONPATH={build_dir} {interpreter} -m hdf5plugin.test"
dh_auto_test -- -s custom --test-args="env PYTHONPATH={build_dir} {interpreter} test/test.py"
endif
# Build documentation
ifneq (,$(filter python3-hdf5plugin-doc,$(DOPACKAGES)))
execute_after_dh_auto_build:
PYTHONPATH=`pwd`/build/lib make -C doc html
endif
|