summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-gevent_21.12.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-10-11 17:18:26 -0700
committerKhem Raj <raj.khem@gmail.com>2022-10-11 17:43:32 -0700
commit8ac152e9e8de65de5857b95560c12b60fd19d7a3 (patch)
tree25da94d258c9cebbd9633f4efabbc92ab0806523 /meta-python/recipes-devtools/python/python3-gevent_21.12.0.bb
parent354608cb88042a7255aaf5c792b7638cb37a3979 (diff)
downloadmeta-openembedded-8ac152e9e8de65de5857b95560c12b60fd19d7a3.tar.gz
python3-gevent: Upgrade to 22.8.0
This has the python 3.11 fix in it so drop the patch Add a patch to avoid adding native include paths to compiler cmdline Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex@linutronix.de>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-gevent_21.12.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-gevent_21.12.0.bb35
1 files changed, 0 insertions, 35 deletions
diff --git a/meta-python/recipes-devtools/python/python3-gevent_21.12.0.bb b/meta-python/recipes-devtools/python/python3-gevent_21.12.0.bb
deleted file mode 100644
index f891c2eeab..0000000000
--- a/meta-python/recipes-devtools/python/python3-gevent_21.12.0.bb
+++ /dev/null
@@ -1,35 +0,0 @@
1SUMMARY = "A coroutine-based Python networking library"
2DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \
3a high-level synchronous API on top of the libevent event loop."
4HOMEPAGE = "http://www.gevent.org"
5LICENSE = "MIT & Python-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65"
7DEPENDS += "${PYTHON_PN}-greenlet libev libuv c-ares python3-cython-native"
8
9RDEPENDS:${PN} = "${PYTHON_PN}-greenlet \
10 ${PYTHON_PN}-mime \
11 ${PYTHON_PN}-pprint \
12 "
13
14SRC_URI[sha256sum] = "f48b64578c367b91fa793bf8eaaaf4995cb93c8bc45860e473bf868070ad094e"
15
16inherit pypi setuptools3
17
18# Don't embed libraries, link to the system provided libs instead
19export GEVENTSETUP_EMBED_CARES = "0"
20export GEVENTSETUP_EMBED_LIBEV = "0"
21export GEVENTSETUP_EMBED_LIBUV = "0"
22
23do_configure:append() {
24 # Delete the embedded copies of libraries so we can't accidentally link to them
25 rm -rf ${S}/deps
26
27 # Delete the generated cython files, as they are all out of date with python 3.11
28 rm -rf ${S}/src/gevent/*.c
29}
30
31do_compile:append() {
32 sed -i -e 's#${WORKDIR}##g' ${S}/src/gevent/*.c ${S}/src/gevent/libev/*.c ${S}/src/gevent/resolver/*.c
33}
34
35SRC_URI += "file://py-3.11.patch"