Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 03:53:24 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5c51dc110477 - main - www/py-uvicorn: Update to 0.15.0
Message-ID:  <202109210353.18L3rOTb035602@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c51dc110477be0b98e4da346b4b9e9d275a1968

commit 5c51dc110477be0b98e4da346b4b9e9d275a1968
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-21 03:17:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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 <sunpoet@FreeBSD.org>
 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109210353.18L3rOTb035602>