Bug#1120123: pycifrw: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Nov 5 18:22:38 GMT 2025


Source: pycifrw
Version: 5.0.1+~3.0.13.427.g9e493fc-2
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
pycifrw could not be built reproducibly.

This is because it ships different files if the tests are run or not.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-05 09:38:43.819550948 -0800
--- b/debian/rules	2025-11-05 09:47:33.708011412 -0800
@@ -3,6 +3,7 @@
 export PYBUILD_NAME = pycifrw
 export PYBUILD_TEST_ARGS = -v TestPyCIFRW.py -v TestDrel.py
 export PYBUILD_BEFORE_TEST = cp TestDrel.py {build_dir}
+export PYBUILD_AFTER_TEST = rm {build_dir}/TestDrel.py {build_dir}/CifFile/drel/parser.out {build_dir}/CifFile/drel/parsetab.py
 
 %:
 	dh $@ --buildsystem=pybuild


More information about the Reproducible-bugs mailing list