python/rst2pdf: Updated for version 0.101.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2024-02-13 09:56:05 +07:00 committed by Willy Sudiarto Raharjo
parent a2c3a94d0a
commit 60ad32d63c
2 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for rst2pdf
# Copyright 2022-2023 Vijay Marcel
# Copyright 2022-2024 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rst2pdf
VERSION=${VERSION:-0.100}
VERSION=${VERSION:-0.101}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -72,13 +72,13 @@ cp -a rst2pdf.1 $PKG/usr/man/man1/
cd ..
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 --remove-section=.comment --remove-section=.note 2> /dev/null || true
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES.rst CODE_OF_CONDUCT.rst Contributors.txt LICENSE.txt MAINTAINERS.rst PKG-INFO README.rst $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
cd doc
cp -a manual.rst gen_docs.sh rst2html-manual.py $PKG/usr/doc/$PRGNAM-$VERSION
cd ..

View file

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