Source: python-mock Version: 1.0.1-3 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps
Hi! While working on the “reproducible builds” effort [1], we have noticed that python-mock could not be built reproducibly. The attached patch removes the build date from the HTML documentation. Once applied, python-mock can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- Lunar .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
diff -Nru python-mock-1.0.1/debian/changelog python-mock-1.0.1/debian/changelog --- python-mock-1.0.1/debian/changelog 2014-02-26 20:41:10.000000000 +0000 +++ python-mock-1.0.1/debian/changelog 2015-04-18 21:21:50.000000000 +0000 @@ -1,3 +1,10 @@ +python-mock (1.0.1-3.0~reproducible1) UNRELEASED; urgency=low + + * Stop recording build date in Sphinx documentation to make the package build + reproducibly. + + -- Jérémy Bobbio <lu...@debian.org> Sat, 18 Apr 2015 21:09:14 +0000 + python-mock (1.0.1-3) unstable; urgency=medium * Team upload. diff -Nru python-mock-1.0.1/debian/rules python-mock-1.0.1/debian/rules --- python-mock-1.0.1/debian/rules 2013-05-08 05:57:02.000000000 +0000 +++ python-mock-1.0.1/debian/rules 2015-04-18 21:21:28.000000000 +0000 @@ -15,7 +15,8 @@ for py in $(PYVERS) $(PY3VERS); do \ $$py -B setup.py build; \ done - PYTHONPATH=. sphinx-build -b html -N docs/ docs/.build/html + PYTHONPATH=. sphinx-build -b html -N -D "html_last_updated_fmt=''" \ + docs/ docs/.build/html .PHONY: override_dh_auto_clean override_dh_auto_clean:
signature.asc
Description: Digital signature