libraries/greenlet: Updated for version 0.4.5

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Adis Nezirović 2015-01-22 06:41:00 +07:00 committed by Willy Sudiarto Raharjo
parent f68dead150
commit 83652b4a69
2 changed files with 10 additions and 13 deletions

View file

@ -2,10 +2,10 @@
# Slackware build script for Greenlet # Slackware build script for Greenlet
# #
# $Revision: b7d6e885f8ce $ # $Revision: 305928f153da $
# $Date: 2014/01/03 20:11:43 $ # $Date: 2015/01/21 22:52:29 $
# #
# Copyright 2014 Adis Nezirović <adis_at_linux.org.ba> # Copyright (C) 2014-2015 Adis Nezirović <adis_at_linux.org.ba>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=greenlet PRGNAM=greenlet
VERSION=${VERSION:-0.4.1} VERSION=${VERSION:-0.4.5}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -57,7 +57,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -70,18 +70,15 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG python setup.py install --root=$PKG
# Strip binaries and libraries.
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a AUTHORS NEWS README.rst doc/greenlet.txt $PKG/usr/doc/$PRGNAM-$VERSION
AUTHORS NEWS README.rst doc/greenlet.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="greenlet" PRGNAM="greenlet"
VERSION="0.4.1" VERSION="0.4.5"
HOMEPAGE="https://github.com/python-greenlet/greenlet" HOMEPAGE="https://github.com/python-greenlet/greenlet"
DOWNLOAD="https://pypi.python.org/packages/source/g/greenlet/greenlet-0.4.1.zip" DOWNLOAD="https://pypi.python.org/packages/source/g/greenlet/greenlet-0.4.5.zip"
MD5SUM="c2deda75bdda59c38cae12a77cc53adc" MD5SUM="ce383f6475e6311cf8932ea779938703"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""