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

Reply via email to