Bug#1133960: gwcs: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Apr 15 21:40:52 BST 2026


Source: gwcs
Version: 1.0.3-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

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
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- 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


More information about the Reproducible-bugs mailing list