Skip to contentSkip to conversation

python-robotframework: Add runtime dependencies to robot framework

PATCH New Sipke Vriend 1 participant 1 message May 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python-robotframework: Add runtime dependencies to robot framework

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.

---
 meta-python/recipes-devtools/python/python-robotframework.inc | 11 +++++++++++
 .../recipes-devtools/python/python-robotframework_3.0.2.bb    |  4 ++++
 2 files changed, 15 insertions(+)
meta-python/recipes-devtools/python/python-robotframework.inc +11 -0
index cc20d64..78bbbc6 100644
@@ -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 \
+"
meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb +4 -0
index 16eaa78..ff7dedb 100644
@@ -1,2 +1,6 @@
 inherit setuptools
 require python-robotframework.inc
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-zlib \
+"
Signature · 1 line
2.7.4