mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-15 13:01:19 +02:00
add py-unicorn
This commit is contained in:
26
python/py-uvicorn/Makefile
Normal file
26
python/py-uvicorn/Makefile
Normal 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>
|
||||
3
python/py-uvicorn/distinfo
Normal file
3
python/py-uvicorn/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1588242136
|
||||
SHA256 (uvicorn-0.11.5.tar.gz) = 596eaa8645b6dbc24d6610e335f8ddf5f925b4c4b86fdc7146abb0bf0da65d17
|
||||
SIZE (uvicorn-0.11.5.tar.gz) = 29565
|
||||
12
python/py-uvicorn/pkg-descr
Normal file
12
python/py-uvicorn/pkg-descr
Normal 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
|
||||
Reference in New Issue
Block a user