git: 41fd2bdb9b51 - main - www/py-aiohttp: Update to 3.9.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 10:36:57 UTC
The branch main has been updated by sunpoet:

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

commit 41fd2bdb9b5123843fa495ef4539c2d543235798
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 10:03:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 10:28:25 +0000

    www/py-aiohttp: Update to 3.9.0
    
    Changes:        https://github.com/aio-libs/aiohttp/releases
                    https://docs.aiohttp.org/en/stable/changes.html
---
 www/py-aiohttp/Makefile | 12 ++++++++----
 www/py-aiohttp/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile
index 208e4a1eda0d..e83bddfdafef 100644
--- a/www/py-aiohttp/Makefile
+++ b/www/py-aiohttp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	aiohttp
-PORTVERSION=	3.8.6
+PORTVERSION=	3.9.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,9 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=46.4.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiosignal>=1.1.2:devel/py-aiosignal@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.0<5.0:devel/py-async_timeout@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}attrs>=17.3.0:devel/py-attrs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2.0<4.0:textproc/py-charset-normalizer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}frozenlist>=1.1.1:devel/py-frozenlist@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}multidict>=4.5<7.0:www/py-multidict@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yarl>=1.0<2.0:www/py-yarl@${PY_FLAVOR}
@@ -32,6 +30,12 @@ USE_PYTHON=	autoplist concurrent cython pep517 pytest
 
 CPE_VENDOR=	aiohttp_project
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0<5.0:devel/py-async_timeout@${PY_FLAVOR}
+.endif
+
 pre-configure:
 .for file in _helpers _http_parser _http_writer _websocket
 	@cd ${WRKSRC} && ${RM} aiohttp/${file}.c && cython-${PYTHON_VER} -3 -I aiohttp -o aiohttp/${file}.c aiohttp/${file}.pyx
@@ -40,4 +44,4 @@ pre-configure:
 post-install:
 	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/py-aiohttp/distinfo b/www/py-aiohttp/distinfo
index 625c5d25fb80..abcb37c53e00 100644
--- a/www/py-aiohttp/distinfo
+++ b/www/py-aiohttp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696753690
-SHA256 (aiohttp-3.8.6.tar.gz) = b0cf2a4501bff9330a8a5248b4ce951851e415bdcce9dc158e76cfd55e15085c
-SIZE (aiohttp-3.8.6.tar.gz) = 7352172
+TIMESTAMP = 1700759874
+SHA256 (aiohttp-3.9.0.tar.gz) = 09f23292d29135025e19e8ff4f0a68df078fe4ee013bca0105b2e803989de92d
+SIZE (aiohttp-3.9.0.tar.gz) = 7475063