[Python-modules-team] Bug#816214: python-pip: please make the build reproducible

Reiner Herrmann reiner at reiner-h.de
Sun Feb 28 20:03:53 UTC 2016


Source: python-pip
Version: 8.0.3-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that python-pip could not be built reproducibly.
It embeds the current date and time into a Python script.

The attached patch removes this timestamp.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
-------------- next part --------------
diff --git a/debian/makepip.py b/debian/makepip.py
index 10397bb..76eb798 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
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160228/4505ecc4/attachment.sig>


More information about the Python-modules-team mailing list