[meta-oe,V2] itstool: use libxml2 to instead of python3-lxml

Submitted by Hongxu Jia on June 27, 2019, 9:20 a.m. | Patch ID: 162558

Details

Message ID 1561627209-17065-1-git-send-email-hongxu.jia@windriver.com
State Accepted, archived
Headers show

Commit Message

Hongxu Jia June 27, 2019, 9:20 a.m.
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@windriver.com>
---
 meta-oe/recipes-support/itstool/itstool_2.0.5.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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 = ""