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
#export DH_VERBOSE=1
%:
dh $@ --buildsystem=pybuild
execute_after_dh_auto_install:
dh_auto_install
mv debian/python3-jupyter-server-terminals/usr/etc debian/python3-jupyter-server-terminals/etc
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
mkdir -p debian/testhome
export HOME=$$(pwd)/debian/testhome;
export JUPYTER_PLATFORM_DIRS=1; \
jupyter --paths; \
dh_auto_test
endif
execute_after_dh_auto_clean:
rm -rf debian/testhome
|