[oe] [meta-python2][PATCH 4/4] python-pymisp: add missing RDEPENDS

Tim Orling ticotimo at gmail.com
Tue Jan 21 05:02:57 UTC 2020


* differentiate target from -native,-nativesdk RDEPENDS
  while we are at it (for that day when someone wants it)

* Add missing run-time dependies [1]:
  - python-cachetools
  - python-deprecated

[1] https://github.com/MISP/PyMISP/blob/fac748dd4c63c9eef4056c5fc5201e811a97be10/setup.py#L44

Signed-off-by: Tim Orling <ticotimo at gmail.com>
---
 recipes-devtools/python/python-pymisp_2.4.119.1.bb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/recipes-devtools/python/python-pymisp_2.4.119.1.bb b/recipes-devtools/python/python-pymisp_2.4.119.1.bb
index 097328a4..627716b5 100644
--- a/recipes-devtools/python/python-pymisp_2.4.119.1.bb
+++ b/recipes-devtools/python/python-pymisp_2.4.119.1.bb
@@ -13,11 +13,15 @@ SRC_URI[sha256sum] = "594ea0a9e150052232425009eac6dd104a80f494d0e273cc48dd114d7e
 
 inherit pypi setuptools
 
-RDEPENDS_${PN} += " \
+RDEPENDS_${PN}_append_class-target = " \
     ${PYTHON_PN}-dateutil \
     ${PYTHON_PN}-json \
     ${PYTHON_PN}-jsonschema \
+"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-cachetools \
+    ${PYTHON_PN}-deprecated \
     ${PYTHON_PN}-requests \
     ${PYTHON_PN}-six \
 "
-
-- 
2.25.0



More information about the Openembedded-devel mailing list