Files
Alexandru Ardelean 9fb26c8e83 python-starlette: update to 1.7.0
Update to the latest upstream release.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-10-13 16:29:09 +03:00

50 lines
1.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
PKG_NAME:=python-starlette
PKG_VERSION:=1.7.0
PKG_RELEASE:=1
PYPI_NAME:=starlette
PKG_HASH:=c79f74ea63cff761804fbbfb182f1e0b440c2d07b164d24700c5a1bab5d6ff5d
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE.md
HOST_BUILD_DEPENDS:= \
python-anyio/host \
python-hatchling/host
PKG_BUILD_DEPENDS:=python-hatchling/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-starlette
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Starlette
URL:=https://github.com/agronholm/starlette
DEPENDS:= \
+python3-asyncio \
+python3-anyio \
+python3-light \
+python3-urllib \
+python3-uuid
endef
define Package/python3-starlette/description
Starlette is a lightweight ASGI framework/toolkit, which is ideal for
building async web services in Python.
endef
$(eval $(call Py3Package,python3-starlette))
$(eval $(call BuildPackage,python3-starlette))
$(eval $(call BuildPackage,python3-starlette-src))
$(eval $(call HostBuild))