Package: waitress Version: 0.8.9-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps
Hi! While working on the "reproducible builds" effort [1], we have noticed that waitress could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, waitress can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -urNp waitress-0.8.9.old/debian/rules waitress-0.8.9/debian/rules --- waitress-0.8.9.old/debian/rules 2014-04-24 03:17:57.000000000 -0300 +++ waitress-0.8.9/debian/rules 2015-06-12 21:19:59.862755145 -0300 @@ -4,12 +4,16 @@ export PYBUILD_DESTDIR_python2=debian/py export PYBUILD_DESTDIR_python3=debian/python3-waitress/ export PYBUILD_DISABLE=test +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)") +SPHINXOPTS := -N -D html_last_updated_fmt=\"$(BUILD_DATE)\" + %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build -v - $(MAKE) -C docs clean html SPHINXOPTS=-N + $(MAKE) -C docs clean html SPHINXOPTS="$(SPHINXOPTS)" override_dh_auto_clean: dh_auto_clean
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds