diff --git a/python/pikepdf/pikepdf.SlackBuild b/python/pikepdf/pikepdf.SlackBuild index ffd52a04d8b..82347248a28 100644 --- a/python/pikepdf/pikepdf.SlackBuild +++ b/python/pikepdf/pikepdf.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pikepdf -# Copyright 2020, 2022 Rob van Nues +# Copyright 2020-2026 Rob van Nues # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pikepdf -VERSION=${VERSION:-5.3.2} +VERSION=${VERSION:-10.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,7 +76,9 @@ 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 --root=$PKG +#python3 setup.py install --root=$PKG # raises Deprecation warning +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl 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 diff --git a/python/pikepdf/pikepdf.info b/python/pikepdf/pikepdf.info index 841168a293b..7d6d02b464e 100644 --- a/python/pikepdf/pikepdf.info +++ b/python/pikepdf/pikepdf.info @@ -1,10 +1,10 @@ PRGNAM="pikepdf" -VERSION="5.3.2" +VERSION="10.3.0" HOMEPAGE="https://github.com/pikepdf/pikepdf" -DOWNLOAD="https://pypi.python.org/packages/source/p/pikepdf/pikepdf-5.3.2.tar.gz" -MD5SUM="367ed61eeff72e190c58eb8bc1f882a7" +DOWNLOAD="https://pypi.python.org/packages/source/p/pikepdf/pikepdf-10.3.0.tar.gz" +MD5SUM="dccdaf525ca52f107075db3d62f66e2a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-lxml pybind11 python3-deprecation python3-setuptools_scm_git_archive" +REQUIRES="lxml pybind11 python3-deprecation" MAINTAINER="Rob van Nues" EMAIL="sborg63@disroot.org"