Source: python-babelgladeextractor
Version: 0.7.0-3
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-babelgladeextractor could not be built reproducibly.

This is because it ships a different binary package depending on
whether the testsuite is run or not.

Specifically, it does not remove some files (eg. test.desktop) that
are generated during the testsuite. A patch is attached that will remove
them, but if the binary package really does need this directory at runtime
for whatever reason (e.g. for autopkgtests or simply for the package to
function), then the package naturally needs to ensure that they exist
regardless of whether nocheck is specified or not.


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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-17 10:29:50.595968716 -0800
--- b/debian/rules      2025-11-17 11:22:55.304072223 -0800
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME = BabelGladeExtractor
+export PYBUILD_AFTER_TEST = rm -rfv {build_dir}/test.*
 
 %:
        dh $@ --with python3 --buildsystem=pybuild

Reply via email to