aboutsummaryrefslogtreecommitdiff
path: root/python/python3-backlash/python3-backlash.SlackBuild
diff options
context:
space:
mode:
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