From owner-svn-ports-all@freebsd.org Sun Nov 15 17:56:16 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D2C3F2EF976; Sun, 15 Nov 2020 17:56:16 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ0Hw3mz0z4g94; Sun, 15 Nov 2020 17:56:12 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6F2BE2008D; Sun, 15 Nov 2020 17:56:11 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AFHuBL1003816; Sun, 15 Nov 2020 17:56:11 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AFHuAG2003812; Sun, 15 Nov 2020 17:56:10 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202011151756.0AFHuAG2003812@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 15 Nov 2020 17:56:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555254 - in head/www: . py-hypercorn X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . py-hypercorn X-SVN-Commit-Revision: 555254 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2020 17:56:18 -0000 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 +# $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 + +.if ${PYTHON_REL} < 3800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include 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