[Python-modules-team] Bug#857122: python-gdata: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Mar 8 09:07:36 UTC 2017


Source: python-gdata
Version: 2.0.18+dfsg1-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that python-gdata could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible_build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible_build.patch	2017-03-08 09:03:25.366050749 +0000
@@ -0,0 +1,12 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2017-03-08
+
+--- python-gdata-2.0.18+dfsg1.orig/pydocs/generate_docs
++++ python-gdata-2.0.18+dfsg1/pydocs/generate_docs
+@@ -11,4 +11,4 @@
+ 
+ export GOOGLE_APPENGINE=/usr/local/google_appengine/
+ export PYTHONPATH=`pwd`/../src:$GOOGLE_APPENGINE
+-find ../src/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s#^\.\.\/src\/##" | sed "s#/#.#g" | xargs pydoc -w
++find ../src/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s#^\.\.\/src\/##" | sed "s#/#.#g" | LC_ALL=C sort | xargs pydoc -w
--- a/debian/patches/series	2017-03-08 08:58:41.153087234 +0000
--- b/debian/patches/series	2017-03-08 09:03:23.514044242 +0000
@@ -4,3 +4,4 @@
 disable_network_test.patch
 handle_redirects.patch
 use_system_crypto.patch
+reproducible_build.patch


More information about the Python-modules-team mailing list