aboutsummaryrefslogtreecommitdiff
path: root/devel/py-async_generator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-async_generator/Makefile')
-rw-r--r--devel/py-async_generator/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/devel/py-async_generator/Makefile b/devel/py-async_generator/Makefile
index 9c764c31baf5..52806f30bc69 100644
--- a/devel/py-async_generator/Makefile
+++ b/devel/py-async_generator/Makefile
@@ -1,17 +1,26 @@
# $FreeBSD$
PORTNAME= async_generator
-PORTVERSION= 1.5
+PORTVERSION= 1.10
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= wg@FreeBSD.org
+MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tiny library to add async generators to Python 3.5
-LICENSE= MIT
+LICENSE= MIT APACHE20
+LICENSE_COMB= dual
+LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.MIT
+LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE2
-USES= python:3.5+ zip
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python:3.5+
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+do-test:
+ @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
.include <bsd.port.mk>