summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-gevent_23.9.1.bb
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2023-09-22 22:18:03 +0000
committerKhem Raj <raj.khem@gmail.com>2023-09-22 15:41:08 -0700
commit7ef3f81654f76cfec6d31def14fec2df89fd0395 (patch)
treecfc8d8bf2ca59404b34a5f8edf476263cae8ece9 /meta-python/recipes-devtools/python/python3-gevent_23.9.1.bb
parentf52decfaa65d70e59a8bdcde21e2d0f3e149561f (diff)
downloadmeta-openembedded-7ef3f81654f76cfec6d31def14fec2df89fd0395.tar.gz
python3-gevent: Update version 23.7.0 -> 23.9.1
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-gevent_23.9.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-gevent_23.9.1.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-gevent_23.9.1.bb b/meta-python/recipes-devtools/python/python3-gevent_23.9.1.bb
new file mode 100644
index 0000000000..0caebce282
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-gevent_23.9.1.bb
@@ -0,0 +1,35 @@
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 += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch"
15
16SRC_URI[sha256sum] = "72c002235390d46f94938a96920d8856d4ffd9ddf62a303a0d7c118894097e34"
17
18inherit pypi setuptools3
19
20# Don't embed libraries, link to the system provided libs instead
21export GEVENTSETUP_EMBED_CARES = "0"
22export GEVENTSETUP_EMBED_LIBEV = "0"
23export GEVENTSETUP_EMBED_LIBUV = "0"
24
25do_configure:append() {
26 # Delete the embedded copies of libraries so we can't accidentally link to them
27 rm -rf ${S}/deps
28
29 # Delete the generated cython files, as they are all out of date with python 3.11
30 rm -rf ${S}/src/gevent/*.c
31}
32
33do_compile:append() {
34 sed -i -e 's#${WORKDIR}##g' ${S}/src/gevent/*.c ${S}/src/gevent/libev/*.c ${S}/src/gevent/resolver/*.c
35}