Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions python/pikepdf/pikepdf.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions python/pikepdf/pikepdf.info
Original file line number Diff line number Diff line change
@@ -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"
Loading