Files
packages/lang/python/python-anyio/Makefile
T
Alexandru Ardelean e725f872d9 python-anyio: update to 4.15.1
4.15.1 raises the typing_extensions requirement marker from
python_version < "3.13" to < "3.15", so it is now a real runtime
dependency on python 3.14 and importing anyio fails without it.
Add python3-typing-extensions to DEPENDS.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-10-13 16:27:49 +03:00

53 lines
1.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
PKG_NAME:=python-anyio
PKG_VERSION:=4.15.1
PKG_RELEASE:=1
PYPI_NAME:=anyio
PKG_HASH:=9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94
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-typing-extensions \
+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))