aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2016-12-28 02:22:57 +0000
committerWen Heping <wen@FreeBSD.org>2016-12-28 02:22:57 +0000
commitcbea99a1c10b3fbc0abb8405fa7beaed20ed3ef0 (patch)
tree48fc5449462396d5b76cdf28d123c77ff5f934f6 /devel
parentfa1f68a28c2115fcda812db76fe398587ade2891 (diff)
downloadports-cbea99a1c10b3fbc0abb8405fa7beaed20ed3ef0.tar.gz
ports-cbea99a1c10b3fbc0abb8405fa7beaed20ed3ef0.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/py-click-threading/Makefile9
-rw-r--r--devel/py-click-threading/distinfo6
2 files changed, 11 insertions, 4 deletions
diff --git a/devel/py-click-threading/Makefile b/devel/py-click-threading/Makefile
index 7289910d99ac..56840dd3ace2 100644
--- a/devel/py-click-threading/Makefile
+++ b/devel/py-click-threading/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= click-threading
-PORTVERSION= 0.4.0
+PORTVERSION= 0.4.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,10 @@ COMMENT= Multithreaded Click apps made easy
LICENSE= MIT
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
+ ${RUN_DEPENDS}
+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
@@ -22,4 +26,7 @@ NO_ARCH= yes
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}futures>=0:devel/py-futures
.endif
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
+
.include <bsd.port.post.mk>
diff --git a/devel/py-click-threading/distinfo b/devel/py-click-threading/distinfo
index fd8b961fe59b..dd2d608a1a37 100644
--- a/devel/py-click-threading/distinfo
+++ b/devel/py-click-threading/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1473376023
-SHA256 (click-threading-0.4.0.tar.gz) = 1823fac05f6b7705ab15956512a06d1b634beb4bbf99e115cab4fc4f6d1436d3
-SIZE (click-threading-0.4.0.tar.gz) = 3476
+TIMESTAMP = 1482889980
+SHA256 (click-threading-0.4.2.tar.gz) = 400b0bb63d9096b6bf2806efaf742a1cc8b6c88e0484f0afe7d7a7f0e9870609
+SIZE (click-threading-0.4.2.tar.gz) = 10384