diff options
author | Arn0 <yth@ythogtha.org> | 2025-05-14 12:13:13 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-05-15 14:03:43 +0700 |
commit | e4896b0354ff9ab81eb44a7a7e6dcb674ae4409b (patch) | |
tree | dd4f46a310cf6b38afc3201a5bd7fa59ca6071cc /system/redis-py/redis-py.SlackBuild | |
parent | e5bf6fe3966f8ac5c5c9ada929a4ee713e8e12af (diff) |
system/redis-py: updated for version 6.1.0
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.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/system/redis-py/redis-py.SlackBuild b/system/redis-py/redis-py.SlackBuild index 2da78e64ab..3d1edb0c0c 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.2.1} +VERSION=${VERSION:-6.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,7 +85,9 @@ find -L . \ 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 + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |