aboutsummaryrefslogtreecommitdiff
path: root/python/python3-treq/python3-treq.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-treq/python3-treq.SlackBuild')
-rw-r--r--python/python3-treq/python3-treq.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/python3-treq/python3-treq.SlackBuild b/python/python3-treq/python3-treq.SlackBuild
index 09883a8486..782b96577f 100644
--- a/python/python3-treq/python3-treq.SlackBuild
+++ b/python/python3-treq/python3-treq.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-treq
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-24.9.1}
+VERSION=${VERSION:-25.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,7 +62,8 @@ find -L . \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
-python3 setup.py install --root=$PKG
+python3 -m build --no-isolation
+python3 -m installer -d "$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