git: 6532d08defc8 - main - devel/py-async_timeout: Update version 3.0.1=>4.0.2

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 07 Jun 2022 21:37:28 UTC
The branch main has been updated by bofh:

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

commit 6532d08defc8632784dd5c7fb45210f136f90d83
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-06-07 21:35:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-07 21:37:20 +0000

    devel/py-async_timeout: Update version 3.0.1=>4.0.2
    
    - Add test framework
    
    Relnotes: https://github.com/aio-libs/async-timeout/releases/tag/v4.0.2
---
 devel/py-async_timeout/Makefile | 9 +++++++--
 devel/py-async_timeout/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/devel/py-async_timeout/Makefile b/devel/py-async_timeout/Makefile
index ef408be76a86..1bb60a3c3190 100644
--- a/devel/py-async_timeout/Makefile
+++ b/devel/py-async_timeout/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	async_timeout
-PORTVERSION=	3.0.1
+PORTVERSION=	4.0.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,9 +11,14 @@ COMMENT=	Timeout context manager for asyncio programs
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python:3.5+
+TEST_DEPENDS=     ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.7+
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
 .include <bsd.port.mk>
diff --git a/devel/py-async_timeout/distinfo b/devel/py-async_timeout/distinfo
index 916010177beb..0634db41bcff 100644
--- a/devel/py-async_timeout/distinfo
+++ b/devel/py-async_timeout/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1560196123
-SHA256 (async-timeout-3.0.1.tar.gz) = 0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f
-SIZE (async-timeout-3.0.1.tar.gz) = 9724
+TIMESTAMP = 1654635759
+SHA256 (async-timeout-4.0.2.tar.gz) = 2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15
+SIZE (async-timeout-4.0.2.tar.gz) = 8221