From: Andreas Oberritter Date: Thu, 24 Feb 2011 10:02:54 +0000 (+0000) Subject: python-2.6: python-xml depends on python-elementtree X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84f27c7901934ee8c18002a0fe8872e5a03946a2;p=openembedded.git python-2.6: python-xml depends on python-elementtree * Fixes the following error: import xml.etree.cElementTree File "/usr/lib/python2.6/xml/etree/cElementTree.py", line 3, in from _elementtree import * ImportError: No module named _elementtree Signed-off-by: Andreas Oberritter Signed-off-by: Khem Raj --- diff --git a/contrib/python/generate-manifest-2.6.py b/contrib/python/generate-manifest-2.6.py index 28a7226317..1b11266edf 100755 --- a/contrib/python/generate-manifest-2.6.py +++ b/contrib/python/generate-manifest-2.6.py @@ -12,7 +12,7 @@ import time VERSION = "2.6.6" __author__ = "Michael 'Mickey' Lauer " -__version__ = "20110214" +__version__ = "20110222" class MakefileMaker: @@ -347,7 +347,7 @@ if __name__ == "__main__": m.addPackage( "${PN}-unixadmin", "Python Unix Administration Support", "${PN}-core", "lib-dynload/nis.so lib-dynload/grp.so lib-dynload/pwd.so getpass.*" ) - m.addPackage( "${PN}-xml", "Python basic XML support.", "${PN}-core ${PN}-re", + m.addPackage( "${PN}-xml", "Python basic XML support.", "${PN}-core ${PN}-elementtree ${PN}-re", "lib-dynload/pyexpat.so xml xmllib.*" ) # package m.addPackage( "${PN}-xmlrpc", "Python XMLRPC Support", "${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang", diff --git a/recipes/python/python-2.6-manifest.inc b/recipes/python/python-2.6-manifest.inc index 89c9be42dd..febaaa22bf 100644 --- a/recipes/python/python-2.6-manifest.inc +++ b/recipes/python/python-2.6-manifest.inc @@ -1,6 +1,6 @@ # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. -# Generator: '../../contrib/python/generate-manifest-2.6.py' Version 20110214 (C) 2002-2010 Michael 'Mickey' Lauer +# Generator: 'contrib/python/generate-manifest-2.6.py' Version 20110222 (C) 2002-2010 Michael 'Mickey' Lauer # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy @@ -254,7 +254,7 @@ RDEPENDS_${PN}-unixadmin="${PN}-core" FILES_${PN}-unixadmin="${libdir}/python2.6/lib-dynload/nis.so ${libdir}/python2.6/lib-dynload/grp.so ${libdir}/python2.6/lib-dynload/pwd.so ${libdir}/python2.6/getpass.* " DESCRIPTION_${PN}-xml="Python basic XML support." -RDEPENDS_${PN}-xml="${PN}-core ${PN}-re" +RDEPENDS_${PN}-xml="${PN}-core ${PN}-elementtree ${PN}-re" FILES_${PN}-xml="${libdir}/python2.6/lib-dynload/pyexpat.so ${libdir}/python2.6/xml ${libdir}/python2.6/xmllib.* " DESCRIPTION_${PN}-xmlrpc="Python XMLRPC Support" diff --git a/recipes/python/python_2.6.6.bb b/recipes/python/python_2.6.6.bb index c8d1c56e6d..3c054bbf6b 100644 --- a/recipes/python/python_2.6.6.bb +++ b/recipes/python/python_2.6.6.bb @@ -3,7 +3,7 @@ DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl zlib\ ${@base_contains('DISTRO_FEATURES', 'tk', 'tk', '', d)}" DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" # set to .0 on every increase of INC_PR -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" SRC_URI = "\ http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \