summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/py-async_timeout/Makefile9
-rw-r--r--devel/py-async_timeout/distinfo6
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