Source: magic-wormhole-mailbox-server
Version: 0.4.1-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
magic-wormhole-mailbox-server could not be built reproducibly.

This is because it ships a bunch of test-related files directly under
/usr/lib/python3/dist-packages/wormhole_mailbox_server.test.tes. (N.B.
the final "tes" is deliberate; it is not "test".) It's probably a bug
in itself, i.e. separate from reproducibility, that this package ships
a pseudo Python package here. :)

Either way, patch attached that removes these after running the tests.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-04-21 09:01:34.032838291 -0700
--- b/debian/rules      2025-04-21 09:30:47.324851338 -0700
@@ -1,5 +1,7 @@
 #! /usr/bin/make -f
 
 export PYBUILD_NAME=magic-wormhole-mailbox-server
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/wormhole_mailbox_server.test.tes
+
 %:
        dh $@ --with python3 --buildsystem=pybuild

Reply via email to