dev-python/pikepdf: Bump to 10.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-01-10 08:16:24 +01:00
parent 2936f38903
commit e91a4d8161
2 changed files with 77 additions and 0 deletions

View File

@@ -4,4 +4,6 @@ DIST pikepdf-10.0.3.tar.gz 4549203 BLAKE2B fb251a55ab2750bdf705e132b2938f84f80e4
DIST pikepdf-10.0.3.tar.gz.provenance 9263 BLAKE2B 02c21d953ae667dfa59d65bfbff86b99198f8b081602e6b7f2c611b5aa5f5efc8966d5678965abf348bd014be87806b9e7d8a34633c61b95906c19a258f480ce SHA512 bc96941d5775c41a0b8e0feea568ba9395aa4e182b365d317871530776be574a1f0c41c6c43a096f08b3ca28bb79a4ef1e7e815f5d502b9b1639ac571ab692e3
DIST pikepdf-10.1.0.tar.gz 4566184 BLAKE2B cd0a039f7fcc868919ee4886ab0f7f1ce1c2d85ffbe4636330e74ea8dee803ee98b9cf40ad7b9d7f9196ec241f8cc37b0a89d8d365e44482a04090b0297374c5 SHA512 3d9b697633e05dcc1c949a4b195b6b218955a48b33e7e2e29db764ffc293ffb6f2a54080e4e59198e1dda585e01bec514ed00d262ee3bdb37c747c162d2cb5e5
DIST pikepdf-10.1.0.tar.gz.provenance 9306 BLAKE2B 0d8c5ac4a52707630c6893894039e8f5cfb8cf041870fcedaaf12e943bf49b1ae47926b19c1280bb5762a8d96e5b440203611053d079352c6d81d9feeef0a0f9 SHA512 673e639638d9240ba08ef6c09921644bfc77a73a5e5579d9e50af14f02b5abd2f98a18d01ea5124e0b1fcfbf8fc64e706b392cd65cf29a58eb00e97937ea64e2
DIST pikepdf-10.2.0.tar.gz 4568506 BLAKE2B 946bee858530953e5cdc81176fe777cd11f37cd732dbbe6e95da23a92c4c032252f76e99fed22f1de52d65bdc913ecaaa06aa8a742cd6a5eaf455296eece9a8e SHA512 8b827db368b6dc3fb00e3f29199d8e38aa6783841d9fd8071a2e521a0c8f76767588b6fbab376938910782e183f17d1e502a3ae9f5397d5ccbf45a0df9a3c4ce
DIST pikepdf-10.2.0.tar.gz.provenance 9451 BLAKE2B 30457304212a20d22f5ef6b20a006a32ebc446740a96b157c3d07f3890da1280e55d8f7b1ddcc6c88d206dbc18e7c51d1c4f4c11afef70dc2c10aab1d1bd7e4a SHA512 e8d73d09c308dd671fd60742c1578683073ed1050e51040ca2434e003a8b36f130e71229d9df628b21dfec07101510c59ab81b2b1c6f53e7d680a66be61ff409
DIST pikepdf-9.11.0.tar.gz 4546289 BLAKE2B 267a8f834cf9da21a5d8f4b5e4734eaaaa9889f9ae919e6c9f030ffda3a36e951f3a8aedecc8168234264ffd5792ca1eefc2e1833ec8a6b540b0978a5638e8e4 SHA512 b92c1aa285935faccf8f1058aff25bf1ba906d8e6e4cca986f6fed59c2faf9cb9f1c5a3aeebd2899dac7fbe2489af627c76a751963657aa476c16eb1374b34ad

View File

@@ -0,0 +1,75 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/pikepdf/pikepdf
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
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 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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/deprecated[${PYTHON_USEDEP}]
>=dev-python/lxml-4.0[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/pybind11-3[${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
}
python_test() {
local EPYTEST_DESELECT=()
case ${EPYTHON} in
pypy3.11)
EPYTEST_DESELECT+=(
# mismatched exception message
tests/test_scalar_types.py::TestIntIntConversions::test_index_on_non_integer_raises
)
;;
esac
epytest
}