Source: pyraf
Version: 2.1.14+dfsg-6
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to