svn commit: r523648 - in head/www: . py-uvicorn
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jan 20 20:08:53 UTC 2020
Author: sunpoet
Date: Mon Jan 20 20:08:51 2020
New Revision: 523648
URL: https://svnweb.freebsd.org/changeset/ports/523648
Log:
Add py-uvicorn 0.11.2
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
Added:
head/www/py-uvicorn/
head/www/py-uvicorn/Makefile (contents, props changed)
head/www/py-uvicorn/distinfo (contents, props changed)
head/www/py-uvicorn/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Mon Jan 20 20:08:45 2020 (r523647)
+++ head/www/Makefile Mon Jan 20 20:08:51 2020 (r523648)
@@ -1883,6 +1883,7 @@
SUBDIR += py-urlwatch
SUBDIR += py-user_agent
SUBDIR += py-utidylib
+ SUBDIR += py-uvicorn
SUBDIR += py-w3lib
SUBDIR += py-wagtail
SUBDIR += py-waitress
Added: head/www/py-uvicorn/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-uvicorn/Makefile Mon Jan 20 20:08:51 2020 (r523648)
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= uvicorn
+PORTVERSION= 0.11.2
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Lightning-fast ASGI server
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7<8:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}h11>=0.8<0.10:net/py-h11@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httptools>=0.0.13:www/py-httptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}uvloop>=0.14.0:devel/py-uvloop@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}websockets>=8<9:devel/py-websockets@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/www/py-uvicorn/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-uvicorn/distinfo Mon Jan 20 20:08:51 2020 (r523648)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1579531334
+SHA256 (uvicorn-0.11.2.tar.gz) = 11f397855c7f35dc034a3d288883382a4c16afdfe6675b70896f55bd6051da64
+SIZE (uvicorn-0.11.2.tar.gz) = 28541
Added: head/www/py-uvicorn/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-uvicorn/pkg-descr Mon Jan 20 20:08:51 2020 (r523648)
@@ -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
More information about the svn-ports-all
mailing list