blob: 96404d0d1e548d9bd309db889da679d4e4926b6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
PKG_NAME:=python-uvicorn
PKG_VERSION:=0.48.0
PKG_RELEASE:=1
PYPI_NAME:=uvicorn
PKG_HASH:=a5504207195d08c2511bf9125ede5ac4a4b71725d519e758d01dcf0bc2d31c37
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE.md
HOST_BUILD_DEPENDS:= \
python-click/host \
python-h11/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-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))
|