summaryrefslogtreecommitdiff
path: root/devel/py-async_timeout/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-async_timeout/Makefile')
-rw-r--r--devel/py-async_timeout/Makefile9
1 files changed, 7 insertions, 2 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>