Source: python-nxtomomill
Version: 2.0.1-1
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-nxtomomill could not be built reproducibly.

This is because the package differs depending on whether the tests
are run or not. Specifically, the presence of a handful of .cfg
files, as well as the varying timestamps of some __init__.py files.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-03-02 09:11:30.257637275 -0800
--- b/debian/rules      2026-03-02 10:07:00.705169499 -0800
@@ -5,7 +5,7 @@
 
 # For some reason, even with a pybuild.testfiles, not all files are copied
 execute_before_dh_auto_test:
-       for i in .pybuild/cpython3_* ; do cp -a nxtomomill/tests/resources 
$$i/build/nxtomomill/tests/ ; done
+       for i in .pybuild/cpython3_* ; do cp -r nxtomomill/tests/resources 
$$i/build/nxtomomill/tests/ ; done
 
 execute_after_dh_auto_install:
-       find debian -name conf.py -delete
+       find debian \( -name conf.py -or -name '*.cfg' \) -delete

Reply via email to