aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordbaio <dbaio@FreeBSD.org>2018-06-23 20:44:51 +0800
committerdbaio <dbaio@FreeBSD.org>2018-06-23 20:44:51 +0800
commit5ac406a70d3695e4bd45262fdfc5d26e161c76df (patch)
treeca2d0e244ecc08f55eddf7d0c66b532a1f27b7cd
parentcc66e65e0d0500eba29aaa55e3f7bf335f59b0ac (diff)
downloadfreebsd-ports-gnome-5ac406a70d3695e4bd45262fdfc5d26e161c76df.tar.gz
freebsd-ports-gnome-5ac406a70d3695e4bd45262fdfc5d26e161c76df.tar.zst
freebsd-ports-gnome-5ac406a70d3695e4bd45262fdfc5d26e161c76df.zip
textproc/py-parsimonious: Update to 0.8.1, Add test target
- Switch to a function-style print in the benchmark tests so we work cleanly as a dependency on Python 3. (Edward Betts)
-rw-r--r--textproc/py-parsimonious/Makefile8
-rw-r--r--textproc/py-parsimonious/distinfo6
2 files changed, 9 insertions, 5 deletions
diff --git a/textproc/py-parsimonious/Makefile b/textproc/py-parsimonious/Makefile
index 502599285063..6219e6ff2394 100644
--- a/textproc/py-parsimonious/Makefile
+++ b/textproc/py-parsimonious/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= parsimonious
-PORTVERSION= 0.8.0
+PORTVERSION= 0.8.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +13,13 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
.include <bsd.port.mk>
diff --git a/textproc/py-parsimonious/distinfo b/textproc/py-parsimonious/distinfo
index a41fbbddd505..d78733ceb42d 100644
--- a/textproc/py-parsimonious/distinfo
+++ b/textproc/py-parsimonious/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1502235833
-SHA256 (parsimonious-0.8.0.tar.gz) = ae0869d72a6e57703f24313a5f5748e73ebff836e6fe8b3ddf34ea0dc00d086b
-SIZE (parsimonious-0.8.0.tar.gz) = 38730
+TIMESTAMP = 1529756047
+SHA256 (parsimonious-0.8.1.tar.gz) = 3add338892d580e0cb3b1a39e4a1b427ff9f687858fdd61097053742391a9f6b
+SIZE (parsimonious-0.8.1.tar.gz) = 45057