From owner-dev-commits-ports-main@freebsd.org Tue Sep 21 03:53:34 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 BB56F6B3248; Tue, 21 Sep 2021 03:53:34 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HD6wV2w7kz4g83; Tue, 21 Sep 2021 03:53:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 87C421D217; Tue, 21 Sep 2021 03:53:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18L3rOXQ035603; Tue, 21 Sep 2021 03:53:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18L3rOTb035602; Tue, 21 Sep 2021 03:53:24 GMT (envelope-from git) Date: Tue, 21 Sep 2021 03:53:24 GMT Message-Id: <202109210353.18L3rOTb035602@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5c51dc110477 - main - www/py-uvicorn: Update to 0.15.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5c51dc110477be0b98e4da346b4b9e9d275a1968 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2021 03:53:35 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c51dc110477be0b98e4da346b4b9e9d275a1968 commit 5c51dc110477be0b98e4da346b4b9e9d275a1968 Author: Po-Chuan Hsieh AuthorDate: 2021-09-21 03:17:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-09-21 03:45:06 +0000 www/py-uvicorn: Update to 0.15.0 - Allow build with py-httptools 0.3.0 Changes: https://github.com/encode/uvicorn/releases --- www/py-uvicorn/Makefile | 7 ++++--- www/py-uvicorn/distinfo | 6 +++--- www/py-uvicorn/files/patch-setup.py | 11 +++++++++++ www/py-uvicorn/pkg-descr | 1 + 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/www/py-uvicorn/Makefile b/www/py-uvicorn/Makefile index b1711c338f10..9eb6b3c7f4c7 100644 --- a/www/py-uvicorn/Makefile +++ b/www/py-uvicorn/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh PORTNAME= uvicorn -PORTVERSION= 0.14.0 +PORTVERSION= 0.15.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,9 +12,10 @@ COMMENT= Lightning-fast ASGI server LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7<8:devel/py-click@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.4.0:www/py-asgiref@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}h11>=0.8:net/py-h11@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}httptools>=0.2.0<0.3:www/py-httptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httptools>=0.2.0<0.4:www/py-httptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.13:www/py-python-dotenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uvloop>=0.14.0:devel/py-uvloop@${PY_FLAVOR} \ diff --git a/www/py-uvicorn/distinfo b/www/py-uvicorn/distinfo index 7dc583a4a091..e8cf223275e2 100644 --- a/www/py-uvicorn/distinfo +++ b/www/py-uvicorn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1622214130 -SHA256 (uvicorn-0.14.0.tar.gz) = 45ad7dfaaa7d55cab4cd1e85e03f27e9d60bc067ddc59db52a2b0aeca8870292 -SIZE (uvicorn-0.14.0.tar.gz) = 35445 +TIMESTAMP = 1632037284 +SHA256 (uvicorn-0.15.0.tar.gz) = d9a3c0dd1ca86728d3e235182683b4cf94cd53a867c288eaeca80ee781b2caff +SIZE (uvicorn-0.15.0.tar.gz) = 39025 diff --git a/www/py-uvicorn/files/patch-setup.py b/www/py-uvicorn/files/patch-setup.py new file mode 100644 index 000000000000..2458320b65bb --- /dev/null +++ b/www/py-uvicorn/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2021-08-13 17:03:50 UTC ++++ setup.py +@@ -53,7 +53,7 @@ minimal_requirements = [ + + extra_requirements = [ + "websockets>=9.1", +- "httptools==0.2.*", ++ "httptools>=0.2.0,<0.4", + "uvloop>=0.14.0,!=0.15.0,!=0.15.1; " + env_marker_cpython, + "colorama>=0.4;" + env_marker_win, + "watchgod>=0.6", diff --git a/www/py-uvicorn/pkg-descr b/www/py-uvicorn/pkg-descr index 63d984fec7a5..b72d6dafa195 100644 --- a/www/py-uvicorn/pkg-descr +++ b/www/py-uvicorn/pkg-descr @@ -9,4 +9,5 @@ asyncio frameworks. Uvicorn currently supports HTTP/1.1 and WebSockets. Support for HTTP/2 is planned. +WWW: https://www.uvicorn.org/ WWW: https://github.com/encode/uvicorn