Bug#1122227: plyara: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Dec 8 23:22:35 GMT 2025


Source: plyara
Version: 2.2.8-2
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
plyara could not be built reproducibly.

This is because the testsuite generates a parsetab.py file that ends
up in the binary package, so if the tests are skipped (via "nocheck")
then the package will have different contents.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-08 15:11:21.032079263 -0800
--- b/debian/rules	2025-12-08 15:21:27.000272554 -0800
@@ -3,6 +3,7 @@
 #export DH_VERBOSE = 1
 
 export PYBUILD_NAME=plyara
+export PYBUILD_AFTER_TEST=rm -fv {build_dir}/plyara/parsetab.py
 
 %:
 	dh $@ --buildsystem=pybuild


More information about the Reproducible-bugs mailing list