aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-07-21 17:11:25 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-07-21 17:11:25 +0000
commitc10f3fad1bf143903187024b58a6229c85dfe286 (patch)
tree094d18af42438a9aae9c759a115d5a7b36a2d0e6 /devel
parent2bfc9d2f01d0cd89c3dd9181636c175bf403dcef (diff)
downloadports-c10f3fad1bf143903187024b58a6229c85dfe286.tar.gz
ports-c10f3fad1bf143903187024b58a6229c85dfe286.zip
- Update to 1.10
- Fix license - Add test support - Add NO_ARCH - Fix unicode garbage in pkg-descr - Grab maintainership PR: 247996 Submitted by: amdmi3 Approved by: wh (maintainer)
Notes
Notes: svn path=/head/; revision=542759
Diffstat (limited to 'devel')
-rw-r--r--devel/py-async_generator/Makefile17
-rw-r--r--devel/py-async_generator/distinfo6
-rw-r--r--devel/py-async_generator/pkg-descr2
3 files changed, 17 insertions, 8 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>
diff --git a/devel/py-async_generator/distinfo b/devel/py-async_generator/distinfo
index c44b2b5327bd..b86669d80f01 100644
--- a/devel/py-async_generator/distinfo
+++ b/devel/py-async_generator/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1524581661
-SHA256 (async_generator-1.5.zip) = 392b776f4a158cc3b7ba5127d88d73eee10fa420e36d7099431c6b04fc0032cf
-SIZE (async_generator-1.5.zip) = 25021
+TIMESTAMP = 1594817248
+SHA256 (async_generator-1.10.tar.gz) = 6ebb3d106c12920aaae42ccb6f787ef5eefdcdd166ea3d628fa8476abe712144
+SIZE (async_generator-1.10.tar.gz) = 29870
diff --git a/devel/py-async_generator/pkg-descr b/devel/py-async_generator/pkg-descr
index 746b1184c3b7..f204edbc95b2 100644
--- a/devel/py-async_generator/pkg-descr
+++ b/devel/py-async_generator/pkg-descr
@@ -1,3 +1,3 @@
-This is a tiny library to add async generators†to Python 3.5.
+This is a tiny library to add async generators to Python 3.5.
WWW: https://pypi.org/project/async_generator/