Files
packages/lang/python/python-anyio/Makefile
T
Alexandru Ardelean a61f98dfcd python-anyio: add test.sh and python3-urllib dep
Exercise anyio end-to-end with the structured-concurrency example
from the upstream "Creating and managing tasks" docs: spawn 5 child
tasks via create_task_group(), each appending to a shared list, then
verify all completed.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-01 08:10:59 +03:00

52 lines
1.1 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
PKG_NAME:=python-anyio
PKG_VERSION:=4.13.0
PKG_RELEASE:=2
PYPI_NAME:=anyio
PKG_HASH:=334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
HOST_BUILD_DEPENDS:= \
python-idna/host \
python-setuptools-scm/host
PKG_BUILD_DEPENDS:=python-setuptools-scm/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 \
+python3-urllib
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))