Source: circlator
Version: 1.5.6-13
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
circlator could not be built reproducibly.

This is because the tests did not clean up after themselves after
the call to "cp" in PYBUILD_BEFORE_TEST. 

Patch attached that adds a corresponding PYBUILD_AFTER_TEST.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-02 12:04:46.887808404 -0800
--- b/debian/rules      2025-12-02 12:07:27.095446651 -0800
@@ -5,6 +5,7 @@
 
 export LC_ALL=C.UTF-8
 export PYBUILD_BEFORE_TEST=cp -av circlator/tests {build_dir}/circlator/
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/circlator/tests
 export PYBUILD_TEST_ARGS=circlator/tests
 
 %:

Reply via email to