[oe] [meta-python2][PATCH 2/2] python-parse: fix target RDEPENDS

Tim Orling ticotimo at gmail.com
Mon Jan 20 19:53:06 UTC 2020


Missing run-time dependency on:
  - python-numbers (decimal)

Move RDEPENDS to _append_class-target in case -native,-nativesdk
is desired in the future.

Signed-off-by: Tim Orling <ticotimo at gmail.com>
---
 recipes-devtools/python/python-parse_1.14.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/python/python-parse_1.14.0.bb b/recipes-devtools/python/python-parse_1.14.0.bb
index 6e03d4b8..1fd51163 100644
--- a/recipes-devtools/python/python-parse_1.14.0.bb
+++ b/recipes-devtools/python/python-parse_1.14.0.bb
@@ -8,7 +8,8 @@ SRC_URI[sha256sum] = "95a4f4469e37c57b5e924629ac99926f28bee7da59515dc5b8078c4c3e
 
 inherit pypi setuptools
 
-RDEPENDS_${PN} += "\
+RDEPENDS_${PN}_append_class-target = "\
     ${PYTHON_PN}-datetime \
     ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-numbers \
     "
-- 
2.25.0



More information about the Openembedded-devel mailing list