aboutsummaryrefslogtreecommitdiff
path: root/python/python3-backlash/python3-backlash.SlackBuild
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2025-04-25 15:00:03 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-04-25 21:37:50 +0700
commitbca69299f2619cbccd773bb03ddcd2462bab1cf8 (patch)
tree12a0d01dad9b05df191969444ee967311e46eff3 /python/python3-backlash/python3-backlash.SlackBuild
parent8f0fb7d239952d2b3a99695e235ccd582fdaab23 (diff)
python/python3-backlash: updated for version 0.4.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-backlash/python3-backlash.SlackBuild')
-rw-r--r--python/python3-backlash/python3-backlash.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/python3-backlash/python3-backlash.SlackBuild b/python/python3-backlash/python3-backlash.SlackBuild
index 6b1e4405a6..2107349804 100644
--- a/python/python3-backlash/python3-backlash.SlackBuild
+++ b/python/python3-backlash/python3-backlash.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-backlash
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-0.3.2}
+VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,6 +64,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 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION