Package: wtforms Version: 2.0.1-1 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 wtforms could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, wtforms can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -urNp wtforms-2.0.1.old/debian/rules wtforms-2.0.1/debian/rules --- wtforms-2.0.1.old/debian/rules 2015-06-12 21:51:28.000000000 -0300 +++ wtforms-2.0.1/debian/rules 2015-06-12 21:53:33.168651646 -0300 @@ -1,5 +1,9 @@ #!/usr/bin/make -f +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)") +SPHINXOPTS := -D today=\"$(BUILD_DATE)\" + %: dh --buildsystem=python_distutils --with=python2 $@ @@ -13,7 +17,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTI done endif - cd docs && make html + cd docs && make html SPHINXOPTS="$(SPHINXOPTS)" rm docs/_build/html/_static/jquery.js rm docs/_build/html/_static/underscore.js
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds