python3-anyio: add recipe for v4.2.0

High level compatibility layer for multiple asynchronous event loop
implementations.

This recipe is currently provided without trio support, as the author
has no use for it and it would require to add a new python3-trio recipe.

This recipe uses pypi as source:

    https://pypi.org/project/anyio

Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Richard Leitner
2024-02-05 13:58:26 +01:00
committed by Khem Raj
parent 6d766dd2b0
commit 7e95b8600e

View File

@@ -0,0 +1,23 @@
SUMMARY = "High level compatibility layer for multiple asynchronous event loop implementations"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f"
inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "e1875bb4b4e2de1669f4bc7869b6d3f54231cdced71605e6e64c9be77e3be50f"
DEPENDS += " \
python3-setuptools-scm-native \
"
# Don't provide "trio" PACKAGECONFIG as nothing provides "python3-trio" currently.
# If somebody needs this please feel free to add python3-trio and enable the
# packageconfig below:
#PACKAGECONFIG ??= ""
#PACKAGECONFIG[trio] = ",,,python3-trio"
RDEPENDS:${PN} += "\
python3-idna \
python3-sniffio \
"