aboutsummaryrefslogtreecommitdiff
path: root/system/redis-py
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2022-04-28 09:42:15 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-30 13:52:09 +0700
commitebfdfcb8a91371d9902fc477facbb0b1d1b45c94 (patch)
tree046d5cb23873eb1b3be4e8dad5cf8de32f82fb51 /system/redis-py
parent37dca5d68572008ddc0c8139913546c2f6d0f8aa (diff)
system/redis-py: updated for version 4.2.2, python3, new maintainer
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/redis-py')
-rw-r--r--system/redis-py/redis-py.SlackBuild7
-rw-r--r--system/redis-py/redis-py.info10
2 files changed, 9 insertions, 8 deletions
diff --git a/system/redis-py/redis-py.SlackBuild b/system/redis-py/redis-py.SlackBuild
index 6a62c80a46fc1..99dbf4d6e5c9e 100644
--- a/system/redis-py/redis-py.SlackBuild
+++ b/system/redis-py/redis-py.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for redis-py
+# Copyright 2022 Yth | Pont-en-Royans, France | yth@ythogtha.org
# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=redis-py
-VERSION=${VERSION:-2.10.5}
+VERSION=${VERSION:-4.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,13 +80,13 @@ 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 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/redis-py/redis-py.info b/system/redis-py/redis-py.info
index 932647ceaaad1..0f86f23ba6203 100644
--- a/system/redis-py/redis-py.info
+++ b/system/redis-py/redis-py.info
@@ -1,10 +1,10 @@
PRGNAM="redis-py"
-VERSION="2.10.5"
+VERSION="4.2.2"
HOMEPAGE="https://github.com/andymccurdy/redis-py"
-DOWNLOAD="https://github.com/andymccurdy/redis-py/archive/2.10.5.tar.gz"
-MD5SUM="0bd17cf92f1078f5bc0a4863d90fedeb"
+DOWNLOAD="https://github.com/andymccurdy/redis-py/archive/v4.2.2/redis-py-4.2.2.tar.gz"
+MD5SUM="54d4c53918246cb78afe18b991ee70e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="redis"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"