python/rst2pdf: Updated for version 0.102.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2024-08-18 20:17:49 +07:00 committed by Willy Sudiarto Raharjo
parent b22bf4b0a3
commit b5207c000f
2 changed files with 7 additions and 8 deletions

View File

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rst2pdf PRGNAM=rst2pdf
VERSION=${VERSION:-0.101} VERSION=${VERSION:-0.102}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -78,10 +78,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES.rst CODE_OF_CONDUCT.rst Contributors.txt LICENSE.txt MAINTAINERS.rst ISSUE_TEMPLATE.md CONTRIBUTING.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION cp -av CHANGES.rst CODE_OF_CONDUCT.rst Contributors.txt LICENSE.txt MAINTAINERS.rst ISSUE_TEMPLATE.md CONTRIBUTING.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cd doc cp -av doc $PKG/usr/doc/$PRGNAM-$VERSION
cp -a manual.rst gen_docs.sh rst2html-manual.py $PKG/usr/doc/$PRGNAM-$VERSION rm -rvf $PKG/usr/doc/$PRGNAM-$VERSION/doc/output/
cd ..
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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 0644 {} \+

View File

@ -1,8 +1,8 @@
PRGNAM="rst2pdf" PRGNAM="rst2pdf"
VERSION="0.101" VERSION="0.102"
HOMEPAGE="https://rst2pdf.org" HOMEPAGE="https://rst2pdf.org"
DOWNLOAD="https://pypi.io/packages/source/r/rst2pdf/rst2pdf-0.101.tar.gz" DOWNLOAD="https://pypi.io/packages/source/r/rst2pdf/rst2pdf-0.102.tar.gz"
MD5SUM="a9b1c2b7efe8c508307b851d743e75b2" MD5SUM="efc988aad53f1568d560c4b4cb34ce84"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="python3-reportlab python-smartypants python-importlib_metadata" REQUIRES="python3-reportlab python-smartypants python-importlib_metadata"