aboutsummaryrefslogtreecommitdiff
path: root/python/rst2pdf
diff options
context:
space:
mode:
Diffstat (limited to 'python/rst2pdf')
-rw-r--r--python/rst2pdf/rst2pdf.SlackBuild8
-rw-r--r--python/rst2pdf/rst2pdf.info8
2 files changed, 10 insertions, 6 deletions
diff --git a/python/rst2pdf/rst2pdf.SlackBuild b/python/rst2pdf/rst2pdf.SlackBuild
index 06e6c0f95f..51ac3c128a 100644
--- a/python/rst2pdf/rst2pdf.SlackBuild
+++ b/python/rst2pdf/rst2pdf.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rst2pdf
-VERSION=${VERSION:-0.102}
+VERSION=${VERSION:-0.103.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,7 +63,11 @@ 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
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
cd doc
rst2man rst2pdf.rst rst2pdf.1
diff --git a/python/rst2pdf/rst2pdf.info b/python/rst2pdf/rst2pdf.info
index 2940a7f078..fb4938d732 100644
--- a/python/rst2pdf/rst2pdf.info
+++ b/python/rst2pdf/rst2pdf.info
@@ -1,10 +1,10 @@
PRGNAM="rst2pdf"
-VERSION="0.102"
+VERSION="0.103.1"
HOMEPAGE="https://rst2pdf.org"
-DOWNLOAD="https://pypi.io/packages/source/r/rst2pdf/rst2pdf-0.102.tar.gz"
-MD5SUM="efc988aad53f1568d560c4b4cb34ce84"
+DOWNLOAD="https://pypi.io/packages/source/r/rst2pdf/rst2pdf-0.103.1.tar.gz"
+MD5SUM="e806058707cd622eccb97f15d4d71da9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-reportlab python-smartypants python-importlib_metadata"
+REQUIRES="python3-reportlab python-smartypants python-importlib_metadata python3-setuptools-opt python3-setuptools-scm-opt"
MAINTAINER="Vijay Marcel"
EMAIL="vijaymarcel@outlook.com"