Your message dated Sat, 15 Oct 2016 00:14:47 +0200
with message-id <20161014221447.a5d54wnw4slo5ioq@fama>
and subject line python-pypump: [PATCH] please make the build reproducible
has caused the Debian Bug report #788505,
regarding python-pypump: [PATCH] please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: python-pypump
Version: 0.6-1
Severity: wishlist
Tags: patch
Usertags: timestamps


While working on the "reproducible builds" effort [1], we have noticed
that python-pypump could not be built reproducibly.

The attached patch removes extra timestamps from the build system.
Once applied, python-pypump can be built reproducibly in our current
experimental framework.

diff -urNp python-pypump-0.6.old/debian/rules python-pypump-0.6/debian/rules
--- python-pypump-0.6.old/debian/rules	2015-05-13 14:48:10.000000000 -0300
+++ python-pypump-0.6/debian/rules	2015-06-11 22:30:19.454056240 -0300
@@ -2,6 +2,10 @@
 PYTHONS:=$(shell pyversions -vr)
 PYTHON3S:=$(shell py3versions -vr)
+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,python3,sphinxdoc
@@ -12,7 +16,7 @@ override_dh_clean:
-	make -C docs html
+	make -C docs html SPHINXOPTS="$(SPHINXOPTS)"
 	# # This version pypump-shell needs the path $HOME/.config/
 	# # to exist for it to build correctly, so I'm adding it

--- End Message ---
--- Begin Message ---
Thanks to SOURCE_DATE_EPOCH support in sphinx and dh_sphinxdoc,
there is nothing left to do for me :~)

--- End Message ---

Reply via email to