From 892f42fad8ac4b4d9ca41d8b8eb7ecd36e82a396 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Thu, 6 May 2021 18:14:52 +0100 Subject: [PATCH] libraries/ZODB3: Fix REQUIRES for python2. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- libraries/ZODB3/ZODB3.SlackBuild | 4 ++-- libraries/ZODB3/ZODB3.info | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/ZODB3/ZODB3.SlackBuild b/libraries/ZODB3/ZODB3.SlackBuild index db519eb171..5e9fcd727e 100644 --- a/libraries/ZODB3/ZODB3.SlackBuild +++ b/libraries/ZODB3/ZODB3.SlackBuild @@ -29,7 +29,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -55,7 +55,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python setup.py install --root=$PKG +python2 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 diff --git a/libraries/ZODB3/ZODB3.info b/libraries/ZODB3/ZODB3.info index 9be55afaee..f38b0a52d0 100644 --- a/libraries/ZODB3/ZODB3.info +++ b/libraries/ZODB3/ZODB3.info @@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/Z/ZODB3/ZODB3-3.11.0.tar.gz" MD5SUM="21975c1609296e7834e8cf4025af3039" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-transaction zdaemon zope.event zope.proxy" +REQUIRES="python2-transaction zdaemon zope.event zope.proxy" MAINTAINER="Mikko Värri" EMAIL="vmj@linuxbox.fi"