[oe-commits] org.oe.dev python 2.5.2 include low level _bsddb module in python-bsd and DEPENDS += db

mickeyl commit oe at amethyst.openembedded.net
Mon Sep 1 18:02:36 UTC 2008


python 2.5.2 include low level _bsddb module in python-bsd and DEPENDS += db

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 66c2d998baffef326217fc781561905d5ee347c6
ViewMTN: http://monotone.openembedded.org/revision/info/66c2d998baffef326217fc781561905d5ee347c6
Files:
1
contrib/python/generate-manifest-2.5.py
packages/python/python-2.5-manifest.inc
packages/python/python_2.5.2.bb
Diffs:

#
# mt diff -rd2def914a30cf4436ac34d6f3a9143d6a3c0c0db -r66c2d998baffef326217fc781561905d5ee347c6
#
#
#
# patch "contrib/python/generate-manifest-2.5.py"
#  from [376556b61d57f83bcd64e56287c695d4bfe7501d]
#    to [a971b5ac6ae0a98cd7a45562b0dfd4991014637f]
# 
# patch "packages/python/python-2.5-manifest.inc"
#  from [b6d99657e8ce651a1d7e37773ec645be5b76628b]
#    to [13b67caca5703e8fb96a7cf8044439b362803e36]
# 
# patch "packages/python/python_2.5.2.bb"
#  from [d9a48b37ae4badd8949731372faf89d1732653ea]
#    to [437e0240108d8f5b46ff45d7960aa2572d4526a2]
#
============================================================
--- contrib/python/generate-manifest-2.5.py	376556b61d57f83bcd64e56287c695d4bfe7501d
+++ contrib/python/generate-manifest-2.5.py	a971b5ac6ae0a98cd7a45562b0dfd4991014637f
@@ -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 at 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 at 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.*" )
============================================================
--- packages/python/python-2.5-manifest.inc	b6d99657e8ce651a1d7e37773ec645be5b76628b
+++ packages/python/python-2.5-manifest.inc	13b67caca5703e8fb96a7cf8044439b362803e36
@@ -1,6 +1,7 @@
 # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file.
 # Generator: './generate-manifest-2.5.py' Version 20080722 (C) 2002-2008 Michael 'Mickey' Lauer <mlauer at vanille-media.de>
 # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy
+
  
 
 PROVIDES+="python-profile python-threading python-distutils python-doctest python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-core-dbg python-resource python-devel python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-stringold python-robotparser python-lib-old-and-deprecated python-compile python-debugger python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio "
@@ -268,9 +269,9 @@ DESCRIPTION_python-bsddb="Python Berkele
 FILES_python-shell="${libdir}/python2.5/cmd.* ${libdir}/python2.5/commands.* ${libdir}/python2.5/dircache.* ${libdir}/python2.5/fnmatch.* ${libdir}/python2.5/glob.* ${libdir}/python2.5/popen2.* ${libdir}/python2.5/shutil.* "
 
 DESCRIPTION_python-bsddb="Python Berkeley Database Bindings"
-PR_python-bsddb="ml0"
+PR_python-bsddb="ml1"
 RDEPENDS_python-bsddb="python-core"
-FILES_python-bsddb="${libdir}/python2.5/bsddb "
+FILES_python-bsddb="${libdir}/python2.5/bsddb ${libdir}/python2.5/lib-dynload/_bsddb.so "
 
 DESCRIPTION_python-mmap="Python Memory-Mapped-File Support"
 PR_python-mmap="ml0"
============================================================
--- packages/python/python_2.5.2.bb	d9a48b37ae4badd8949731372faf89d1732653ea
+++ packages/python/python_2.5.2.bb	437e0240108d8f5b46ff45d7960aa2572d4526a2
@@ -3,10 +3,10 @@ PRIORITY = "optional"
 LICENSE = "PSF"
 SECTION = "devel/python"
 PRIORITY = "optional"
-DEPENDS = "python-native readline zlib gdbm openssl sqlite3 tcl tk"
-DEPENDS_sharprom = "python-native readline zlib gdbm openssl"
+DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl tk zlib"
+DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
 # bump this on every change in contrib/python/generate-manifest-2.5.py
-PR = "ml8"
+PR = "ml9"
 
 PYTHON_MAJMIN = "2.5"
 






More information about the Openembedded-commits mailing list