Source: python-pyutil
Version: 3.3.2-5
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
python-pyutil could not be built reproducibly.
This was because it was building a different binary package depending
on whether the testsuite was being run or not. Specifically, it was
shipping files such as this:
/usr/lib/python3/dist-packages/util/FileUtil/test_du/space-consuming/a/b/1.txt
^^^^^^^^^^^^^^^^^^
... which seems like an issue in itself. Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2025-11-12 12:18:49.485768858 -0800
--- b/debian/rules 2025-11-12 12:26:48.049686334 -0800
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME = pyutil
+export PYBUILD_AFTER_TEST = rm -rvf {build_dir}/util
%:
dh $@ --buildsystem pybuild