Bug#901428: pyraf: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Jun 13 08:00:02 BST 2018


Source: pyraf
Version: 2.1.14+dfsg-6
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that pyraf could not be built reproducibly.

This is because it installs random cache files under at, for
example:

  /usr/​lib/​python2.​7/​dist-​packages/​pyraf/​clcache.​v2/​peHMUQgAPVjvymGi0Huk+​w==

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2018-06-13 08:44:32.466874659 +0200
--- b/debian/rules	2018-06-13 08:57:52.576432346 +0200
@@ -13,3 +13,7 @@
 override_dh_clean:
 	dh_clean
 	rm -rf lib/pyraf.egg-info/
+
+override_dh_auto_install:
+	dh_auto_install
+	find debian -type d -name clcache.v2 -print0 | xargs -0r rm -rfv


More information about the Reproducible-bugs mailing list