summaryrefslogtreecommitdiff
path: root/libraries/ZODB3
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:14:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:53 +0700
commit892f42fad8ac4b4d9ca41d8b8eb7ecd36e82a396 (patch)
treece7b07073b8d7948eff72639f6022c6114ef0d11 /libraries/ZODB3
parent615470349f80ff7ccb27fd246c3aaa9d0020cfb6 (diff)
downloadslackbuilds-892f42fad8ac4b4d9ca41d8b8eb7ecd36e82a396.tar.gz
libraries/ZODB3: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ZODB3')
-rw-r--r--libraries/ZODB3/ZODB3.SlackBuild4
-rw-r--r--libraries/ZODB3/ZODB3.info2
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"