aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/py-locust
diff options
context:
space:
mode:
authorVinícius Zavam <egypcio@FreeBSD.org>2019-04-24 08:01:33 +0000
committerVinícius Zavam <egypcio@FreeBSD.org>2019-04-24 08:01:33 +0000
commitd98e76340c93ddb4b48bdf7f0b3e15c7ae28c584 (patch)
treeceef38517393c92d12749c13de75540d3d356bcc /benchmarks/py-locust
parentf8d443cd5f765b40e0ca93ce192170063bffe2a9 (diff)
downloadports-d98e76340c93ddb4b48bdf7f0b3e15c7ae28c584.tar.gz
ports-d98e76340c93ddb4b48bdf7f0b3e15c7ae28c584.zip
benchmarks/py-locust: update 0.9.0 to 0.11.0
Approved by: mentors (implicit) Differential Revision: https://reviews.freebsd.org/D19643
Notes
Notes: svn path=/head/; revision=499821
Diffstat (limited to 'benchmarks/py-locust')
-rw-r--r--benchmarks/py-locust/Makefile8
-rw-r--r--benchmarks/py-locust/distinfo6
2 files changed, 9 insertions, 5 deletions
diff --git a/benchmarks/py-locust/Makefile b/benchmarks/py-locust/Makefile
index 780e7dd8d8bd..dc847802d2ad 100644
--- a/benchmarks/py-locust/Makefile
+++ b/benchmarks/py-locust/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= locust
-PORTVERSION= 0.9.0
+PORTVERSION= 0.11.0
CATEGORIES= benchmarks www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +11,7 @@ MAINTAINER= egypcio@FreeBSD.org
COMMENT= Python utility for doing easy, distributed load testing
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10.1:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gevent>=1.2.2:devel/py-gevent@${PY_FLAVOR} \
@@ -21,12 +22,15 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10.1:www/py-flask@${PY_FLAVOR} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= EXAMPLES
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/extra-EXAMPLES* ${STAGEDIR}${EXAMPLESDIR}
diff --git a/benchmarks/py-locust/distinfo b/benchmarks/py-locust/distinfo
index a5556db826b9..2d5d7be1a1e3 100644
--- a/benchmarks/py-locust/distinfo
+++ b/benchmarks/py-locust/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1547833536
-SHA256 (locustio-0.9.0.tar.gz) = c77b471e0e08e215c93a7af9a95b79193268072873fbbc0effca40f3d9b58be4
-SIZE (locustio-0.9.0.tar.gz) = 226870
+TIMESTAMP = 1555083697
+SHA256 (locustio-0.11.0.tar.gz) = 93404f831114791b0756325c53b08bff73f048eeb69688be657629feaa62b507
+SIZE (locustio-0.11.0.tar.gz) = 229879