[oe] [meta-oe][PATCH V2] itstool: use libxml2 to instead of python3-lxml
Hongxu Jia
hongxu.jia at windriver.com
Thu Jun 27 09:20:09 UTC 2019
Use libxml2 of oe-core to replace python3-lxml of meta-python
since meta-oe does not depend on meta-python
Set RDEPENDS_${PN}_class-native to fix `Missing or unbuildable
dependency chain was: ['meta-world-pkgdata', 'gnome-desktop3',
'itstool-native', 'libxml2-python-native']'
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta-oe/recipes-support/itstool/itstool_2.0.5.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-support/itstool/itstool_2.0.5.bb b/meta-oe/recipes-support/itstool/itstool_2.0.5.bb
index 166e95b..6f903fb 100644
--- a/meta-oe/recipes-support/itstool/itstool_2.0.5.bb
+++ b/meta-oe/recipes-support/itstool/itstool_2.0.5.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59c57b95fd7d0e9e238ebbc7ad47c5a5"
inherit autotools python3native
-DEPENDS = "python3-lxml-native"
+DEPENDS = "libxml2-native"
SRC_URI = "http://files.itstool.org/${BPN}/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "655c6f78fc64faee45adcc45ccc5a57e"
@@ -18,5 +18,6 @@ do_install_append() {
BBCLASSEXTEND = "native"
-RDEPENDS_${PN} += "python3-lxml"
+RDEPENDS_${PN} += "libxml2-python"
+RDEPENDS_${PN}_class-native = ""
--
2.7.4
More information about the Openembedded-devel
mailing list