Bug#1131403: python-agate: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Mar 20 19:26:31 GMT 2026


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

When the tests were skipped, the examples were still being shipped in
the binary package

Patch attached that removes these in the (always run) PYBUILD_BEFORE_INSTALL
setting instead of the conditional PYBUILD_AFTER_TEST.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-03-20 12:02:46.632899217 -0700
--- b/debian/rules	2026-03-20 12:25:07.046764405 -0700
@@ -5,7 +5,7 @@
 
 export PYBUILD_NAME = agate
 export PYBUILD_BEFORE_TEST = cp -r {dir}/examples {build_dir}
-export PYBUILD_AFTER_TEST = rm -rf {build_dir}/examples
+export PYBUILD_BEFORE_INSTALL = rm -rf {build_dir}/examples
 
 %:
 	dh $@ --with sphinxdoc --buildsystem=pybuild


More information about the Reproducible-bugs mailing list