Source: python-h2 Version: 3.0.1-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: randomness X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that python-h2 could not be built reproducibly. This is because it installs (useless) files to: /usr/lib/python2.7/dist-packages/.hypothesis .. which happen to be unreproducible. :) Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2017-12-28 21:51:08.933004892 +0000 --- b/debian/rules 2017-12-28 22:19:00.662924100 +0000 @@ -2,6 +2,8 @@ export PYBUILD_NAME=h2 export PYBUILD_TEST_ARGS=-k-test/test_rfc7838.py -k-test/test_invalid_headers.py +# Don't install Hypothesis example database into binary package. +export HYPOTHESIS_DATABASE_FILE = $(CURDIR)/debian/hypothesis %: dh $@ --with python2,python3 --buildsystem=pybuild