From 0ecbd163d099c2416f2e7a7a0ebd5c7106cd4a33 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 25 Jan 2021 17:23:35 +0200 Subject: python3-socketio: Upgrade 4.6.0 -> 5.0.4 - Include error message and arguments in CONNECT_ERROR packet - Fix typos in the documentation - Updated connection options in the documentation - Update to match the JavaScript Socket.IO 3.x releases (Socket.IO v5 protocol revision) - Remove unnecessary binary argument - Remove dependency on the six package - Added version compatibility chart to README Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-socketio_4.6.0.bb | 28 ---------------------- .../python/python3-socketio_5.0.4.bb | 27 +++++++++++++++++++++ 2 files changed, 27 insertions(+), 28 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-socketio_4.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-socketio_5.0.4.bb diff --git a/meta-python/recipes-devtools/python/python3-socketio_4.6.0.bb b/meta-python/recipes-devtools/python/python3-socketio_4.6.0.bb deleted file mode 100644 index 7d96398e95..0000000000 --- a/meta-python/recipes-devtools/python/python3-socketio_4.6.0.bb +++ /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 setuptools3 - -PYPI_PACKAGE = "python-socketio" - -SRC_URI[md5sum] = "44bb7854234e144655ef9c34b0165704" -SRC_URI[sha256sum] = "358d8fbbc029c4538ea25bcaa283e47f375be0017fcba829de8a3a731c9df25a" - -PACKAGECONFIG ?= "asyncio_client client" -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_5.0.4.bb b/meta-python/recipes-devtools/python/python3-socketio_5.0.4.bb new file mode 100644 index 0000000000..70db342cc9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-socketio_5.0.4.bb @@ -0,0 +1,27 @@ +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[sha256sum] = "f53fd0d5bd9f75a70492062f4ae6195ab5d34d67a29024d740f25e468392893e" + +PACKAGECONFIG ?= "asyncio_client client" +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 \ + " -- cgit v1.2.3-54-g00ecf