[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] [PATCH] sort file list in RECORD
From:       "Bernhard M. Wiedemann" <bwiedemann () suse ! de>
Date:       2019-06-14 8:51:36
Message-ID: 20190614085136.28941-1-bwiedemann () suse ! de
[Download RAW message or body]

Make package build reproducible.
See https://reproducible-builds.org/ for why this is good.

Index: PyQt5_gpl-5.12.1/mk_distinfo.py
===================================================================
--- PyQt5_gpl-5.12.1.orig/mk_distinfo.py
+++ PyQt5_gpl-5.12.1/mk_distinfo.py
@@ -86,6 +86,8 @@ for name in installed:
         all_fns = []
 
         for root, dirs, files in os.walk(native_name):
+            dirs.sort()
+            files.sort()
             for f in files:
                 all_fns.append(os.path.join(root, f).replace(os.sep, '/'))
 
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic