aboutsummaryrefslogtreecommitdiff
path: root/system/redis-py/redis-py.SlackBuild
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2025-02-06 21:25:05 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-02-07 07:38:04 +0700
commitd45a66aae2dd54291237aa2d722abaeb5ad6c86a (patch)
treefb4807e0569c89be4c42e70b043a832c7fba9c66 /system/redis-py/redis-py.SlackBuild
parentad4d85c14629b48f76b98bea695a37a247a5ecf2 (diff)
system/redis-py: updated for version 5.2.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \