[Debian-med-packaging] Bug#1120633: python-pymummer: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Nov 13 16:41:11 GMT 2025


Source: python-pymummer
Version: 0.11.0-5
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

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
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- 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


More information about the Debian-med-packaging mailing list