python-2.6: python-xml depends on python-elementtree
PATCH 1/1 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 <module> from _elementtree import *
ImportError: No module named _elementtree
Signed-off-by Andreas Oberritter <[email protected]>
--- contrib/python/generate-manifest-2.6.py | 4 ++-- recipes/python/python-2.6-manifest.inc | 4 ++-- recipes/python/python_2.6.6.bb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
contrib/python/generate-manifest-2.6.py +2 -2
@@ -12,7 +12,7 @@ import time VERSION = "2.6.6" __author__ = "Michael 'Mickey' Lauer <[email protected]>" -__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",
recipes/python/python-2.6-manifest.inc +2 -2
@@ -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 <[email protected]> +# Generator: 'contrib/python/generate-manifest-2.6.py' Version 20110222 (C) 2002-2010 Michael 'Mickey' Lauer <[email protected]> # 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"
recipes/python/python_2.6.6.bb +1 -1
@@ -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 \
Signature · 1 line
1.7.2.3
Quoted 7 lines · Andreas Oberritter
* Fixes the following error:
import xml.etree.cElementTree
File "/usr/lib/python2.6/xml/etree/cElementTree.py", line 3, in <module> from_elementtreeimport *
ImportError: No module named_elementtree
Quoted 6 lines
Signed-off-by Andreas Oberritter <[email protected]>--- contrib/python/generate-manifest-2.6.py | 4 ++-- recipes/python/python-2.6-manifest.inc | 4 ++-- recipes/python/python_2.6.6.bb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
Acked-by Martin Jansa <[email protected]>