[Debian-med-packaging] Bug#1120528: deblur: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Nov 11 18:37:53 GMT 2025


Source: deblur
Version: 1.1.1-4
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
deblur could not be built reproducibly.

This is because the package ships different contents depending on
whether nocheck is specified or not, which was in turn caused by
the lack of a PYBUILD_AFTER_TEST line to clean up after the changes
made in PYBUILD_BEFORE_TEST.

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-11 10:16:36.680565209 -0800
--- b/debian/rules	2025-11-11 10:33:45.337822721 -0800
@@ -4,6 +4,7 @@
 
 export PYBUILD_NAME=deblur
 export PYBUILD_BEFORE_TEST=cp -Rv {dir}/deblur/test/data {build_dir}/deblur/test
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/deblur/test/data
 export PYBUILD_TEST_ARGS=deblur/test/test_*.py -k ' \
                                                         not test_workflow \
                                                     and not test_parallel_deblur \


More information about the Debian-med-packaging mailing list