aboutsummaryrefslogtreecommitdiff
path: root/network/sshuttle/sshuttle.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/sshuttle/sshuttle.SlackBuild')
-rw-r--r--network/sshuttle/sshuttle.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/sshuttle/sshuttle.SlackBuild b/network/sshuttle/sshuttle.SlackBuild
index d251138855..0f39055e95 100644
--- a/network/sshuttle/sshuttle.SlackBuild
+++ b/network/sshuttle/sshuttle.SlackBuild
@@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sshuttle
-VERSION=${VERSION:-1.2.0}
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,6 +85,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 {} \;
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl