From ebfdfcb8a91371d9902fc477facbb0b1d1b45c94 Mon Sep 17 00:00:00 2001 From: Arn0 Date: Thu, 28 Apr 2022 09:42:15 +0200 Subject: system/redis-py: updated for version 4.2.2, python3, new maintainer Signed-off-by: Willy Sudiarto Raharjo --- system/redis-py/redis-py.SlackBuild | 7 ++++--- system/redis-py/redis-py.info | 10 +++++----- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'system') 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" -- cgit v1.2.3