Source: gwcs
Version: 1.0.3-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
gwcs could not be built reproducibly.

This is because the binary package ships an .egg-info directory 
directly under the dist-packages/ directory, and then the mtimes
of the test data are updated.

Patch attached that simply ensures these files are not shipped in the
binary package.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-04-15 13:11:34.835149106 -0700
--- b/debian/rules      2026-04-15 13:38:17.890332480 -0700
@@ -19,3 +19,7 @@
          cp -av gwcs/tests/data/ $${t}/gwcs/tests ; \
        done
        no_proxy=127.0.0.1 dh_auto_test
+
+execute_after_dh_auto_install:
+       rm -rf debian/python3-gwcs/usr/lib/python*/dist-packages/gwcs.egg-info
+       rm -rf debian/python3-gwcs/usr/lib/python*/dist-packages/gwcs/tests/data

Reply via email to