diff options
author | Pierre-Jean Texier <pjtexier@koncepto.io> | 2020-04-03 21:42:41 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-03 14:45:54 -0700 |
commit | 9bc31fb5715fce63918f0f5ba2b77435a52a205b (patch) | |
tree | 1db1a9b98b2ecc2f7a799cbb91dd130b96532cb2 | |
parent | 78b8d6bc4b3c46e547a0437369944f3157c81905 (diff) | |
download | meta-openembedded-contrib-9bc31fb5715fce63918f0f5ba2b77435a52a205b.tar.gz |
python3-socketio: consolidate into a single file
For details see [1]
[1] - https://lists.openembedded.org/g/openembedded-devel/topic/72718415
Suggested-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python-socketio.inc | 28 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-socketio_4.4.0.bb | 27 |
2 files changed, 25 insertions, 30 deletions
diff --git a/meta-python/recipes-devtools/python/python-socketio.inc b/meta-python/recipes-devtools/python/python-socketio.inc deleted file mode 100644 index 117eb60784..0000000000 --- a/meta-python/recipes-devtools/python/python-socketio.inc +++ /dev/null @@ -1,28 +0,0 @@ -SUMMARY = "Socket.IO server" -HOMEPAGE = "https://github.com/miguelgrinberg/python-socketio/" -SECTION = "devel/python" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8" - -inherit pypi - -PYPI_PACKAGE = "python-socketio" - -SRC_URI[md5sum] = "6631497753977b70d2b5ceb12af2775f" -SRC_URI[sha256sum] = "48cba5b827ac665dbf923a4f5ec590812aed5299a831fc43576a9af346272534" - -PACKAGECONFIG ?= "" -PACKAGECONFIG[asyncio_client] = ",,,${PYTHON_PN}-aiohttp ${PYTHON_PN}-websockets" -PACKAGECONFIG[client] = ",,,${PYTHON_PN}-requests ${PYTHON_PN}-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 \ - " diff --git a/meta-python/recipes-devtools/python/python3-socketio_4.4.0.bb b/meta-python/recipes-devtools/python/python3-socketio_4.4.0.bb index e2542cf4a5..7f9fade8c3 100644 --- a/meta-python/recipes-devtools/python/python3-socketio_4.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-socketio_4.4.0.bb @@ -1,5 +1,28 @@ -inherit setuptools3 +SUMMARY = "Socket.IO server" +HOMEPAGE = "https://github.com/miguelgrinberg/python-socketio/" +SECTION = "devel/python" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "python-socketio" + +SRC_URI[md5sum] = "6631497753977b70d2b5ceb12af2775f" +SRC_URI[sha256sum] = "48cba5b827ac665dbf923a4f5ec590812aed5299a831fc43576a9af346272534" PACKAGECONFIG ?= "asyncio_client client" -require python-socketio.inc +PACKAGECONFIG[asyncio_client] = ",,,${PYTHON_PN}-aiohttp ${PYTHON_PN}-websockets" +PACKAGECONFIG[client] = ",,,${PYTHON_PN}-requests ${PYTHON_PN}-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 \ + " |