Using rules to extend dh_auto_clean for removing egg-info files rather than overwriting clean with a debhelper file.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
563c325230
commit
bdc16fa702
3 changed files with 4 additions and 3 deletions
2
debian/clean
vendored
2
debian/clean
vendored
|
@ -1,2 +0,0 @@
|
|||
*.egg-info/*
|
||||
.cache/
|
4
debian/rules
vendored
4
debian/rules
vendored
|
@ -8,5 +8,9 @@ export PYBUILD_AFTER_TEST=rm {build_dir}/example.py
|
|||
%:
|
||||
dh ${@} --buildsystem pybuild --with python3
|
||||
|
||||
execute_after_dh_auto_clean:
|
||||
# help pybuild
|
||||
rm -rf *.egg-info
|
||||
|
||||
override_dh_compress:
|
||||
dh_compress -X example.py
|
||||
|
|
1
debian/source/options
vendored
1
debian/source/options
vendored
|
@ -1 +0,0 @@
|
|||
extend-diff-ignore="^[^/]+\.egg-info/"
|
Loading…
Add table
Reference in a new issue