@@ -750,6 +750,7 @@ RECIPE_MAINTAINER:pn-python3-unittest-automake-output = "Ross Burton <ross.burto
RECIPE_MAINTAINER:pn-python3-uritools = "Marta Rybczynska <marta.rybczynska@ygreky.com>"
RECIPE_MAINTAINER:pn-python3-urllib3 = "Tim Orling <tim.orling@konsulko.com>"
RECIPE_MAINTAINER:pn-python3-uv-build = "Trevor Gamblin <tgamblin@baylibre.com>"
+RECIPE_MAINTAINER:pn-python3-uvloop = "Tim Orling <tim.orling@konsulko.com>"
RECIPE_MAINTAINER:pn-python3-vcs-versioning = "Trevor Gamblin <tgamblin@baylibre.com>"
RECIPE_MAINTAINER:pn-python3-vcversioner = "Bruce Ashfield <bruce.ashfield@gmail.com>"
RECIPE_MAINTAINER:pn-python3-wcwidth = "Tim Orling <tim.orling@konsulko.com>"
new file mode 100644
@@ -0,0 +1,21 @@
+From: Tim Orling <tim.orling@konsulko.com>
+Subject: [PATCH] setup.cfg: use system libuv
+
+Build against the libuv recipe instead of the bundled copy in
+vendor/libuv.
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+ setup.cfg | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -1,3 +1,6 @@
++[build_ext]
++use_system_libuv = 1
++
+ [egg_info]
+ tag_build =
+ tag_date = 0
new file mode 100644
@@ -0,0 +1,17 @@
+SUMMARY = "Fast implementation of asyncio event loop on top of libuv"
+HOMEPAGE = "https://github.com/MagicStack/uvloop"
+BUGTRACKER = "https://github.com/MagicStack/uvloop/issues"
+LICENSE = "Apache-2.0 OR MIT"
+LIC_FILES_CHKSUM = "file://LICENSE-APACHE;md5=bb92739ddad0a2811957bd98bdb90474 \
+ file://LICENSE-MIT;md5=489c8bc34154e4b59f5c58e664f7d70f"
+
+DEPENDS += "libuv python3-wheel-native"
+
+SRC_URI += "file://0001-setup.cfg-use-system-libuv.patch"
+SRC_URI[sha256sum] = "6c84bae345b9147082b17371e3dd5d42775bddce91f885499017f4607fdaf39f"
+
+inherit pypi python_setuptools_build_meta cython
+
+RDEPENDS:${PN} = "python3-asyncio"
+
+BBCLASSEXTEND = "native nativesdk"