[oe] [meta-python][PATCH v2] python-robotframework: Add runtime dependencies to robot framework
Sipke Vriend
sipke.vriend at gmail.com
Wed May 9 23:12:24 UTC 2018
Add the runtime dependencies robot framework has so they are available on
images including it.
python-robotframework.inc is included by both python3 and python
robot framework.
python3 includes zlib by default so include python-zlib as a runtime
dependency in the python-robotframework recipe and not in the
python3-robotframework.
Signed-off-by: Sipke Vriend <sipke.vriend at gmail.com>
---
meta-python/recipes-devtools/python/python-robotframework.inc | 11 +++++++++++
.../recipes-devtools/python/python-robotframework_3.0.2.bb | 4 ++++
2 files changed, 15 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python-robotframework.inc b/meta-python/recipes-devtools/python/python-robotframework.inc
index cc20d64..78bbbc6 100644
--- a/meta-python/recipes-devtools/python/python-robotframework.inc
+++ b/meta-python/recipes-devtools/python/python-robotframework.inc
@@ -13,3 +13,14 @@ inherit pypi
SRC_URI[md5sum] = "ea49a54b9d7e38302712194e85c37eaa"
SRC_URI[sha256sum] = "2018f233568227f9af8c366f93e243a157b742f3baf5b649ecc9750ac0ee1ff7"
+
+RDEPENDS_${PN} += " \
+ ${PYTHON_PN}-shell \
+ ${PYTHON_PN}-pprint \
+ ${PYTHON_PN}-xml \
+ ${PYTHON_PN}-difflib \
+ ${PYTHON_PN}-threading \
+ ${PYTHON_PN}-html \
+ ${PYTHON_PN}-docutils \
+ ${PYTHON_PN}-ctypes \
+"
diff --git a/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb b/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb
index 16eaa78..ff7dedb 100644
--- a/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb
+++ b/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb
@@ -1,2 +1,6 @@
inherit setuptools
require python-robotframework.inc
+
+RDEPENDS_${PN} += " \
+ ${PYTHON_PN}-zlib \
+"
--
2.7.4
More information about the Openembedded-devel
mailing list