git: b86bdb228d46 - main - www/py-aiohttp: Update to 3.8.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Oct 2022 17:14:26 UTC
The branch main has been updated by sunpoet:

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

commit b86bdb228d46512d36e5842f22df1fdcaa2ab4b1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 17:06:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 17:10:42 +0000

    www/py-aiohttp: Update to 3.8.3
    
    - Convert to USE_PYTHON=pytest
    
    Changes:        https://github.com/aio-libs/aiohttp/releases
---
 www/py-aiohttp/Makefile                                   | 15 +++++++--------
 www/py-aiohttp/distinfo                                   |  6 +++---
 www/py-aiohttp/files/patch-tests-test_proxy_functional.py | 11 +++++++++++
 3 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile
index 24808d79df86..274c8c3f5847 100644
--- a/www/py-aiohttp/Makefile
+++ b/www/py-aiohttp/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	aiohttp
-PORTVERSION=	3.8.1
-PORTREVISION=	1
+PORTVERSION=	3.8.3
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,11 +18,14 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiosignal>=1.1.2:devel/py-aiosignal@${PY_FLA
 		${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}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiodns>=1.1:dns/py-aiodns@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}gunicorn>=0:www/py-gunicorn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}re-assert>=0:devel/py-re-assert@${PY_FLAVOR}
 
 USES=		cpe python:3.6+
-USE_PYTHON=	autoplist concurrent cython distutils
+USE_PYTHON=	autoplist concurrent cython distutils pytest
 
 CPE_VENDOR=	aiohttp_project
 
@@ -42,7 +44,4 @@ pre-configure:
 post-install:
 	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} setup.py test
-
 .include <bsd.port.post.mk>
diff --git a/www/py-aiohttp/distinfo b/www/py-aiohttp/distinfo
index a3cee102bd28..3083a6e3740a 100644
--- a/www/py-aiohttp/distinfo
+++ b/www/py-aiohttp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1648134067
-SHA256 (aiohttp-3.8.1.tar.gz) = fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578
-SIZE (aiohttp-3.8.1.tar.gz) = 7324180
+TIMESTAMP = 1664768002
+SHA256 (aiohttp-3.8.3.tar.gz) = 3828fb41b7203176b82fe5d699e0d845435f2374750a44b480ea6b930f6be269
+SIZE (aiohttp-3.8.3.tar.gz) = 7337480
diff --git a/www/py-aiohttp/files/patch-tests-test_proxy_functional.py b/www/py-aiohttp/files/patch-tests-test_proxy_functional.py
new file mode 100644
index 000000000000..b303741596b6
--- /dev/null
+++ b/www/py-aiohttp/files/patch-tests-test_proxy_functional.py
@@ -0,0 +1,11 @@
+--- tests/test_proxy_functional.py.orig	2022-09-21 13:09:27 UTC
++++ tests/test_proxy_functional.py
+@@ -7,7 +7,7 @@ from re import match as match_regex
+ from unittest import mock
+ from uuid import uuid4
+ 
+-import proxy
++#import proxy
+ import pytest
+ from yarl import URL
+