Date: Sun, 15 Nov 2020 17:56:10 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555254 - in head/www: . py-hypercorn Message-ID: <202011151756.0AFHuAG2003812@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Nov 15 17:56:10 2020 New Revision: 555254 URL: https://svnweb.freebsd.org/changeset/ports/555254 Log: Add py-hypercorn 0.11.1 Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and wsproto libraries and inspired by Gunicorn. Hypercorn supports HTTP/1, HTTP/2, WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. Hypercorn can utilise asyncio, uvloop, or trio worker types. Hypercorn can optionally serve the current draft of the HTTP/3 specification using the aioquic library. WWW: https://gitlab.com/pgjones/hypercorn Added: head/www/py-hypercorn/ head/www/py-hypercorn/Makefile (contents, props changed) head/www/py-hypercorn/distinfo (contents, props changed) head/www/py-hypercorn/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sun Nov 15 17:56:04 2020 (r555253) +++ head/www/Makefile Sun Nov 15 17:56:10 2020 (r555254) @@ -1654,6 +1654,7 @@ SUBDIR += py-httpx SUBDIR += py-httpx013 SUBDIR += py-hyper + SUBDIR += py-hypercorn SUBDIR += py-hyperframe SUBDIR += py-hyperlink SUBDIR += py-imdbpy Added: head/www/py-hypercorn/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-hypercorn/Makefile Sun Nov 15 17:56:10 2020 (r555254) @@ -0,0 +1,41 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= hypercorn +PORTVERSION= 0.11.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= Hypercorn-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= ASGI Server based on Hyper libraries + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h11>=0:net/py-h11@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}h2>=3.1.0:www/py-h2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}priority>=0:www/py-priority@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wsproto>=0.14.0:net/py-wsproto@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-trio>=0:devel/py-pytest-trio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}trio>=0:net/py-trio@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> Added: head/www/py-hypercorn/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-hypercorn/distinfo Sun Nov 15 17:56:10 2020 (r555254) @@ -0,0 +1,3 @@ +TIMESTAMP = 1605426325 +SHA256 (Hypercorn-0.11.1.tar.gz) = 81c69dd84a87b8e8b3ebf06ef5dd92836a8238f0ac65ded3d86befb8ba9acfeb +SIZE (Hypercorn-0.11.1.tar.gz) = 103350 Added: head/www/py-hypercorn/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-hypercorn/pkg-descr Sun Nov 15 17:56:10 2020 (r555254) @@ -0,0 +1,9 @@ +Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and wsproto +libraries and inspired by Gunicorn. Hypercorn supports HTTP/1, HTTP/2, +WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. +Hypercorn can utilise asyncio, uvloop, or trio worker types. + +Hypercorn can optionally serve the current draft of the HTTP/3 specification +using the aioquic library. + +WWW: https://gitlab.com/pgjones/hypercorn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011151756.0AFHuAG2003812>