[oe-commits] [meta-openembedded] 01/04: python-socketio: prevent python2 socketio depending on python3-aiohttp
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 22 04:46:13 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit b1834ff9429fe3ac9453ba377d775982d8c98ea5
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Wed Aug 21 22:28:53 2019 +0000
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 at gmail.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-python/recipes-devtools/python/python-socketio.inc | 6 +++---
meta-python/recipes-devtools/python/python3-socketio_4.3.1.bb | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python-socketio.inc b/meta-python/recipes-devtools/python/python-socketio.inc
index 7ebc4ea..7ee99f8 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"
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"
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[asyncio_client] = ",,,${PYTHON_PN}-aiohttp ${PYTHON_PN}-websockets"
+PACKAGECONFIG[client] = ",,,${PYTHON_PN}-requests ${PYTHON_PN}-websocket-client"
RDEPENDS_${PN} += "\
${PYTHON_PN}-engineio \
diff --git a/meta-python/recipes-devtools/python/python3-socketio_4.3.1.bb b/meta-python/recipes-devtools/python/python3-socketio_4.3.1.bb
index ce83d09..8ff590b 100644
--- a/meta-python/recipes-devtools/python/python3-socketio_4.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-socketio_4.3.1.bb
@@ -1,2 +1,4 @@
inherit setuptools3
+
+PACKAGECONFIG ?= "asyncio_client client"
require python-socketio.inc
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list