python/python-branca: Updated for version 0.4.0.

This commit is contained in:
Benjamin Trigona-Harany 2020-03-03 20:12:14 -08:00 committed by Willy Sudiarto Raharjo
parent aa7dde4686
commit fd14ab8c2c
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 6 additions and 7 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for python-branca
# Copyright 2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Copyright 2019-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-branca
VERSION=${VERSION:-0.3.1}
VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -71,7 +71,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python2 setup.py install --root=$PKG
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@ -79,7 +78,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGES.txt LICENSE.txt README.rst \
CHANGES.txt LICENSE.txt README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="python-branca"
VERSION="0.3.1"
VERSION="0.4.0"
HOMEPAGE="https://github.com/python-visualization/branca"
DOWNLOAD="https://github.com/python-visualization/branca/archive/v0.3.1/branca-0.3.1.tar.gz"
MD5SUM="91dd5b060da25ba702947aa5f9eebb0a"
DOWNLOAD="https://github.com/python-visualization/branca/archive/v0.4.0/branca-0.4.0.tar.gz"
MD5SUM="a154f35c4ae9afa3817ed1e2994172cc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Jinja2 six python3-six"