From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-python][PATCH] python-socketio: prevent python2 socketio depending on python3-aiohttp
Date: Wed, 21 Aug 2019 22:28:53 +0000 [thread overview]
Message-ID: <20190821222853.737-1-Martin.Jansa@gmail.com> (raw)
* 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>
---
meta-python/recipes-devtools/python/python-socketio.inc | 6 +++---
.../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 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"
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 ce83d09c0e..8ff590bd75 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
--
2.17.1
reply other threads:[~2019-08-21 22:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190821222853.737-1-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.