Source: python-pymummer
Version: 0.11.0-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-pymummer could not be built reproducibly.
This is because it ships a different package depending on whether the
tests are run or not. Specifically, it includes a directory called
tests/ because it is populated in PYBUILD_BEFORE_TEST.
Patch attached that cleans this up in PYBUILD_AFTER_TEST.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2025-11-13 08:01:36.508039674 -0800
--- b/debian/rules 2025-11-13 08:16:43.857416292 -0800
@@ -8,6 +8,7 @@
export PYBUILD_BEFORE_TEST = mkdir {build_dir}/pymummer; \
cp -r {dir}/pymummer/tests {build_dir}/pymummer/
+export PYBUILD_AFTER_TEST = rm -rfv {build_dir}/pymummer/tests
%:
LC_ALL=C.UTF-8 dh $@ --buildsystem=pybuild