From f5038ecf3a8100a33ad524a1329ef70e86a76f9d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 06:58:12 +0200 Subject: Manually removing some files that pybuild doesn't clean up during build (Closes: #1049152). Signed-off-by: Daniel Baumann --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3