From c5532216e1da9918ecabeb0f6a2b2d6cd4f0a481 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 27 Oct 2025 14:16:23 +0100 Subject: [PATCH] python/pikepdf: Updated for version 10.0.0. Signed-off-by: Matteo Bernardini --- python/pikepdf/pikepdf.SlackBuild | 8 +++++--- python/pikepdf/pikepdf.info | 8 ++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/python/pikepdf/pikepdf.SlackBuild b/python/pikepdf/pikepdf.SlackBuild index ffd52a04d8b..ea554a2b84e 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-2025 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.0.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..6b6c50f7c58 100644 --- a/python/pikepdf/pikepdf.info +++ b/python/pikepdf/pikepdf.info @@ -1,10 +1,10 @@ PRGNAM="pikepdf" -VERSION="5.3.2" +VERSION="10.0.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.0.0.tar.gz" +MD5SUM="5cde722ad0f5a13628efe4c62395ce9d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-lxml pybind11 python3-deprecation python3-setuptools_scm_git_archive" +REQUIRES="pybind11 python3-deprecation" MAINTAINER="Rob van Nues" EMAIL="sborg63@disroot.org"