diff options
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="" |