mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/python3-reportlab: Updated for version 4.2.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
96e35dd1e2
commit
58fd9937ac
3 changed files with 15 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue