1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=tempora
export PYBUILD_BEFORE_TEST=cp -va {dir}/pytest.ini {build_dir}; cp -va {dir}/tempora/tests {build_dir}/tempora/
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/pytest.ini {build_dir}/tempora/tests
export PYBUILD_TEST_ARGS=-k 'not tempora.get_nearest_year_for_day'
%:
dh $@ --with python3 --buildsystem=pybuild --test-pytest
execute_after_dh_installexamples:
# install tiny, autogenerated calc-prorate script as an example only
rm -vrf debian/python3-tempora/usr/bin
|