[oe] [meta-python][PATCH v2 7/7] python-socketio.inc: add missing RDEPENDS

Maciej Pijanowski maciej.pijanowski at 3mdeb.com
Sun Aug 11 15:16:26 UTC 2019


Without additional RDEPENDS module could not be properly imported on
python 3.7.4. Additional RDEPENDS had to be added in order to start the
most basic examples from documentation:
https://python-socketio.readthedocs.io/en/latest/client.html

Signed-off-by: Maciej Pijanowski <maciej.pijanowski at 3mdeb.com>
---
 .../recipes-devtools/python/python-socketio.inc       | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-socketio.inc b/meta-python/recipes-devtools/python/python-socketio.inc
index fa62afce1546..7ebc4eac7a28 100644
--- a/meta-python/recipes-devtools/python/python-socketio.inc
+++ b/meta-python/recipes-devtools/python/python-socketio.inc
@@ -12,6 +12,17 @@ PYPI_PACKAGE = "python-socketio"
 SRC_URI[md5sum] = "86cd47dddea1785ce7a6c72f55c93fe7"
 SRC_URI[sha256sum] = "506b2cf7a520b40ea0b3f25e1272eff8de134dce6f471c1f6bc0de8c90fe8c57"
 
+PACKAGECONFIG ?= "asyncio_client client"
+PACKAGECONFIG[asyncio_client] = ",,,python3-aiohttp python3-websockets"
+PACKAGECONFIG[client] = ",,,python3-requests python3-websocket-client"
+
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-engineio \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-math \
+    ${PYTHON_PN}-pickle \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-threading \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-attrs \
     "
-- 
2.20.1



More information about the Openembedded-devel mailing list