diff options
author | Marcin Juszkiewicz <marcin@buglabs.net> | 2008-12-05 17:03:00 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-12-05 17:04:11 +0100 |
commit | 5f4828fc8d87003c1c8b02475a16285d7da132e9 (patch) | |
tree | 4eae13a49953c1160e1a228bd5722e6ff73fab45 | |
parent | c1d81f147f1e737257c7f557b70fd3f2a87ebf21 (diff) |
generate-manifest-2.5.py: generate python-modules package
'python-modules' depends on all Python modules to make installation of
whole Python easier
-rwxr-xr-x | contrib/python/generate-manifest-2.5.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/contrib/python/generate-manifest-2.5.py b/contrib/python/generate-manifest-2.5.py index 8054608ce9..854cd838a5 100755 --- a/contrib/python/generate-manifest-2.5.py +++ b/contrib/python/generate-manifest-2.5.py @@ -22,7 +22,7 @@ class MakefileMaker: self.packages = {} self.targetPrefix = "${libdir}/python%s/" % VERSION[:3] self.output = outfile - self.out( """ \ + self.out( """\ # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. # Generator: '%s' Version %s (C) 2002-2008 Michael 'Mickey' Lauer <mlauer@vanille-media.de> # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy @@ -80,7 +80,7 @@ class MakefileMaker: packageLine = 'PACKAGES="' for name in self.packages: packageLine += "%s " % name - packageLine += '"' + packageLine += ' python-modules"' self.out( packageLine ) self.out( "" ) @@ -120,6 +120,16 @@ class MakefileMaker: self.out( line ) self.out( "" ) + self.out( 'DESCRIPTION_python-modules="All Python modules"' ) + line = 'RDEPENDS_python-modules="' + + for name, data in self.packages.iteritems(): + if name != 'python-core-dbg': + line += "%s " % name + + self.out( "%s \"" % line ) + self.out( 'ALLOW_EMPTY_python-modules = "1"' ) + def doEpilog( self ): self.out( """""" ) self.out( "" ) |