[Python-modules-commits] r32407 - in packages/wheel/trunk/debian (changelog rules)

barry at users.alioth.debian.org barry at users.alioth.debian.org
Thu Apr 23 19:40:23 UTC 2015


    Date: Thursday, April 23, 2015 @ 19:40:21
  Author: barry
Revision: 32407

* d/rules:
  - Add commented out DH_VERBOSE setting.
  - Override the manpage date for reproducible builds. (Closes: #782405)

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

Modified: packages/wheel/trunk/debian/changelog
===================================================================
--- packages/wheel/trunk/debian/changelog	2015-04-23 05:11:28 UTC (rev 32406)
+++ packages/wheel/trunk/debian/changelog	2015-04-23 19:40:21 UTC (rev 32407)
@@ -2,7 +2,9 @@
 
   * d/watch: Use the new experimental PyPI redirector, since the old
     PyPI index pages have been disabled.
-  * d/rules: Add commented out DH_VERBOSE setting.
+  * d/rules:
+    - Add commented out DH_VERBOSE setting.
+    - Override the manpage date for reproducible builds. (Closes: #782405)
   * d/control: Bump Standards-Version to 3.9.6 with no other changes
     necessary.
 

Modified: packages/wheel/trunk/debian/rules
===================================================================
--- packages/wheel/trunk/debian/rules	2015-04-23 05:11:28 UTC (rev 32406)
+++ packages/wheel/trunk/debian/rules	2015-04-23 19:40:21 UTC (rev 32407)
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=wheel
+
+LAST_CHANGE=$(shell dpkg-parsechangelog -S Date)
+BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
 #export DH_VERBOSE=1
 
 %:
@@ -14,7 +17,10 @@
 
 override_dh_installman:
 	(cd debian/manpages; \
-	 sphinx-build -b man -d _build/doctrees . _build/man)
+	 sphinx-build \
+		-D today="$(BUILD_DATE)" \
+		-b man \
+		-d _build/doctrees . _build/man)
 	dh_installman
 
 




More information about the Python-modules-commits mailing list