Manually removing some files that pybuild doesn't clean up during build (Closes: #1049152).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
fb40e3a029
commit
ad2bae9569
1 changed files with 4 additions and 0 deletions
4
debian/rules
vendored
4
debian/rules
vendored
|
@ -5,6 +5,10 @@ export PYBUILD_NAME=treelib
|
||||||
%:
|
%:
|
||||||
dh ${@} --buildsystem=pybuild
|
dh ${@} --buildsystem=pybuild
|
||||||
|
|
||||||
|
execute_after_dh_auto_clean:
|
||||||
|
# help pybuild
|
||||||
|
rm -rf *.egg-info
|
||||||
|
|
||||||
execute_after_dh_installexamples:
|
execute_after_dh_installexamples:
|
||||||
# correcting shebang
|
# correcting shebang
|
||||||
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|' debian/python3-treelib/usr/share/doc/python3-treelib/examples/*.py
|
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|' debian/python3-treelib/usr/share/doc/python3-treelib/examples/*.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue