diff options
author | LukenShiro <lukenshiro@ngi.it> | 2012-12-29 11:30:54 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-29 11:31:15 +0100 |
commit | 000ddf7ba3f8799ac46fa85e172e61c4ddbf3445 (patch) | |
tree | 5716edbfd155f89c9a62828e8da402f73ea58d94 /libraries | |
parent | 145666a583e9bd016ebc9eca944a452202d3c8b3 (diff) | |
download | slackbuilds-000ddf7ba3f8799ac46fa85e172e61c4ddbf3445.tar.gz |
libraries/reportlab: Updated for version 2.6
(Fixed some fonts search paths --ponce)
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/reportlab/reportlab.SlackBuild | 17 | ||||
-rw-r--r-- | libraries/reportlab/reportlab.info | 6 |
2 files changed, 17 insertions, 6 deletions
diff --git a/libraries/reportlab/reportlab.SlackBuild b/libraries/reportlab/reportlab.SlackBuild index 2b8c8a8ace..9a9bbe44e8 100644 --- a/libraries/reportlab/reportlab.SlackBuild +++ b/libraries/reportlab/reportlab.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for reportlab -# Copyright 2007-2010 LukenShiro <lukenshiro@ngi.it> +# Copyright 2007-2013 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # Modified by SlackBuilds.org PRGNAM=reportlab -VERSION=${VERSION:-2.5} +VERSION=${VERSION:-2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,7 +67,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; # Generate pdf documentation ( cd docs @@ -81,6 +85,13 @@ mkdir -p $PKG/$PYTHONDIR/$PRGNAM/ mv $OTHERPYFILES $PKG/$PYTHONDIR/$PRGNAM rm -f $PKG/$PYTHONDIR/$PRGNAM/tools/docco/*.pdf +# Fix some fonts search paths +sed -i \ + -e "s|usr/share/fonts/truetype|usr/share/fonts/TTF|" \ + -e "s|usr/local/Acrobat9|opt/Adobe/Reader9|" \ + -e "s|%(HOME)s/fonts|%(HOME)s/.fonts|" \ + src/reportlab/rl_config.py || exit 1 + python setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/libraries/reportlab/reportlab.info b/libraries/reportlab/reportlab.info index 1d4e40bd8b..3df06fd958 100644 --- a/libraries/reportlab/reportlab.info +++ b/libraries/reportlab/reportlab.info @@ -1,8 +1,8 @@ PRGNAM="reportlab" -VERSION="2.5" +VERSION="2.6" HOMEPAGE="http://www.reportlab.com/software/opensource/rl-toolkit/" -DOWNLOAD="http://www.reportlab.com/ftp/reportlab-2.5.tar.gz" -MD5SUM="cdf8b87a6cf1501de1b0a8d341a217d3" +DOWNLOAD="http://www.reportlab.com/ftp/reportlab-2.6.tar.gz" +MD5SUM="e5d27a24a2c8456b168913242aa1940f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |