summaryrefslogtreecommitdiffstats
path: root/system/locust
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2023-08-05 04:48:08 +0200
committer Willy Sudiarto Raharjo2023-08-05 04:48:08 +0200
commitceca847e3cbac80ef8d1e0bac01b84cc118f230a (patch)
treea88aa8167801485bd226a2ae5b405a8694bdc329 /system/locust
parent3a8b19421834f1f4e0e4a7a6de6b51602dc248f8 (diff)
downloadslackbuilds-ceca847e3cbac80ef8d1e0bac01b84cc118f230a.tar.gz
system/locust: Updated for version 2.16.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/locust')
-rw-r--r--system/locust/locust.SlackBuild6
-rw-r--r--system/locust/locust.info8
2 files changed, 8 insertions, 6 deletions
diff --git a/system/locust/locust.SlackBuild b/system/locust/locust.SlackBuild
index 31e696a90c..e5ee8fb1bb 100644
--- a/system/locust/locust.SlackBuild
+++ b/system/locust/locust.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=locust
-VERSION=${VERSION:-2.15.1}
+VERSION=${VERSION:-2.16.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,7 +76,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 setup.py install --root=$PKG
+python3 -m build --wheel --no-isolation
+
+python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/system/locust/locust.info b/system/locust/locust.info
index 40ea975766..91a127bfcd 100644
--- a/system/locust/locust.info
+++ b/system/locust/locust.info
@@ -1,10 +1,10 @@
PRGNAM="locust"
-VERSION="2.15.1"
+VERSION="2.16.0"
HOMEPAGE="https://github.com/locustio/locust"
-DOWNLOAD="https://files.pythonhosted.org/packages/b8/14/b3baf7d9d283121c44475b4f45afb6c8dbcdad27b92c75db1c850f199e21/locust-2.15.1.tar.gz"
-MD5SUM="25265ba250b17fbf2524af0ae4e9a017"
+DOWNLOAD="https://files.pythonhosted.org/packages/ab/90/1f954148e4cd10adeb10fa0f6263088bbfac341a81e4821fbdab2e476a1f/locust-2.16.0.tar.gz"
+MD5SUM="7dafb9c16d1a75ce7cd13148c270ef2e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-geventhttpclient python3-Flask-Basicauth python3-pyzmq msgpack-python zope.interface zope.event python3-psutil python3-configargparse typing-extensions roundrobin python3-Flask-Cors"
+REQUIRES="python3-geventhttpclient python3-Flask-Basicauth python3-pyzmq msgpack-python zope.interface zope.event python3-psutil python3-configargparse typing-extensions roundrobin python3-Flask-Cors python3-wheel typing-extensions"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"