libraries/reportlab: Updated for version 3.1.8.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
LukenShiro 2014-10-15 21:13:31 +07:00 committed by Willy Sudiarto Raharjo
parent 7ebc0e080e
commit 068b1c86f4
2 changed files with 11 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for reportlab
# Copyright 2007-2013 LukenShiro, Italy
# Copyright 2007-2014 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,8 +25,8 @@
# Modified by SlackBuilds.org
PRGNAM=reportlab
VERSION=${VERSION:-2.7}
BUILD=${BUILD:-2}
VERSION=${VERSION:-3.1.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -68,10 +68,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -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 {} \;
# Generate pdf documentation
( cd docs
@ -94,7 +94,7 @@ sed -i \
python setup.py install --root=$PKG
find $PKG | xargs 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
# Move documentation .pdf files and text files to avoid file duplication in

View file

@ -1,8 +1,8 @@
PRGNAM="reportlab"
VERSION="2.7"
HOMEPAGE="http://www.reportlab.com/software/opensource/rl-toolkit/"
DOWNLOAD="http://www.reportlab.com/ftp/reportlab-2.7.tar.gz"
MD5SUM="78300e6fe8a0d020fc16734a3de80cc4"
VERSION="3.1.8"
HOMEPAGE="https://bitbucket.org/rptlab/reportlab/overview"
DOWNLOAD="https://pypi.python.org/packages/source/r/reportlab/reportlab-3.1.8.tar.gz"
MD5SUM="820a9fda647078503597b85cdba7ed7f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""