Source: python-pyshortcuts
Version: 1.9.5-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-pyshortcuts could not be built reproducibly.

This is because the testsuite generated a status.json file which ended
up being shipped with the binary .deb. This meant therefore that if
the tests were skipped, the package would not include this file.

Patch attached that removes this file after running the tests; it's
likely not needed at runtime.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-15 10:26:23.046346272 -0800
--- b/debian/rules      2025-12-15 10:38:26.697093898 -0800
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export PYBUILD_AFTER_TEST=rm -fv {build_dir}/htmlcov/status.json
+
 %:
        dh $@ --buildsystem=pybuild
 

Reply via email to