add py-unicorn

This commit is contained in:
ziggi
2020-07-23 08:20:28 +00:00
parent adf7c51a96
commit 034a8cc18f
20 changed files with 198 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD: head/www/py-uvicorn/Makefile 540462 2020-06-26 08:45:28Z sunpoet $
PORTNAME= uvicorn
PORTVERSION= 0.11.5
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Lightning-fast ASGI server
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7<8:python/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}h11>=0.8<0.10:python/py-h11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httptools>=0.1<0.2:python/py-httptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}uvloop>=0.14.0:python/py-uvloop@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>=8<9:python/py-websockets@${PY_FLAVOR}
#RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}watchgod>=0.6<0.7:devel/py-watchgod@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1588242136
SHA256 (uvicorn-0.11.5.tar.gz) = 596eaa8645b6dbc24d6610e335f8ddf5f925b4c4b86fdc7146abb0bf0da65d17
SIZE (uvicorn-0.11.5.tar.gz) = 29565

View File

@@ -0,0 +1,12 @@
Uvicorn is a lightning-fast ASGI server implementation, using uvloop and
httptools.
Until recently Python has lacked a minimal low-level server/application
interface for asyncio frameworks. The ASGI specification fills this gap, and
means we're now able to start building a common set of tooling usable across all
asyncio frameworks.
Uvicorn currently supports HTTP/1.1 and WebSockets. Support for HTTP/2 is
planned.
WWW: https://github.com/encode/uvicorn