From 072fde3b5ed721109936166aff89d3e310cb0528 Mon Sep 17 00:00:00 2001 From: George Sapkin Date: Tue, 12 May 2026 01:52:02 +0300 Subject: [PATCH] python-uvicorn: add new package Uvicorn is an ASGI web server implementation for Python. Signed-off-by: George Sapkin --- lang/python/python-uvicorn/Makefile | 51 +++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 lang/python/python-uvicorn/Makefile diff --git a/lang/python/python-uvicorn/Makefile b/lang/python/python-uvicorn/Makefile new file mode 100644 index 0000000000..0d6c0c186b --- /dev/null +++ b/lang/python/python-uvicorn/Makefile @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: GPL-2.0-only + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-uvicorn +PKG_VERSION:=0.46.0 +PKG_RELEASE:=1 + +PYPI_NAME:=uvicorn +PKG_HASH:=fb9da0926999cc6cb22dc7cd71a94a632f078e6ae47ff683c5c420750fb7413d + +PKG_MAINTAINER:=Alexandru Ardelean +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=LICENSE.md + +HOST_BUILD_DEPENDS:= \ + python3/host \ + python-click/host \ + python-h11/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-uvicorn + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Uvicorn + URL:=https://github.com/Kludex/uvicorn + DEPENDS:= \ + +python3-asyncio \ + +python3-click \ + +python3-h11 \ + +python3-light \ + +python3-logging \ + +python3-multiprocessing \ + +python3-openssl \ + +python3-urllib +endef + +define Package/python3-uvicorn/description + Uvicorn is an ASGI web server implementation for Python. +endef + +$(eval $(call Py3Package,python3-uvicorn)) +$(eval $(call BuildPackage,python3-uvicorn)) +$(eval $(call BuildPackage,python3-uvicorn-src)) +$(eval $(call HostBuild))