diff --git a/srcpkgs/python3-ocrmypdf/patches/use_pillow_heif_instead_of_pi_heif.patch b/srcpkgs/python3-ocrmypdf/patches/use_pillow_heif_instead_of_pi_heif.patch index f138c0c6baac0b..2114b181a7466b 100644 --- a/srcpkgs/python3-ocrmypdf/patches/use_pillow_heif_instead_of_pi_heif.patch +++ b/srcpkgs/python3-ocrmypdf/patches/use_pillow_heif_instead_of_pi_heif.patch @@ -1,17 +1,16 @@ --- a/pyproject.toml 2020-02-02 01:00:00.000000000 +0100 -+++ b/pyproject.toml 2025-07-08 13:01:32.238226610 +0200 ++++ b/pyproject.toml 2025-11-22 17:00:55.440822910 +0100 @@ -16,7 +16,7 @@ "img2pdf>=0.5", "packaging>=20", "pdfminer.six>=20220319", -- "pi-heif", # Heif image format - maintainers: if this is removed, it will NOT break -+ "pillow-heif", # Heif image format - maintainers: if this is removed, it will NOT break - "pikepdf>=8.10.1,!=9.8.0", +- "pi-heif", # Heif image format - maintainers: if this is removed, it will NOT break ++ "pillow-heif", # Heif image format - maintainers: if this is removed, it will NOT break + "pikepdf>=10", "Pillow>=10.0.1", "pluggy>=1", - ---- a/src/ocrmypdf/_pipeline.py 2025-02-27 00:16:18.000000000 +0100 -+++ b/src/ocrmypdf/_pipeline.py 2025-03-17 15:21:10.155848376 +0100 +--- a/src/ocrmypdf/_pipeline.py 2020-02-02 01:00:00.000000000 +0100 ++++ b/src/ocrmypdf/_pipeline.py 2025-11-22 17:27:57.466003395 +0100 @@ -42,7 +42,7 @@ from ocrmypdf.pluginspec import OrientationConfidence diff --git a/srcpkgs/python3-ocrmypdf/template b/srcpkgs/python3-ocrmypdf/template index a89be684eb8161..0ebcadb0bdcb87 100644 --- a/srcpkgs/python3-ocrmypdf/template +++ b/srcpkgs/python3-ocrmypdf/template @@ -1,7 +1,7 @@ # Template file for 'python3-ocrmypdf' pkgname=python3-ocrmypdf -version=16.11.0 -revision=2 +version=16.13.0 +revision=1 build_style=python3-pep517 hostmakedepends="hatchling hatch-vcs" depends="python3-deprecation img2pdf python3-packaging python3-pdfminer.six @@ -12,4 +12,4 @@ maintainer="Mateusz Sylwestrzak " license="MPL-2.0" homepage="https://github.com/ocrmypdf/OCRmyPDF" distfiles="${PYPI_SITE}/o/ocrmypdf/ocrmypdf-${version}.tar.gz" -checksum=d89077e503238dac35c6e565925edc8d98b71e5289853c02cacbc1d0901f1be7 +checksum=29d37e915234ce717374863a9cc5dd32d29e063dfe60c51380dda71254c88248 diff --git a/srcpkgs/python3-pikepdf/template b/srcpkgs/python3-pikepdf/template index 7518fe8a7f97df..442b397035b7d6 100644 --- a/srcpkgs/python3-pikepdf/template +++ b/srcpkgs/python3-pikepdf/template @@ -1,8 +1,8 @@ # Template file for 'python3-pikepdf' pkgname=python3-pikepdf -version=8.13.0 -revision=4 -build_style=python3-module +version=10.1.0 +revision=1 +build_style=python3-pep517 hostmakedepends="python3-pybind11 python3-wheel" makedepends="libqpdf-devel python3-pybind11" depends="jbig2dec python3-deprecated python3-lxml python3-packaging @@ -16,17 +16,4 @@ license="MPL-2.0" homepage="https://github.com/pikepdf/pikepdf" changelog="https://raw.githubusercontent.com/pikepdf/pikepdf/master/docs/releasenotes/version${version%%.*}.rst" distfiles="${PYPI_SITE}/p/pikepdf/pikepdf-${version}.tar.gz" -checksum=3bbd79c7cd6630361d83e75132aeaf3a64ceb837f82870bafdc210a31e3d917a - -case "$XBPS_TARGET_MACHINE" in - x86_64*|i686*) make_check=ci-skip # FAILED tests/test_matrix.py FAILED tests/test_page.py: 2 failed, 626 passed, 7 skipped, 3 xfailed - ;; -esac - -pre_check() { - cp -r src/pikepdf.egg-info "$(cd build/lib* && pwd)" -} - -post_check() { - rm -r "$(cd build/lib* && pwd)/pikepdf.egg-info" -} +checksum=d75778283c354580a462d31bd4334f6ba92225e41ccd8bb949ec6e98a23d4eb2