head 1.50; access; symbols pkgsrc-2026Q3:1.44.0.2 pkgsrc-2026Q3-base:1.44 pkgsrc-2026Q2:1.38.0.2 pkgsrc-2026Q2-base:1.38 pkgsrc-2026Q1:1.34.0.2 pkgsrc-2026Q1-base:1.34 pkgsrc-2025Q4:1.32.0.2 pkgsrc-2025Q4-base:1.32 pkgsrc-2025Q3:1.29.0.2 pkgsrc-2025Q3-base:1.29 pkgsrc-2025Q2:1.24.0.2 pkgsrc-2025Q2-base:1.24 pkgsrc-2025Q1:1.22.0.2 pkgsrc-2025Q1-base:1.22 pkgsrc-2024Q4:1.20.0.2 pkgsrc-2024Q4-base:1.20 pkgsrc-2024Q3:1.17.0.2 pkgsrc-2024Q3-base:1.17 pkgsrc-2024Q2:1.14.0.2 pkgsrc-2024Q2-base:1.14 pkgsrc-2024Q1:1.13.0.4 pkgsrc-2024Q1-base:1.13 pkgsrc-2023Q4:1.13.0.2 pkgsrc-2023Q4-base:1.13 pkgsrc-2023Q3:1.11.0.2 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.6.0.2 pkgsrc-2023Q2-base:1.6; locks; strict; comment @# @; 1.50 date 2026.11.11.11.55.22; author wiz; state Exp; branches; next 1.49; commitid ibfBdhxkigxin23H; 1.49 date 2026.11.08.15.44.02; author wiz; state Exp; branches; next 1.48; commitid spBfNkafyqucLF2H; 1.48 date 2026.10.16.19.44.10; author adam; state Exp; branches; next 1.47; commitid z8jatkdHAjoiPJZG; 1.47 date 2026.09.29.06.07.17; author wiz; state Exp; branches; next 1.46; commitid qal4xgy1mkCzPtXG; 1.46 date 2026.09.27.11.38.19; author tnn; state Exp; branches; next 1.45; commitid QJQtnAYom0oZIfXG; 1.45 date 2026.09.26.09.43.09; author wiz; state Exp; branches; next 1.44; commitid CpawVrFD4X5797XG; 1.44 date 2026.09.08.13.30.00; author adam; state Exp; branches; next 1.43; commitid LlUa9mdOmI5OYOUG; 1.43 date 2026.09.02.19.04.11; author wiz; state Exp; branches; next 1.42; commitid vXszxoxOqka005UG; 1.42 date 2026.08.09.16.53.12; author wiz; state Exp; branches; next 1.41; commitid oPUA96ryFmim4ZQG; 1.41 date 2026.08.03.18.10.29; author wiz; state Exp; branches; next 1.40; commitid K3MPIpAx3GZKGdQG; 1.40 date 2026.06.28.15.41.35; author wiz; state Exp; branches; next 1.39; commitid hjtQh9zHnnKc1ALG; 1.39 date 2026.06.23.09.37.03; author wiz; state Exp; branches; next 1.38; commitid BTFhsfVEhYrkaUKG; 1.38 date 2026.06.20.13.02.53; author wiz; state Exp; branches; next 1.37; commitid EPgTa7Wski4OoxKG; 1.37 date 2026.05.14.16.41.58; author ryoon; state Exp; branches; next 1.36; commitid tKipFjQKzke3NNFG; 1.36 date 2026.05.03.14.56.10; author wiz; state Exp; branches; next 1.35; commitid 23aIVnL7pSrwznEG; 1.35 date 2026.04.20.18.14.10; author adam; state Exp; branches; next 1.34; commitid 1UcBUbNUfJIk5JCG; 1.34 date 2026.02.06.10.05.45; author wiz; state Exp; branches; next 1.33; commitid MwQEYCXeWSFvIitG; 1.33 date 2026.01.07.08.48.37; author wiz; state Exp; branches; next 1.32; commitid 1wQ3ICD8eebefrpG; 1.32 date 2025.10.23.20.39.03; author wiz; state Exp; branches; next 1.31; commitid 1V2hBZn9ypXaCJfG; 1.31 date 2025.09.21.16.06.51; author wiz; state Exp; branches; next 1.30; commitid 4pLfEdIB630aaBbG; 1.30 date 2025.09.21.15.11.42; author wiz; state Exp; branches; next 1.29; commitid nPOz5pyNJXIbRAbG; 1.29 date 2025.09.04.11.14.03; author adam; state Exp; branches; next 1.28; commitid nY21TXVgIVvw5o9G; 1.28 date 2025.08.31.10.18.58; author wiz; state Exp; branches; next 1.27; commitid VrHttMgBwFrFUR8G; 1.27 date 2025.08.30.22.46.12; author wiz; state Exp; branches; next 1.26; commitid 2izPxU30rhec4O8G; 1.26 date 2025.08.10.10.38.59; author wiz; state Exp; branches; next 1.25; commitid xiob7RH0pFDiHa6G; 1.25 date 2025.07.13.10.39.42; author wiz; state Exp; branches; next 1.24; commitid rh7O0vSQZPArBz2G; 1.24 date 2025.05.18.10.16.48; author wiz; state Exp; branches; next 1.23; commitid E6RCnKPNseWbhnVF; 1.23 date 2025.04.13.12.43.01; author wiz; state Exp; branches; next 1.22; commitid rmmpytj1TDE7dTQF; 1.22 date 2025.01.09.12.16.59; author wiz; state Exp; branches; next 1.21; commitid vdFbPppoy6Vv5OEF; 1.21 date 2025.01.09.08.56.36; author wiz; state Exp; branches; next 1.20; commitid VKpJn8pqnVpGYMEF; 1.20 date 2024.11.18.09.08.35; author adam; state Exp; branches; next 1.19; commitid oVLHWStPpKetI6yF; 1.19 date 2024.11.11.07.28.53; author wiz; state Exp; branches; next 1.18; commitid 1fBDq3LwS98NncxF; 1.18 date 2024.10.14.06.45.56; author wiz; state Exp; branches; next 1.17; commitid ynDJEEQamKd33BtF; 1.17 date 2024.08.20.08.41.56; author adam; state Exp; branches; next 1.16; commitid fNBzpmcmZAGGsxmF; 1.16 date 2024.07.25.06.52.06; author adam; state Exp; branches; next 1.15; commitid 8ZF5cOAdEU3PGbjF; 1.15 date 2024.07.24.06.43.27; author adam; state Exp; branches; next 1.14; commitid cFuXXFFLwUhOF3jF; 1.14 date 2024.04.10.20.34.41; author wiz; state Exp; branches; next 1.13; commitid BiVRUZuKyKQgED5F; 1.13 date 2023.11.05.09.57.35; author wiz; state Exp; branches; next 1.12; commitid JruJZ4AF8fqAapLE; 1.12 date 2023.10.28.19.57.14; author wiz; state Exp; branches; next 1.11; commitid jP8MYROLWZ3yJqKE; 1.11 date 2023.09.09.21.32.34; author wiz; state Exp; branches; next 1.10; commitid u3KrV8MBwm9DQ8EE; 1.10 date 2023.08.24.20.14.11; author wiz; state Exp; branches; next 1.9; commitid ku6r8X1VyflCV4CE; 1.9 date 2023.08.05.07.35.24; author adam; state Exp; branches; next 1.8; commitid 9xc1NL9ta4c3lzzE; 1.8 date 2023.08.01.23.20.52; author wiz; state Exp; branches; next 1.7; commitid lyjXpsSeA6xpH8zE; 1.7 date 2023.07.19.12.59.26; author wiz; state Exp; branches; next 1.6; commitid Q1c3xWbbMDJeGpxE; 1.6 date 2023.06.22.11.19.31; author jperkin; state Exp; branches; next 1.5; commitid tjNiPKNtLqYHZVtE; 1.5 date 2023.06.15.19.48.06; author adam; state Exp; branches; next 1.4; commitid OYfbi1rqZlN825tE; 1.4 date 2023.06.13.18.24.45; author wiz; state Exp; branches; next 1.3; commitid 80xNlGrTx2BxDOsE; 1.3 date 2023.06.06.14.01.23; author wiz; state Exp; branches; next 1.2; commitid tjxstW8Vcm41pTrE; 1.2 date 2023.06.02.06.45.21; author wiz; state Exp; branches; next 1.1; commitid RC2xnAwGOsox7lrE; 1.1 date 2023.06.01.16.05.43; author wiz; state Exp; branches; next ; commitid QptzT9QVLZzOfgrE; desc @@ 1.50 log @*: recursive bump for icu 79 @ text @# $NetBSD: Makefile,v 1.49 2026/11/08 15:44:02 wiz Exp $ DISTNAME= psutils-3.3.17 # renamed from pspdfutils to psutils in 3.3.7 # TODO: follow suit PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/ps/pspdf/} PKGREVISION= 5 CATEGORIES= print python MASTER_SITES= ${MASTER_SITE_PYPI:=p/psutils/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/rrthomas/psutils COMMENT= Manipulate PDF and PostScript documents LICENSE= gnu-gpl-v3 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-argparse-manpage>=0:../../devel/py-argparse-manpage DEPENDS+= ${PYPKGPREFIX}-puremagic>=1.26:../../sysutils/py-puremagic DEPENDS+= ${PYPKGPREFIX}-pdf>=4.3.0:../../textproc/py-pdf TEST_DEPENDS+= ${PYPKGPREFIX}-test-datafiles>=0:../../devel/py-test-datafiles TEST_DEPENDS+= ${PYPKGPREFIX}-testpath>=0:../../devel/py-testpath TEST_DEPENDS+= ${PYPKGPREFIX}-wand>=0:../../graphics/py-wand CONFLICTS+= psutils<3 INSTALLATION_DIRS+= ${PKGMANDIR} PYTHON_VERSIONS_INCOMPATIBLE= 311 PYTHON_SELF_CONFLICT= yes .include "../../mk/bsd.prefs.mk" post-install: .if ${PKGMANDIR} != "share/man" cd ${DESTDIR}${PREFIX}/share/man && ${MV} * ${DESTDIR}${PREFIX}/${PKGMANDIR} .endif .include "../../print/libpaper/buildlink3.mk" .include "../../graphics/ImageMagick/buildlink3.mk" .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.49 log @*: recursive bump for OpenJPH @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2026/10/16 19:44:10 adam Exp $ d7 1 a7 1 PKGREVISION= 4 @ 1.48 log @Forget Python 3.10 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2026/09/29 06:07:17 wiz Exp $ d7 1 a7 1 PKGREVISION= 3 @ 1.47 log @*: recursive bump for pcre2 10.49 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2026/09/27 11:38:19 tnn Exp $ d28 1 a28 1 PYTHON_VERSIONS_INCOMPATIBLE= 310 311 @ 1.46 log @*: revbump for pcre2 symbol versioning change @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2026/09/26 09:43:09 wiz Exp $ d7 1 a7 1 PKGREVISION= 2 @ 1.45 log @*: recursive bump for OpenJPH @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2026/09/08 13:30:00 adam Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.44 log @py-pspdfutils: updated to 3.3.17 3.3.17 This release fixes a bug in psresize which made the --height option ineffective. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2026/09/02 19:04:11 wiz Exp $ d7 1 @ 1.43 log @*: recursive bump for pcre2 10.48 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2026/08/09 16:53:12 wiz Exp $ d3 1 a3 1 DISTNAME= psutils-3.3.16 a6 1 PKGREVISION= 1 d16 1 a16 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-argparse-manpage-[0-9]*:../../devel/py-argparse-manpage @ 1.42 log @py-pspdfutils: update to 3.3.16. This release makes no changes to the code, other than a little reformatting, but simplifies and improves the build system. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2026/08/03 18:10:29 wiz Exp $ d7 1 @ 1.41 log @*: recursive bump for OpenJPH @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2026/06/28 15:41:35 wiz Exp $ d3 1 a3 1 DISTNAME= psutils-3.3.15 a6 1 PKGREVISION= 4 @ 1.40 log @*: limit Python versions due to py-numpy dropping Python 3.11 support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2026/06/23 09:37:03 wiz Exp $ d7 1 a7 1 PKGREVISION= 3 @ 1.39 log @*: recursive bump for OpenJPH @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2026/06/20 13:02:53 wiz Exp $ d28 2 @ 1.38 log @*: recursive bump for OpenJPH 0.28 The upgrade only bumped the shlib minor but there is no symlink for the major so this version is recorded. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2026/05/14 16:41:58 ryoon Exp $ d7 1 a7 1 PKGREVISION= 2 @ 1.37 log @*: Recursive revbump from security/nettle-4.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2026/05/03 14:56:10 wiz Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.36 log @py-pspdfutils: update to 3.3.15. This release adds compatibility with Python 3.14. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2026/04/20 18:14:10 adam Exp $ d7 1 @ 1.35 log @revbump for x265 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2026/02/06 10:05:45 wiz Exp $ d3 1 a3 1 DISTNAME= psutils-3.3.14 a6 1 PKGREVISION= 4 @ 1.34 log @*: recursive bump for nettle 4.0 shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2026/01/07 08:48:37 wiz Exp $ d7 1 a7 1 PKGREVISION= 3 @ 1.33 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2025/10/23 20:39:03 wiz Exp $ d7 1 a7 1 PKGREVISION= 2 @ 1.32 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2025/09/21 16:06:51 wiz Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.31 log @py-pspdfutils: update to 3.3.14. This release fixes the parsing of page ranges, so that ranges open at the end (like “5-”) work again. There is also a minor documentation fix. Thanks to Bastian Germann for the documentation fix, and for reporting the problem with page range parsing. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2025/09/21 15:11:42 wiz Exp $ d7 1 @ 1.30 log @*: recursive bump for openexr 3.4.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2025/09/04 11:14:03 adam Exp $ d3 1 a3 1 DISTNAME= psutils-3.3.13 a6 1 PKGREVISION= 1 @ 1.29 log @py-pspdfutils: updated to 3.3.13 3.3.13 This release fixes the names of the commands in their man pages. Previously, all the command synopses gave the command name as “psutils”. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2025/08/31 10:18:58 wiz Exp $ d7 1 @ 1.28 log @py-pspdfutils: update to 3.3.12. This release requires Python 3.12 or newer. All of the commands are fixed to allow the use of a hyphen - to mean standard input (for an input argument) or standard output (for an output argument), as documented. Thanks very much to Olivier Scherler for the bug report and fix for all but psjoin. The obsolete old scripts, which were not installed as part of the package but kept in “old-scripts” for backwards compatibility, are removed: they were deprecated a long time ago. The installation instructions are updated to recommend the use of pipx rather than pip. The Makefile has been updated. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2025/08/30 22:46:12 wiz Exp $ d3 1 a3 1 DISTNAME= psutils-3.3.12 a31 1 ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/psutils-${PKGVERSION_NOREV}.dist-info/.bak.0.SOURCES.txt @ 1.27 log @*: recursive bump for tiff growing lerc dependency @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2025/08/10 10:38:59 wiz Exp $ d3 1 a3 1 DISTNAME= psutils-3.3.11 a6 1 PKGREVISION= 2 d32 1 a32 1 ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/psutils-3.3.11.dist-info/.bak.0.SOURCES.txt @ 1.26 log @*: recursive bump for imath 3.2.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2025/07/13 10:39:42 wiz Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.25 log @py-pspdfutils: update to 3.3.11. This release fixes some file object leaks. This had no impact on normal use in most cases, except in extractres where it would be theoretically possible to exhaust the file descriptor table if many different resources were present in a PostScript file. However, it showed up when running the tests with Python warnings enabled. The test setup has been fixed to run with -Wdefault. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2025/05/18 10:16:48 wiz Exp $ d7 1 @ 1.24 log @py-pspdfutils: update to 3.3.10. This release fixes a bug where a optimization would be incorrectly used when imposing a single page onto a sheet of a different size in PDF generation. Also, PSUtils will now warn when it cannot set the required output paper size in PostScript output owing to not being able to find the document header section in the input. Under the hood, the code has been modernized slightly, and the linting and type-checking machinery updated. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2025/04/13 12:43:01 wiz Exp $ d3 1 a3 1 DISTNAME= psutils-3.3.10 d30 1 d32 1 a32 1 ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/psutils-3.3.10.dist-info/.bak.0.SOURCES.txt d38 1 @ 1.23 log @py-pspdfutils: fix for setuptools>=78 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2025/01/09 12:16:59 wiz Exp $ d3 1 a3 1 DISTNAME= psutils-3.3.9 a6 1 PKGREVISION= 1 d31 1 @ 1.22 log @py-pspdfutils: update to 3.3.9. This release adds a missing copyright notice and license, and fixes a problem where backup files were included in the previous release (3.3.8) distribution archives. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2025/01/09 08:56:36 wiz Exp $ d7 1 d16 1 a16 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools @ 1.21 log @py-pspdfutils: update to 3.3.8. pkgsrc did not follow the rename below (yet?). 3.3.8 This release just removes some text accidentally added to the README when the Python package name was changed in 3.3.7. 3.3.7 This release marks the long-awaited renaming on PyPI to “psutils”, i.e. the same as the package name. Thanks to the Python Packaging Authority for granting my application to use the name! Also, some missing copyright notices are added to the command and test modules, and the ‘extractres’ tests actually assert the results of file comparisons. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2024/11/18 09:08:35 adam Exp $ d3 1 a3 1 DISTNAME= psutils-3.3.8 a33 2 # https://github.com/rrthomas/psutils/issues/75 ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/psutils-${PKGVERSION_NOREV}.dist-info/.bak.* @ 1.20 log @py-pspdfutils: updated to 3.3.6 3.3.6 This release includes some minor build system and test fixes and updates. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2024/11/11 07:28:53 wiz Exp $ d3 4 a6 2 DISTNAME= pspdfutils-3.3.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} d8 1 a8 1 MASTER_SITES= ${MASTER_SITE_PYPI:=p/pspdfutils/} d15 1 a15 2 CONFLICTS+= psutils<3 a16 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools d23 2 d34 2 @ 1.19 log @py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2024/10/14 06:45:56 wiz Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.3.5 @ 1.18 log @*: clean-up after python38 removal @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2024/08/20 08:41:56 adam Exp $ a16 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel @ 1.17 log @py-pspdfutils: updated to 3.3.5 3.3.5 This release fixes some markup in the man pages, and makes it clearer that libpaper is required. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2024/07/25 06:52:06 adam Exp $ a25 1 PYTHON_VERSIONS_INCOMPATIBLE= 38 @ 1.16 log @py-pspdfutils: updated to 3.3.4 3.3.4 This release fixes compatibility with pyPDF 4.3.x. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2024/07/24 06:43:27 adam Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.3.4 d26 1 a26 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 38 @ 1.15 log @py-pspdfutils: updated to 3.3.3 3.3.3 This release adds some minor code clean-up and restricts the PyPDF version to 4.2.x to cope with a bug in later versions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2024/04/10 20:34:41 wiz Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.3.3 d19 1 a19 1 DEPENDS+= ${PYPKGPREFIX}-pdf>=4.2.0:../../textproc/py-pdf @ 1.14 log @py-pspdfutils: mark as conflicting with other py* versions of itself @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2023/11/05 09:57:35 wiz Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.3.2 d18 2 a19 2 DEPENDS+= ${PYPKGPREFIX}-puremagic-[0-9]*:../../sysutils/py-puremagic DEPENDS+= ${PYPKGPREFIX}-pdf>=3.16.0:../../textproc/py-pdf @ 1.13 log @py-pspdfutils: update to 3.3.2. 3.3.2 This release improves the documentation of pagespecs, and adds an example The error message for invalid pagespecs previously had a small mistake in the syntax it displayed; this has been fixed. Thanks, @@jgclark! 3.3.1 This release fixes a bug in the pstops(1) man page example for duplex book printing. Many apologies to users who wondered what they were doing wrong when following it! 3.3.0 This release improves psnup and updates to a later version of pypdf that fixes a crash. In psnup, improve how we guess the page size. Since we can now guess the size of PostScript files accurately in many cases, use the input size first, then the output size, and only then fall back to paper’s value. Also, fix a bug where the output paper size was incorrectly changed during processing. We now require pypdf >= 3.16, which fixes a bug that could cause a crash on PDF documents containing links that pointed to each other. Finally, the test suite has been improved to fall back to visual comparison of PDF outputs when they are not byte-identical. This should ease pypdf upgrades in future, and in particular avoid either having to hard-wire a particular pypdf version (as we did with PSUtils version 3.2.0), or risk test failures with newer versions of pypdf than the minimum required version (as we did previously). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2023/10/28 19:57:14 wiz Exp $ d27 1 @ 1.12 log @python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2023/09/09 21:32:34 wiz Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.2.0 a4 1 PKGREVISION= 1 d19 1 a19 2 DEPENDS+= ${PYPKGPREFIX}-pdf>=3.1.0:../../textproc/py-pdf TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test d22 1 a33 6 # still needs 'make install' # most tests don't pass, should be investigated TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests @ 1.11 log @py-pspdfutils: update to 3.2.0. This release improves support for reading the paper size of PostScript files. In particular, it will try to use PageBoundingBox, BoundingBox, and HiResBoundingBox settings, if there is no DocumentMedia, in that order. If it uses a BoundingBox or HiResBoundingBox setting, it will warn the user that it has guessed the page size when this matters (for example, when running psnup). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2023/08/24 20:14:11 wiz Exp $ d5 1 d17 1 @ 1.10 log @py-pspdfutils: update to 3.1.1. 3.1.1 This release is a minor update that requires pypdf 3.15.2, as this release changed some test results cosmetically. There is no need to upgrade if you’re not concerned with running the tests. 3.1.0 This release adds the ability to pass the page specs to psnup without the --specs flag, for backwards compatibility with PSUtils 1.x. This usage is deprecated, and is not recommended, but in 1.x it was mandatory. The release also fixes PDF output when the output is sent to standard output. Thanks to James Clark for reporting both bugs. 3.0.9 This release updates to PyPDF 3.15. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2023/08/05 07:35:24 adam Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.1.1 a31 1 ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/pspdfutils-3.1.1.dist-info/.bak.0.SOURCES.txt @ 1.9 log @py-pspdfutils: updated to 3.0.8 Release v3.0.8 This release updates the back-end library pypdf to version 3.12. Since pypdf 3.11 and later optimize the PDF output better than earlier versions, some test results had to be regenerated. Release v3.0.7 This release fixes obtaining paper sizes from the ‘paper’ program in locales that use a decimal point that is not a full stop. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2023/08/01 23:20:52 wiz Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.0.8 d32 1 @ 1.8 log @*: remove more references to Python 3.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2023/07/19 12:59:26 wiz Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.0.6 d13 2 d18 1 a18 1 DEPENDS+= ${PYPKGPREFIX}-pdf>=3.8.0:../../textproc/py-pdf d27 1 a27 8 .include "../../lang/python/pyversion.mk" .if ${PYTHON_VERSION} < 310 DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=0:../../devel/py-typing-extensions .endif CONFLICTS+= psutils<3 d37 1 a37 1 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} @ 1.7 log @py-pspdfutils: update to 3.0.6. Fix Homepage link, and restrict PyPDF to 3.10.x for now, until later versions can be validated. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2023/06/22 11:19:31 jperkin Exp $ d23 1 a23 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38 @ 1.6 log @py-pspdfutils: Fix bogus PKGMANDIR assumption. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/06/15 19:48:06 adam Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.0.4 d39 1 @ 1.5 log @py-pspdfutils: updated to 3.0.4 v3.0.4 This release fixes a bug with the --draw argument when a value was not supplied. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/06/13 18:24:45 wiz Exp $ d34 1 d36 1 @ 1.4 log @py-pspdfutils: not for Python 3.8 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/06/06 14:01:23 wiz Exp $ d3 1 a3 1 DISTNAME= pspdfutils-3.0.3 @ 1.3 log @py-pspdfutils: not for python 3.7 try adding a dependency to fix build with 3.8 (officially this is 3.9+) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/06/02 06:45:21 wiz Exp $ d23 1 a23 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 37 @ 1.2 log @py-pspdfutils: conflicts with psutils<3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/06/01 16:05:43 wiz Exp $ d23 7 a29 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.1 log @print/py-pspdfutils: import py-pspdfutils-3.0.3 New name for psutils, rewritten in Python. PSUtils is a suite of utilities for manipulating PDF and PostScript documents. You can select and rearrange pages, including arrangement into signatures for booklet printing, combine multple pages into a single page for n-up printing, and resize, flip and rotate pages. @ text @d1 1 a1 1 # $NetBSD$ d25 2 @