From c9704c4e7f3855644325e29a860c74c52eb15e6b Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Tue, 22 Jul 2025 11:14:29 +0800 Subject: python3-gevent: upgrade 25.4.2 -> 25.5.1 Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- ...001-_setuputils.py-Do-not-add-sys_inc_dir.patch | 3 +- .../python/python3-gevent_25.4.2.bb | 38 ---------------------- .../python/python3-gevent_25.5.1.bb | 38 ++++++++++++++++++++++ 3 files changed, 39 insertions(+), 40 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-gevent_25.4.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-gevent_25.5.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch b/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch index 49903d6ce8..68ef5d6d9a 100644 --- a/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch +++ b/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch @@ -1,4 +1,4 @@ -From 9eb453283a7ac8a9b1dd3eac86d936c7a430476b Mon Sep 17 00:00:00 2001 +From 21b8f74c3d0006c80549452743d50e6f012aa7ef Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 11 Oct 2022 17:37:01 -0700 Subject: [PATCH] _setuputils.py: Do not add sys_inc_dir @@ -10,7 +10,6 @@ we really do not need setuptools to deduce it for us. Upstream-Status: Inappropriate [ Cross-compile specific ] Signed-off-by: Khem Raj - --- _setuputils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-gevent_25.4.2.bb b/meta-python/recipes-devtools/python/python3-gevent_25.4.2.bb deleted file mode 100644 index b66fd5c8cf..0000000000 --- a/meta-python/recipes-devtools/python/python3-gevent_25.4.2.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "A coroutine-based Python networking library" -DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \ -a high-level synchronous API on top of the libevent event loop." -HOMEPAGE = "https://www.gevent.org" -LICENSE = "MIT & Python-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65" -DEPENDS += "python3-greenlet-native python3-greenlet libev libuv python3-cffi-native" - -RDEPENDS:${PN} = "python3-greenlet \ - python3-mime \ - python3-pprint \ - python3-zopeevent \ - python3-zopeinterface \ - " - -SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch" - -SRC_URI[sha256sum] = "7ffba461458ed28a85a01285ea0e0dc14f883204d17ce5ed82fa839a9d620028" - -inherit pypi python_setuptools_build_meta cython - -# Don't embed libraries, link to the system provided libs instead -export GEVENTSETUP_EMBED_CARES = "0" -export GEVENTSETUP_EMBED_LIBEV = "0" -export GEVENTSETUP_EMBED_LIBUV = "0" - -do_configure:append() { - # Delete the embedded copies of libraries so we can't accidentally link to them - rm -rf ${S}/deps - - # Delete the generated cython files, as they are all out of date with python 3.11 - rm -rf ${S}/src/gevent/*.c -} - -# http://errors.yoctoproject.org/Errors/Details/766918/ -# src/gevent/queue.c:11894:83: error: passing argument 1 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] -# src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] -CFLAGS += "-Wno-error=incompatible-pointer-types" diff --git a/meta-python/recipes-devtools/python/python3-gevent_25.5.1.bb b/meta-python/recipes-devtools/python/python3-gevent_25.5.1.bb new file mode 100644 index 0000000000..05c4ea2205 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gevent_25.5.1.bb @@ -0,0 +1,38 @@ +SUMMARY = "A coroutine-based Python networking library" +DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \ +a high-level synchronous API on top of the libevent event loop." +HOMEPAGE = "https://www.gevent.org" +LICENSE = "MIT & Python-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65" +DEPENDS += "python3-greenlet-native python3-greenlet libev libuv python3-cffi-native" + +RDEPENDS:${PN} = "python3-greenlet \ + python3-mime \ + python3-pprint \ + python3-zopeevent \ + python3-zopeinterface \ + " + +SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch" + +SRC_URI[sha256sum] = "582c948fa9a23188b890d0bc130734a506d039a2e5ad87dae276a456cc683e61" + +inherit pypi python_setuptools_build_meta cython + +# Don't embed libraries, link to the system provided libs instead +export GEVENTSETUP_EMBED_CARES = "0" +export GEVENTSETUP_EMBED_LIBEV = "0" +export GEVENTSETUP_EMBED_LIBUV = "0" + +do_configure:append() { + # Delete the embedded copies of libraries so we can't accidentally link to them + rm -rf ${S}/deps + + # Delete the generated cython files, as they are all out of date with python 3.11 + rm -rf ${S}/src/gevent/*.c +} + +# http://errors.yoctoproject.org/Errors/Details/766918/ +# src/gevent/queue.c:11894:83: error: passing argument 1 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] +# src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" -- cgit v1.2.3-54-g00ecf