python-anyio: add new package
authorGeorge Sapkin <redacted>
Mon, 11 May 2026 22:49:38 +0000 (01:49 +0300)
committerAlexandru Ardelean <redacted>
Tue, 12 May 2026 08:08:25 +0000 (11:08 +0300)
High-level concurrency and networking framework on top of asyncio or Trio.

Signed-off-by: George Sapkin <redacted>
lang/python/python-anyio/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-anyio/Makefile b/lang/python/python-anyio/Makefile
new file mode 100644 (file)
index 0000000..985917e
--- /dev/null
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-anyio
+PKG_VERSION:=4.13.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=anyio
+PKG_HASH:=334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc
+
+PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+HOST_BUILD_DEPENDS:= \
+       python3/host \
+       python-idna/host
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/host-build.mk
+include ../python3-package.mk
+include ../python3-host-build.mk
+
+define Package/python3-anyio
+  SECTION:=lang
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=Anyio
+  URL:=https://github.com/agronholm/anyio
+  DEPENDS:= \
+    +python3-asyncio \
+    +python3-idna \
+    +python3-light \
+    +python3-logging \
+    +python3-openssl
+endef
+
+define Package/python3-anyio/description
+  High-level concurrency and networking framework on top of asyncio or
+  Trio.
+endef
+
+$(eval $(call Py3Package,python3-anyio))
+$(eval $(call BuildPackage,python3-anyio))
+$(eval $(call BuildPackage,python3-anyio-src))
+$(eval $(call HostBuild))
git clone https://git.99rst.org/PROJECT