[oe] [meta-python2][PATCH] python-beautifulsoup4: fix target RDEPENDS

Tim Orling ticotimo at gmail.com
Sun Jan 19 23:24:03 UTC 2020


* target has run-time dependencies on:
  - python-html
  - python-logging

Unexpectedly, class-target += override is wiping out
RDEPENDS_${PN}, so explicitly add the rest of the
run-time dependencies (python-html5lib, python-lxml,
python-soupsieve).

Signed-off-by: Tim Orling <ticotimo at gmail.com>
---
 recipes-devtools/python/python-beautifulsoup4_4.8.1.bb | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb b/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb
index 86482714..8ac9c8c5 100644
--- a/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb
+++ b/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb
@@ -19,4 +19,14 @@ RDEPENDS_${PN} = "\
     ${PYTHON_PN}-soupsieve \
 "
 
+# class override, which is not
+# inheriting from above (FIXME?)
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-html \
+    ${PYTHON_PN}-html5lib \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-lxml \
+    ${PYTHON_PN}-soupsieve \
+"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0



More information about the Openembedded-devel mailing list