[Python-modules-commits] r34435 - in packages/pywavelets/trunk/debian (changelog rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Thu Oct 1 00:37:52 UTC 2015


    Date: Thursday, October 1, 2015 @ 00:37:49
  Author: eriol-guest
Revision: 34435

Make the build reproducible

Modified:
  packages/pywavelets/trunk/debian/changelog
  packages/pywavelets/trunk/debian/rules

Modified: packages/pywavelets/trunk/debian/changelog
===================================================================
--- packages/pywavelets/trunk/debian/changelog	2015-09-30 20:58:54 UTC (rev 34434)
+++ packages/pywavelets/trunk/debian/changelog	2015-10-01 00:37:49 UTC (rev 34435)
@@ -27,10 +27,12 @@
     Remove Google Analitics and Travis build badge.
   * debian/rules
     - Rewrite from scratch using pybuild.
+    - Make the build reproducible. Thanks to Juan Picca for report and patch
+      (Closes: #788594).
   * debian/watch
     - Use pypi.debian.net redirector.
 
- -- Daniele Tricoli <eriol at mornie.org>  Wed, 30 Sep 2015 18:58:57 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Thu, 01 Oct 2015 02:35:11 +0200
 
 pywavelets (0.2.2-2) unstable; urgency=low
 

Modified: packages/pywavelets/trunk/debian/rules
===================================================================
--- packages/pywavelets/trunk/debian/rules	2015-09-30 20:58:54 UTC (rev 34434)
+++ packages/pywavelets/trunk/debian/rules	2015-10-01 00:37:49 UTC (rev 34435)
@@ -3,6 +3,10 @@
 export PYBUILD_NAME=pywt
 export PYTHONWARNINGS=d
 
+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)"
+
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
@@ -10,7 +14,7 @@
 
 override_dh_auto_build:
 	dh_auto_build
-	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/source doc/build/html
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build $(SPHINXOPTS) -N -bhtml doc/source doc/build/html
 
 override_dh_auto_install:
 	dh_auto_install




More information about the Python-modules-commits mailing list