dev-python/pikepdf: Bump to 10.7.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-22 04:28:07 +02:00
parent 7abb74effa
commit 81932b8cdc
2 changed files with 63 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST pikepdf-10.5.1.tar.gz 4582470 BLAKE2B 9a92e465f0972b289016786bba91fc322ed17
DIST pikepdf-10.5.1.tar.gz.provenance 9398 BLAKE2B a760b31f221da8c04c350adf36a52a8664cfcd5ca74fdcaed26fa38f6a9b7ed57fb1e58eff525c8f03e3d8aa3924b6e82bfb759d7746db841cf0747e4428c482 SHA512 06357efef746dc2b316cf603e7c435ae4b9a1b354f895afc835877e7d7e95887a22e69261b1c6c345ebaee86f14a11f075991e714c4b6861547482719d71f906
DIST pikepdf-10.6.0.tar.gz 23670594 BLAKE2B 569c8855d8c44aae6b65cf87974f79b3b4c89039b2c387cb76202eafe0019f47d9086d1ff27ee5fdaa5dddc3ec2bf24578eda15c833cbe736090375c62f9744f SHA512 1bd9addb88c6bd2ff6db10ad99f67c4db688736440ea1ccb171a1f739cf9e605b4ab8580209870178b2a713e4c11375e8c3e236aaa47b5fae1d521519c7d915c
DIST pikepdf-10.6.0.tar.gz.provenance 9535 BLAKE2B e7a24aa79fbc1bde2d9af969029a6b6be670b7ea97315a033bcd8789f94b0346d2965feda53b51d598c03e3e722cc14742fde5cf57474c97ddd83905925291c7 SHA512 becb3501bde0497eb90d2eaab964ec3e4e3240974d479b1d03dc1a1c17150a625a8b040d0bee2be84457b484cc0a7d5c7104e5ce11e223bf669d82c2d56fd32f
DIST pikepdf-10.7.1.tar.gz 23663665 BLAKE2B d709e1702083e1ba1f01be22ceb44cfb82a11f670d273ab81074e4e105ffc539ac501d7428df02ba78db68642b64c989b21cc72e36761d8fe62b7f6e977b666e SHA512 75c47ddba2f43844658dbe7f14e55fbed9bb283e50f057b8d5dbb72c77755eb5f137137281bef33a2918875ebef08bc057225384482ba737b9e9b5f6e5542ca0
DIST pikepdf-10.7.1.tar.gz.provenance 9594 BLAKE2B a8a3da707c87763b6564ab5b73dcc6b2d7f06cec79eb0c1920f121eb610ab20d9ca3e0c2ce29a9e455f03d9d09dfb7fa7f9996dcbea1e21d9938fba40bd29111 SHA512 b99edccb87bdb8b6e6bda75bf909705579d374be3961aef263a38beec21103d398609d5406bd0bf3be16c071672d894816cea05a6e4298bb869d4e5c8ed25cda

View File

@@ -0,0 +1,61 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=scikit-build-core
PYPI_VERIFY_REPO=https://github.com/pikepdf/pikepdf
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Python library to work with pdf files based on qpdf"
HOMEPAGE="
https://github.com/pikepdf/pikepdf/
https://pypi.org/project/pikepdf/
"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86"
IUSE="big-endian"
# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as
# https://qpdf.readthedocs.io/en/stable/release-notes.html.
DEPEND="
>=app-text/qpdf-12.2.0:0=
"
RDEPEND="
${DEPEND}
>=dev-python/lxml-4.0[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/nanobind-2.0[${PYTHON_USEDEP}]
>=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}]
>=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}]
test? (
>=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
>=dev-python/numpy-1.21.0[${PYTHON_USEDEP}]
>=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff]
>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
!big-endian? (
>=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
)
media-libs/tiff[zlib]
)
"
EPYTEST_PLUGINS=( hypothesis pytest-timeout )
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
sed -e '/-n auto/d' -i pyproject.toml || die
# remove bundled qpdf
rm -rf qpdf || die
}