Bug#886523: python-hpack: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Jan 7 08:50:48 UTC 2018


Source: python-hpack
Version: 3.0.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randoness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that python-hpack could not be built reproducibly as it ships
non-reproducible (and useless) python-hypothesis files.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2018-01-07 08:34:50.910618005 +0000
--- b/debian/rules	2018-01-07 08:43:38.417190753 +0000
@@ -2,6 +2,8 @@
 
 export LC_ALL=C.UTF-8
 export PYBUILD_NAME=hpack
+# Don't install Hypothesis example database into binary package.
+export HYPOTHESIS_DATABASE_FILE=$(CURDIR)/debian/hypothesis
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild


More information about the Reproducible-bugs mailing list