python-starlette: add new package
authorGeorge Sapkin <redacted>
Mon, 11 May 2026 22:51:36 +0000 (01:51 +0300)
committerAlexandru Ardelean <redacted>
Tue, 12 May 2026 08:08:25 +0000 (11:08 +0300)
Starlette is a lightweight ASGI framework/toolkit, which is ideal for
building async web services in Python.

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

diff --git a/lang/python/python-starlette/Makefile b/lang/python/python-starlette/Makefile
new file mode 100644 (file)
index 0000000..3d1d427
--- /dev/null
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-starlette
+PKG_VERSION:=1.0.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=starlette
+PKG_HASH:=6a4beaf1f81bb472fd19ea9b918b50dc3a77a6f2e190a12954b25e6ed5eea149
+
+PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=LICENSE.md
+
+HOST_BUILD_DEPENDS:= \
+       python-anyio/host \
+       python-setuptools/host
+PKG_BUILD_DEPENDS:=python-setuptools/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))
git clone https://git.99rst.org/PROJECT