Your message dated Sat, 30 Sep 2017 01:47:18 +0300
with message-id <20170929224718.fnmiuxvioex47rxb@localhost>
and subject line python-repoze.tm2 is now reproducible
has caused the Debian Bug report #788507,
regarding python-repoze.tm2: [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 ow...@bugs.debian.org
immediately.)


-- 
788507: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788507
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-repoze.tm2
Version: 2.0-1
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-repoze.tm2 could not be built reproducibly.

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

 [1]: https://wiki.debian.org/ReproducibleBuilds
diff -ruNp python-repoze.tm2-2.0.old/debian/rules python-repoze.tm2-2.0/debian/rules
--- python-repoze.tm2-2.0.old/debian/rules	2014-09-28 12:19:16.000000000 -0300
+++ python-repoze.tm2-2.0/debian/rules	2015-06-11 23:01:23.412037493 -0300
@@ -2,10 +2,13 @@
 
 #DH_VERBOSE=1
 PYBUILD_NAME=python-repoze.tm2
+LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
+BUILD_DATE  = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
+SPHINXOPTS := -D html_last_updated_fmt="$(BUILD_DATE)"
 
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
-	sphinx-build -b html docs $(CURDIR)/debian/python-repoze.tm2-doc/usr/share/doc/python-repoze.tm2-doc/html
+	sphinx-build $(SPHINXOPTS) -b html docs $(CURDIR)/debian/python-repoze.tm2-doc/usr/share/doc/python-repoze.tm2-doc/html
 	dh_sphinxdoc -O--buildsystem=pybuild
 endif
 

--- End Message ---
--- Begin Message ---
python-repoze.tm2 is now reproducible:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-repoze.tm2.html

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to