aboutsummaryrefslogtreecommitdiff
path: root/system/redis-py/redis-py.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/redis-py/redis-py.SlackBuild')
-rw-r--r--system/redis-py/redis-py.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/redis-py/redis-py.SlackBuild b/system/redis-py/redis-py.SlackBuild
index 0a5a7d8036..2da78e64ab 100644
--- a/system/redis-py/redis-py.SlackBuild
+++ b/system/redis-py/redis-py.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=redis-py
-VERSION=${VERSION:-5.0.7}
+VERSION=${VERSION:-5.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,6 +83,8 @@ 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
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \