mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-04 00:56:07 +01:00
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:
parent
615470349f
commit
892f42fad8
2 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -55,7 +55,7 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-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 \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/Z/ZODB3/ZODB3-3.11.0.tar.gz"
|
||||||
MD5SUM="21975c1609296e7834e8cf4025af3039"
|
MD5SUM="21975c1609296e7834e8cf4025af3039"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_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"
|
MAINTAINER="Mikko Värri"
|
||||||
EMAIL="vmj@linuxbox.fi"
|
EMAIL="vmj@linuxbox.fi"
|
||||||
|
|
Loading…
Reference in a new issue