aboutsummaryrefslogtreecommitdiff
path: root/system/redis-py
diff options
context:
space:
mode:
Diffstat (limited to 'system/redis-py')
-rw-r--r--system/redis-py/redis-py.SlackBuild6
-rw-r--r--system/redis-py/redis-py.info8
2 files changed, 8 insertions, 6 deletions
diff --git a/system/redis-py/redis-py.SlackBuild b/system/redis-py/redis-py.SlackBuild
index 2da78e64ab..e6f050c3ce 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.2.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
diff --git a/system/redis-py/redis-py.info b/system/redis-py/redis-py.info
index a912a4ffc5..8e851f689f 100644
--- a/system/redis-py/redis-py.info
+++ b/system/redis-py/redis-py.info
@@ -1,10 +1,10 @@
PRGNAM="redis-py"
-VERSION="5.2.1"
+VERSION="6.2.0"
HOMEPAGE="https://github.com/andymccurdy/redis-py"
-DOWNLOAD="https://github.com/andymccurdy/redis-py/archive/v5.2.1/redis-py-5.2.1.tar.gz"
-MD5SUM="6c1591f9ff46f9176bcf7618e18ab37a"
+DOWNLOAD="https://github.com/andymccurdy/redis-py/archive/v6.2.0/redis-py-6.2.0.tar.gz"
+MD5SUM="3baaef757a0a710a123e277d9b77f83d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="redis"
+REQUIRES="redis python3-hatchling"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"