libraries/ZODB3: Fix REQUIRES for python2.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-06 18:14:52 +01:00 committed by Willy Sudiarto Raharjo
parent 615470349f
commit 892f42fad8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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"