generate-manifest-2.6.py: tune python-modules' RDEPENDS
authorEric Bénard <eric@eukrea.com>
Wed, 8 Sep 2010 10:01:55 +0000 (12:01 +0200)
committerEric Bénard <eric@eukrea.com>
Mon, 20 Sep 2010 20:45:06 +0000 (22:45 +0200)
* python-dev: pulls several dev packages leading to a >256MB image instead
of a 60MB image without this packages

Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
contrib/python/generate-manifest-2.6.py

index 1a0f1d3..5ebafb8 100755 (executable)
@@ -12,7 +12,7 @@ import time
 VERSION = "2.6.4"
 
 __author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
-__version__ = "20100711"
+__version__ = "20100908"
 
 class MakefileMaker:
 
@@ -123,7 +123,7 @@ class MakefileMaker:
         line = 'RDEPENDS_python-modules="'
 
         for name, data in self.packages.iteritems():
-            if name != 'python-core-dbg':
+            if name not in ['python-core-dbg', 'python-dev']:
                 line += "%s " % name
 
         self.out( "%s \"" % line )
@@ -164,7 +164,7 @@ if __name__ == "__main__":
     m.addPackage( "python-core-dbg", "Python core module debug information", "python-core",
     "config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" )
 
-    m.addPackage( "python-devel", "Python Development Package", "python-core",
+    m.addPackage( "python-dev", "Python Development Package", "python-core",
     "${includedir} ${libdir}/libpython2.6.so config" ) # package
 
     m.addPackage( "python-idle", "Python Integrated Development Environment", "python-core python-tkinter",