git: cd029254ec81 - main - www/py-aiohttp-wsgi: Update version 0.8.2=>0.10.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 09 Jun 2022 18:57:52 UTC
The branch main has been updated by bofh:

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

commit cd029254ec81ea60702a2f2b6924505c9326283d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-06-09 18:55:13 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-09 18:57:44 +0000

    www/py-aiohttp-wsgi: Update version 0.8.2=>0.10.0
    
    - Set NO_ARCH
    - Add TEST framework
    
    Relnotes: https://github.com/etianen/aiohttp-wsgi/releases/tag/v0.10.0
---
 www/py-aiohttp-wsgi/Makefile | 10 ++++++++--
 www/py-aiohttp-wsgi/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/www/py-aiohttp-wsgi/Makefile b/www/py-aiohttp-wsgi/Makefile
index eccb782fd925..bd492a496d1c 100644
--- a/www/py-aiohttp-wsgi/Makefile
+++ b/www/py-aiohttp-wsgi/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	aiohttp-wsgi
-PORTVERSION=	0.8.2
+PORTVERSION=	0.10.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -9,9 +9,15 @@ COMMENT=	WSGI adapter for aiohttp
 
 LICENSE=	BSD3CLAUSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.4:www/py-aiohttp@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python:3.4+
 USE_PYTHON=	autoplist distutils
 
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs tests
+
 .include <bsd.port.mk>
diff --git a/www/py-aiohttp-wsgi/distinfo b/www/py-aiohttp-wsgi/distinfo
index 1dbaff7bf2ff..c77558042e2a 100644
--- a/www/py-aiohttp-wsgi/distinfo
+++ b/www/py-aiohttp-wsgi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1553147642
-SHA256 (aiohttp-wsgi-0.8.2.tar.gz) = 5d45a14a3f0fd54609ca7648cbf0362ff9077ef341a6ee9ff3f4ff9591d2289c
-SIZE (aiohttp-wsgi-0.8.2.tar.gz) = 8403
+TIMESTAMP = 1654799718
+SHA256 (aiohttp-wsgi-0.10.0.tar.gz) = bc4dfabb56eadbe53662b2f13c2309350bd17e282ca4250301012adb65b84f49
+SIZE (aiohttp-wsgi-0.10.0.tar.gz) = 10486