diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2019-08-21 22:28:53 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-08-24 04:31:45 -0700 |
commit | 26656c1cd1767c7d6de1d6380ebb92498cf8e912 (patch) | |
tree | 3cf383a787d8d0ef3f378a3eee5ecff478898093 /meta-python/recipes-devtools/python/python-socketio.inc | |
parent | 6b41e0ad6ff76313b2db3cbbf889e50504ce4bb5 (diff) | |
download | meta-openembedded-26656c1cd1767c7d6de1d6380ebb92498cf8e912.tar.gz |
python-socketio: prevent python2 socketio depending on python3-aiohttp
* enable client and asyncio_client PACKAGECONFIGs only in python3-socketio, because
there is no python-websockets, python--websocket-client recipes for python2 version
* fixes:
ERROR: Nothing RPROVIDES 'python3-aiohttp' (but
meta-oe/meta-python/recipes-devtools/python/python-socketio_4.3.1.bb
RDEPENDS on or otherwise requires it)
when python3-aiohttp is blacklisted
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-socketio.inc')
-rw-r--r-- | meta-python/recipes-devtools/python/python-socketio.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-python/recipes-devtools/python/python-socketio.inc b/meta-python/recipes-devtools/python/python-socketio.inc index 7ebc4eac7a..7ee99f8d99 100644 --- a/meta-python/recipes-devtools/python/python-socketio.inc +++ b/meta-python/recipes-devtools/python/python-socketio.inc | |||
@@ -12,9 +12,9 @@ PYPI_PACKAGE = "python-socketio" | |||
12 | SRC_URI[md5sum] = "86cd47dddea1785ce7a6c72f55c93fe7" | 12 | SRC_URI[md5sum] = "86cd47dddea1785ce7a6c72f55c93fe7" |
13 | SRC_URI[sha256sum] = "506b2cf7a520b40ea0b3f25e1272eff8de134dce6f471c1f6bc0de8c90fe8c57" | 13 | SRC_URI[sha256sum] = "506b2cf7a520b40ea0b3f25e1272eff8de134dce6f471c1f6bc0de8c90fe8c57" |
14 | 14 | ||
15 | PACKAGECONFIG ?= "asyncio_client client" | 15 | PACKAGECONFIG ?= "" |
16 | PACKAGECONFIG[asyncio_client] = ",,,python3-aiohttp python3-websockets" | 16 | PACKAGECONFIG[asyncio_client] = ",,,${PYTHON_PN}-aiohttp ${PYTHON_PN}-websockets" |
17 | PACKAGECONFIG[client] = ",,,python3-requests python3-websocket-client" | 17 | PACKAGECONFIG[client] = ",,,${PYTHON_PN}-requests ${PYTHON_PN}-websocket-client" |
18 | 18 | ||
19 | RDEPENDS_${PN} += "\ | 19 | RDEPENDS_${PN} += "\ |
20 | ${PYTHON_PN}-engineio \ | 20 | ${PYTHON_PN}-engineio \ |