Source: pycifrw
Version: 5.0.1+~3.0.13.427.g9e493fc-2
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
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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to