aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-02-14 14:39:41 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2011-02-14 19:44:29 +0100
commit06be2fc468f01f0d0007ad1f48e899b8102b03bb (patch)
tree2df874cd7ad356423134ec5b0dcd59a076abf43f /contrib
parent3488225a017868d0bace67f2b0ed73afee4da010 (diff)
downloadopenembedded-06be2fc468f01f0d0007ad1f48e899b8102b03bb.tar.gz
python: generate-manifest-2.6.py, sort packages when generating output file
* iteritems and packages didn't have defined order, so every regeneration created huge patch, hard to review * alphabetical order should work fine here as long as we have disjunct FILES Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/python/generate-manifest-2.6.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/python/generate-manifest-2.6.py b/contrib/python/generate-manifest-2.6.py
index a716d452fa..b094751847 100755
--- a/contrib/python/generate-manifest-2.6.py
+++ b/contrib/python/generate-manifest-2.6.py
@@ -9,10 +9,10 @@ import os
import sys
import time
-VERSION = "2.6.4"
+VERSION = "2.6.6"
__author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
-__version__ = "20100908"
+__version__ = "20110214"
class MakefileMaker:
@@ -65,7 +65,7 @@ class MakefileMaker:
#
provideLine = 'PROVIDES+="'
- for name in self.packages:
+ for name in sorted(self.packages):
provideLine += "%s " % name
provideLine += '"'
@@ -77,7 +77,7 @@ class MakefileMaker:
#
packageLine = 'PACKAGES="python-core-dbg '
- for name in self.packages:
+ for name in sorted(self.packages):
if name != 'python-core-dbg':
packageLine += "%s " % name
packageLine += 'python-modules"'
@@ -89,7 +89,7 @@ class MakefileMaker:
# generate package variables
#
- for name, data in self.packages.iteritems():
+ for name, data in sorted(self.packages.iteritems()):
desc, deps, files = data
#
@@ -122,7 +122,7 @@ class MakefileMaker:
self.out( 'DESCRIPTION_python-modules="All Python modules"' )
line = 'RDEPENDS_python-modules="'
- for name, data in self.packages.iteritems():
+ for name, data in sorted(self.packages.iteritems()):
if name not in ['python-core-dbg', 'python-dev']:
line += "%s " % name