[Reproducible-builds] Bug#834553: pyicu: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Aug 16 23:53:49 UTC 2016


Source: pyicu
Version: 1.9.2-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that pyicu 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	2016-08-17 00:50:12.458470346 +0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-17
+
+--- pyicu-1.9.2.orig/setup.py
++++ pyicu-1.9.2/setup.py
+@@ -106,7 +106,7 @@ setup(name="PyICU",
+           'Topic :: Software Development :: Localization',
+           'Topic :: Software Development :: Internationalization'],
+       ext_modules=[Extension('_icu',
+-                             [filename for filename in os.listdir(os.curdir)
++                             [filename for filename in sorted(os.listdir(os.curdir))
+                               if filename.endswith('.cpp')],
+                              include_dirs=_includes,
+                              extra_compile_args=_cflags,
--- a/debian/patches/series	2016-08-17 00:29:49.544363202 +0100
--- b/debian/patches/series	2016-08-17 00:50:11.382461467 +0100
@@ -1,3 +1,4 @@
 platform-definitions-fix.diff
 fix_typo_in_deprecation_warning.patch
 rename_docs_module.patch
+reproducible_build.patch


More information about the Reproducible-builds mailing list