git: fc5fd6067dd0 - main - www/py-uvicorn: Update to 0.23.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 18:33:26 UTC
The branch main has been updated by sunpoet:

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

commit fc5fd6067dd024bfb6518169232f27a49973c42c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:13:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:44 +0000

    www/py-uvicorn: Update to 0.23.2
    
    Changes:        https://github.com/encode/uvicorn/releases
---
 www/py-uvicorn/Makefile | 10 ++++++++--
 www/py-uvicorn/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/www/py-uvicorn/Makefile b/www/py-uvicorn/Makefile
index 3e6dbdf6af4b..68223d7a66ca 100644
--- a/www/py-uvicorn/Makefile
+++ b/www/py-uvicorn/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	uvicorn
-PORTVERSION=	0.22.0
+PORTVERSION=	0.23.2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -33,4 +33,10 @@ STANDARD_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httptools>=0.5.0:www/py-httptools@$
 			${PYTHON_PKGNAMEPREFIX}watchfiles>=0.13:devel/py-watchfiles@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}websockets>=10.4:devel/py-websockets@${PY_FLAVOR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/py-uvicorn/distinfo b/www/py-uvicorn/distinfo
index d32322247087..fc8937d5a51a 100644
--- a/www/py-uvicorn/distinfo
+++ b/www/py-uvicorn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682903114
-SHA256 (uvicorn-0.22.0.tar.gz) = 79277ae03db57ce7d9aa0567830bbb51d7a612f54d6e1e3e92da3ef24c2c8ed8
-SIZE (uvicorn-0.22.0.tar.gz) = 37688
+TIMESTAMP = 1691070192
+SHA256 (uvicorn-0.23.2.tar.gz) = 4d3cc12d7727ba72b64d12d3cc7743124074c0a69f7b201512fc50c3e3f1569a
+SIZE (uvicorn-0.23.2.tar.gz) = 40034