aboutsummaryrefslogtreecommitdiff
path: root/python/python3-libtmux/python3-libtmux.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-11-28 01:17:36 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-30 15:53:20 +0700
commit572794119f9c85417da0c73ef773b4a6a8fb1511 (patch)
treecf4441e2c93b2c9619ae4926b832aa1b0428e3a3 /python/python3-libtmux/python3-libtmux.SlackBuild
parent55cc60d74b6c92c3cb695b5ab8d9cc4d4aeeae69 (diff)
python/python3-libtmux: Updated for version 0.39.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-libtmux/python3-libtmux.SlackBuild')
-rw-r--r--python/python3-libtmux/python3-libtmux.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/python3-libtmux/python3-libtmux.SlackBuild b/python/python3-libtmux/python3-libtmux.SlackBuild
index 44aa956600..d248ed788e 100644
--- a/python/python3-libtmux/python3-libtmux.SlackBuild
+++ b/python/python3-libtmux/python3-libtmux.SlackBuild
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-libtmux
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-0.37.0}
+VERSION=${VERSION:-0.39.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,6 +67,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