[Python-modules-commits] [python-pip] 01/01: d/makepip.py: Remove the date tag to support reproducible builds. (Closes: #816214)

Barry Warsaw barry at moszumanska.debian.org
Thu Mar 10 18:36:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository python-pip.

commit c18b327093f53b06a92b61ad064d14357bcbc625
Author: Barry Warsaw <barry at python.org>
Date:   Thu Mar 10 13:36:43 2016 -0500

    d/makepip.py: Remove the date tag to support reproducible builds. (Closes: #816214)
---
 debian/changelog  | 7 +++++++
 debian/makepip.py | 4 +---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e2e2d43..e87cfae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-pip (8.1.0-3) UNRELEASED; urgency=medium
+
+  * d/makepip.py: Remove the date tag to support reproducible builds.
+    (Closes: #816214)
+
+ -- Barry Warsaw <barry at debian.org>  Thu, 10 Mar 2016 13:35:53 -0500
+
 python-pip (8.1.0-2) unstable; urgency=medium
 
   * d/control:
diff --git a/debian/makepip.py b/debian/makepip.py
index 10397bb..101b62f 100644
--- a/debian/makepip.py
+++ b/debian/makepip.py
@@ -2,7 +2,7 @@
 
 TEMPLATE = """\
 #!{shebang}
-# GENERATED BY DEBIAN ON {date} UTC
+# GENERATED BY DEBIAN
 
 import sys
 
@@ -17,11 +17,9 @@ if __name__ == '__main__':
 # This is a one-off script, so just do stupid simple argument parsing.
 
 import sys
-from datetime import datetime
 
 substitutions = dict(
     shebang=sys.argv[1],
-    date=str(datetime.utcnow().replace(microsecond=0)),
     )
 
 output_file = sys.argv[2]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pip.git



More information about the Python-modules-commits mailing list