Source: python-ofxhome
Version: 0.3.3-5
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-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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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
 
 
 

Reply via email to