Diff pikepdf-9.5.2 with a pikepdf-9.11.0

/usr/portage/dev-python/pikepdf/pikepdf-9.11.0.ebuild 2025-11-18 18:18:06.881429832 +0300
5 5

  
6 6
DISTUTILS_EXT=1
7 7
DISTUTILS_USE_PEP517=setuptools
8
PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
8
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
9 9

  
10 10
inherit distutils-r1 pypi
11 11

  
......
17 17

  
18 18
LICENSE="MPL-2.0"
19 19
SLOT="0"
20
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
20
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
21 21
IUSE="big-endian"
22 22

  
23 23
# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as
......
33 33
	>=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}]
34 34
"
35 35
BDEPEND="
36
	>=dev-python/pybind11-2.12.0[${PYTHON_USEDEP}]
36
	>=dev-python/pybind11-3[${PYTHON_USEDEP}]
37
	>=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}]
37 38
	>=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}]
38 39
	test? (
39 40
		>=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
40
		>=dev-python/hypothesis-6.36[${PYTHON_USEDEP}]
41 41
		>=dev-python/numpy-1.21.0[${PYTHON_USEDEP}]
42 42
		>=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff]
43 43
		>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
44
		>=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
45 44
		>=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
46 45
		!big-endian? (
47 46
			>=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
48 47
		)
49
		$(python_gen_cond_dep '
50
			dev-python/tomli[${PYTHON_USEDEP}]
51
		' 3.10)
52 48
		media-libs/tiff[zlib]
53 49
	)
54 50
"
55 51

  
52
EPYTEST_PLUGINS=( hypothesis pytest-timeout )
56 53
distutils_enable_tests pytest
57 54

  
55
EPYTEST_DESELECT=(
56
	# https://github.com/pypy/pypy/issues/5351
57
	tests/test_metadata.py::test_truncated_xml
58
)
59

  
58 60
src_prepare() {
59 61
	distutils-r1_src_prepare
60 62

  
61 63
	sed -e '/-n auto/d' -i pyproject.toml || die
62 64
}
63

  
64
python_test() {
65
	local EPYTEST_DESELECT=(
66
		# fragile to system load
67
		tests/test_image_access.py::test_random_image
68
		tests/test_image_access.py::test_image_save_compare
69
		tests/test_image_access.py::test_palette_nonrgb
70
	)
71

  
72
	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
73
	epytest -p timeout
74
}
Thank you!