summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 04:58:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 04:58:12 +0000
commitf5038ecf3a8100a33ad524a1329ef70e86a76f9d (patch)
treea91ca5b5b5f5f0291ca883f84f13b4c85c93e7d3
parentReleasing debian version 1.6.4-2. (diff)
downloadtreelib-f5038ecf3a8100a33ad524a1329ef70e86a76f9d.tar.xz
treelib-f5038ecf3a8100a33ad524a1329ef70e86a76f9d.zip
Manually removing some files that pybuild doesn't clean up during build (Closes: #1049152).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 3d0952a..2a8cf12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,10 @@ export PYBUILD_NAME=treelib
%:
dh ${@} --buildsystem=pybuild
+execute_after_dh_auto_clean:
+ # help pybuild
+ rm -rf *.egg-info
+
execute_after_dh_installexamples:
# correcting shebang
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|' debian/python3-treelib/usr/share/doc/python3-treelib/examples/*.py