diff --git a/python/python3-reportlab/README b/python/python3-reportlab/README index d382fe51ea..5f2c0a3a64 100644 --- a/python/python3-reportlab/README +++ b/python/python3-reportlab/README @@ -18,3 +18,9 @@ It has the following features: - strong community support - platform-independent - includes PythonPoint - PDF Presentation Tool + +For document generation,Reportlab has a circular dependency on itself +So you have to install reportlab first and then extract the source +to some $DIR and then cd to $DIR/reportlab-$VER/docs and then +run python3 genAll.py it will generate a pdf file, which you can copy it +to some other convenient location. diff --git a/python/python3-reportlab/python3-reportlab.SlackBuild b/python/python3-reportlab/python3-reportlab.SlackBuild index 34ddf2199a..d5a3e6865f 100644 --- a/python/python3-reportlab/python3-reportlab.SlackBuild +++ b/python/python3-reportlab/python3-reportlab.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-reportlab -VERSION=${VERSION:-4.2.2} +VERSION=${VERSION:-4.2.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,15 +65,15 @@ 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 {} \; -python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py --no-download-t1-files --verbose install --prefix=/usr --root=$PKG --optimize=1 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 + | cut -f 1 -d : | xargs strip --strip-unneeded --reove-section=.comment --remove-section=.note 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a docs CHANGES.md LICENSE README.txt VERSION.txt $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +cp -av docs CHANGES.md LICENSE README.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+ +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod -v 0644 {} \+ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/python/python3-reportlab/python3-reportlab.info b/python/python3-reportlab/python3-reportlab.info index 0fabb219d7..e9b9617895 100644 --- a/python/python3-reportlab/python3-reportlab.info +++ b/python/python3-reportlab/python3-reportlab.info @@ -1,8 +1,8 @@ PRGNAM="python3-reportlab" -VERSION="4.2.2" +VERSION="4.2.5" HOMEPAGE="https://reportlab.com" -DOWNLOAD="https://pypi.org/packages/source/r/reportlab/reportlab-4.2.2.tar.gz" -MD5SUM="5198e2ec141b3ad8ab0ddc14065f83e0" +DOWNLOAD="https://pypi.org/packages/source/r/reportlab/reportlab-4.2.5.tar.gz" +MD5SUM="4334edd0b173593476efd589d4f59258" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""