libraries/enum34: Updated for version 0.9.21.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2014-02-07 13:52:51 +07:00 committed by Erik Hanson
parent 255a48f92f
commit d553a71725
2 changed files with 9 additions and 5 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=enum34
VERSION=${VERSION:-0.9.20}
VERSION=${VERSION:-0.9.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -71,11 +71,15 @@ find -L . \
python setup.py install --root=$PKG
if $(python3 -c 'import sys' 2>/dev/null); then
python3 setup.py install --root=$PKG
fi
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a PKG-INFO enum/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a PKG-INFO enum/LICENSE enum/README enum/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="enum34"
VERSION="0.9.20"
VERSION="0.9.21"
HOMEPAGE="https://pypi.python.org/pypi/enum34"
DOWNLOAD="https://pypi.python.org/packages/source/e/enum34/enum34-0.9.20.tar.gz"
MD5SUM="b2ba91deeb2ca74eb47a90966914ead7"
DOWNLOAD="https://pypi.python.org/packages/source/e/enum34/enum34-0.9.21.tar.gz"
MD5SUM="fc69a925910ed15efa405d0ae11baa29"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""