Bug#1120330: python-ofxhome: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Nov 7 18:55:03 GMT 2025


Source: python-ofxhome
Version: 0.3.3-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-ofxhome could not be built reproducibly.

This is because the testsuite does not 100% clean up after itself.

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-07 10:46:17.308514169 -0800
--- b/debian/rules	2025-11-07 10:53:38.742543219 -0800
@@ -5,6 +5,7 @@
 export PYBUILD_NAME=ofxhome
 export PYBUILD_TEST_CUSTOM = 1
 export PYBUILD_TEST_ARGS = (if [ -d ofxhome/tests ]; then cp -r testfiles ofxhome/tests/; fi); {interpreter} -m unittest ofxhome.tests.test_suite -v
+export PYBUILD_AFTER_TEST = rm -rf {build_dir}/ofxhome/tests/testfiles
 
 
 


More information about the Reproducible-bugs mailing list