From 0030644f4890ca25894916189470317650ec8246 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 14 Mar 2012 13:02:57 +0000 Subject: scripts/contrib/python/generate-manifest-2.7.py: Catch up with staticdev fixes Signed-off-by: Richard Purdie --- scripts/contrib/python/generate-manifest-2.7.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py index e0171f9e3..85ca35328 100755 --- a/scripts/contrib/python/generate-manifest-2.7.py +++ b/scripts/contrib/python/generate-manifest-2.7.py @@ -83,7 +83,10 @@ class MakefileMaker: packageLine = 'PACKAGES="${PN}-dbg ' for name in sorted(self.packages): - if name != '${PN}-dbg': + if name.startswith("${PN}-distutils"): + if name == "${PN}-distutils": + packageLine += "%s-staticdev %s " % (name, name) + elif name != '${PN}-dbg': packageLine += "%s " % name packageLine += '${PN}-modules"' @@ -128,7 +131,7 @@ class MakefileMaker: line = 'RDEPENDS_${PN}-modules="' for name, data in sorted(self.packages.iteritems()): - if name not in ['${PN}-dev']: + if name not in ['${PN}-dev', '${PN}-distutils-staticdev']: line += "%s " % name self.out( "%s \"" % line ) @@ -235,6 +238,9 @@ if __name__ == "__main__": m.addPackage( "${PN}-difflib", "Python helpers for computing deltas between objects.", "${PN}-lang ${PN}-re", "difflib.*" ) + m.addPackage( "${PN}-distutils-staticdev", "Python Distribution Utilities (Static Libraries)", "${PN}-distutils", + "config/lib*.a" ) # package + m.addPackage( "${PN}-distutils", "Python Distribution Utilities", "${PN}-core", "config distutils" ) # package -- cgit v1.2.3