python/python3-reportlab: Updated for version 4.2.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2024-10-08 11:04:32 +07:00 committed by Willy Sudiarto Raharjo
parent 96e35dd1e2
commit 58fd9937ac
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 15 additions and 9 deletions

View file

@ -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.

View file

@ -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

View file

@ -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=""