1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#! /usr/bin/make -f
export PYBUILD_NAME=poetry-core
export PYBUILD_TEST_PYTEST=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# ignore tests that read the source pyproject.toml file
export PYBUILD_TEST_ARGS=-k 'not test_version_is_synced'
%:
dh $@ --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install
find debian -type f -name "*LICENSE*" -delete
find debian -type f -name "*LICENCE*" -delete
find debian -type f -name "vendor.txt" -delete
find debian -type f -name "*COPYING*" -delete
# this is from tests
#find . -name "*extended*" -type d -exec rm -rf {} +
|