Source: plyara
Version: 2.2.8-2
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
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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to