File reproducible.patch of Package eric5
PATCH-FIX-UPSTREAM
changeset: 5810:12d917813110
parent: 5806:2405d595c9cf
user: Detlev Offenbach <detlev@die-offenbachs.de>
date: Tue Jul 18 19:14:20 2017 +0200
summary: Little change to the install script to support the reproducible builds effort.
Index: eric5-5.5.2/install.py
===================================================================
--- eric5-5.5.2.orig/install.py
+++ eric5-5.5.2/install.py
@@ -928,13 +928,13 @@ def createConfig():
apis = []
if installApis:
for progLanguage in progLanguages:
- for apiName in glob.glob(
- os.path.join(sourceDir, "APIs", progLanguage, "*.api")):
+ for apiName in sorted(glob.glob(
+ os.path.join(sourceDir, "APIs", progLanguage, "*.api"))):
apis.append(os.path.basename(apiName))
if progLanguage == "Python":
# treat Python3 API files the same as Python API files
- for apiName in glob.glob(
- os.path.join(sourceDir, "APIs", "Python3", "*.api")):
+ for apiName in sorted(glob.glob(
+ os.path.join(sourceDir, "APIs", "Python3", "*.api"))):
apis.append(os.path.basename(apiName))
fn = 'eric5config.py'