git: 669f92144b21 - main - www/py-aiohttp: Update to 3.10.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 17:23:15 UTC
The branch main has been updated by sunpoet:

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

commit 669f92144b21c3c8ed2c3d61bff875a72a2da596
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 17:09:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:14:13 +0000

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

diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile
index 29cc76c33d98..8c065f81b1ee 100644
--- a/www/py-aiohttp/Makefile
+++ b/www/py-aiohttp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	aiohttp
-PORTVERSION=	3.9.5
+PORTVERSION=	3.10.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,8 @@ 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} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohappyeyeballs>=2.3.0:net/py-aiohappyeyeballs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}aiosignal>=1.1.2:devel/py-aiosignal@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}attrs>=17.3.0:devel/py-attrs@${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} \
@@ -33,7 +34,7 @@ CPE_VENDOR=	aiohttp_project
 OPTIONS_DEFINE=	SPEEDUPS
 SPEEDUPS_DESC=	Performance speedups
 
-SPEEDUPS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiodns>=0:dns/py-aiodns@${PY_FLAVOR} \
+SPEEDUPS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiodns>=3.0.0:dns/py-aiodns@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>
diff --git a/www/py-aiohttp/distinfo b/www/py-aiohttp/distinfo
index ae0cce858fe3..7618ba2a0f9d 100644
--- a/www/py-aiohttp/distinfo
+++ b/www/py-aiohttp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713528550
-SHA256 (aiohttp-3.9.5.tar.gz) = edea7d15772ceeb29db4aff55e482d4bcfb6ae160ce144f2682de02f6d693551
-SIZE (aiohttp-3.9.5.tar.gz) = 7504841
+TIMESTAMP = 1722711261
+SHA256 (aiohttp-3.10.0.tar.gz) = e8dd7da2609303e3574c95b0ec9f1fd49647ef29b94701a2862cceae76382e1d
+SIZE (aiohttp-3.10.0.tar.gz) = 7517100
diff --git a/www/py-aiohttp/files/patch-setup.cfg b/www/py-aiohttp/files/patch-setup.cfg
new file mode 100644
index 000000000000..4d963815fdaa
--- /dev/null
+++ b/www/py-aiohttp/files/patch-setup.cfg
@@ -0,0 +1,11 @@
+--- setup.cfg.orig	2024-07-30 19:48:43 UTC
++++ setup.cfg
+@@ -62,7 +62,7 @@ speedups = 
+ 
+ [options.extras_require]
+ speedups = 
+-	aiodns >= 3.2.0; sys_platform=="linux" or sys_platform=="darwin"
++	aiodns >= 3.0.0; sys_platform=="linux" or sys_platform=="darwin"
+ 	Brotli; platform_python_implementation == 'CPython'
+ 	brotlicffi; platform_python_implementation != 'CPython'
+