Add a recipe for python3-uvloop: a fast implementation of asyncio
event loop on top of libuv

Signed-off-by: Ben Gampe <[email protected]>
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-uvloop_0.15.2.bb           | 25 +++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-uvloop_0.15.2.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 30e90dcd7..5440bf571 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -427,6 +427,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-unidiff \
     python3-uritemplate \
     python3-urllib3 \
+    python3-uvloop \
     python3-vcversioner \
     python3-versiontools \
     python3-visitor \
diff --git a/meta-python/recipes-devtools/python/python3-uvloop_0.15.2.bb 
b/meta-python/recipes-devtools/python/python3-uvloop_0.15.2.bb
new file mode 100644
index 000000000..5a59a75eb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-uvloop_0.15.2.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Fast implementation of asyncio event loop on top of libuv"
+HOMEPAGE = "http://github.com/MagicStack/uvloop";;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=3bd0b2e751776b370b2151ac508af939"
+
+inherit setuptools3
+inherit pypi
+
+SRCNAME = "uvloop"
+
+DEPENDS = "${PYTHON_PN}-cython-native"
+
+BBCLASSEXTEND = "native"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+do_compile_prepend() {
+    export LIBUV_CONFIGURE_HOST=${HOST_SYS}
+}
+
+do_install_prepend() {
+    export LIBUV_CONFIGURE_HOST=${HOST_SYS}
+}
+
+SRC_URI[sha256sum] = 
"2bb0624a8a70834e54dde8feed62ed63b50bad7a1265c40d6403a2ac447bce01"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90417): 
https://lists.openembedded.org/g/openembedded-devel/message/90417
Mute This Topic: https://lists.openembedded.org/mt/81686867/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to