aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-08-09 20:14:28 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-08-09 20:14:28 +0000
commit6c44b5f5250f8c7912f5ca775a663a1cccc3c885 (patch)
tree7a83a375fe5b94d2cc0fc9c0567d2fee54b51976 /contrib/python
parentdb335aa0b4a208cbc6c118ac20fdb4bf53181a81 (diff)
downloadopenembedded-6c44b5f5250f8c7912f5ca775a663a1cccc3c885.tar.gz
python 2.5.2 include low level _bsddb module in python-bsd and DEPENDS += db
Diffstat (limited to 'contrib/python')
-rwxr-xr-xcontrib/python/generate-manifest-2.5.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/contrib/python/generate-manifest-2.5.py b/contrib/python/generate-manifest-2.5.py
index da5f7ccf8c..ee1b6753e3 100755
--- a/contrib/python/generate-manifest-2.5.py
+++ b/contrib/python/generate-manifest-2.5.py
@@ -22,16 +22,19 @@ class MakefileMaker:
self.packages = {}
self.targetPrefix = "${libdir}/python%s/" % VERSION[:3]
self.output = outfile
- self.out( "# WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file." )
- self.out( "# Generator: '%s' Version %s (C) 2002-2008 Michael 'Mickey' Lauer <mlauer@vanille-media.de>" % ( sys.argv[0], __version__ ) )
- self.out( "# Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy" )
+ 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
+""" % ( sys.argv[0], __version__ ) )
+
#
# helper functions
#
def out( self, data ):
"""print a line to the output file"""
- print >> self.output, data
+ self.output.write( "%s\n" % data )
def setPrefix( self, targetPrefix ):
"""set a file prefix for addPackage files"""
@@ -167,8 +170,8 @@ if __name__ == "__main__":
m.addPackage( 0, "python-audio", "Python Audio Handling", "python-core",
"wave.* chunk.* sndhdr.* lib-dynload/ossaudiodev.so lib-dynload/audioop.so" )
- m.addPackage( 0, "python-bsddb", "Python Berkeley Database Bindings", "python-core",
- "bsddb" ) # package
+ m.addPackage( 1, "python-bsddb", "Python Berkeley Database Bindings", "python-core",
+ "bsddb lib-dynload/_bsddb.so" ) # package
m.addPackage( 0, "python-codecs", "Python Codecs, Encodings & i18n Support", "python-core python-lang",
"codecs.* encodings gettext.* locale.* lib-dynload/_locale.so lib-dynload/unicodedata.so stringprep.* xdrlib.*" )