summaryrefslogtreecommitdiff
path: root/scripts/contrib/python
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/contrib/python')
-rwxr-xr-xscripts/contrib/python/generate-manifest-2.7.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py
index e0171f9e3e..85ca353285 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