mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/pikepdf: Bump to 10.5.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -10,3 +10,5 @@ DIST pikepdf-10.3.0.tar.gz 4575749 BLAKE2B c2d3f7ee11a0459ed02a4bc12bb875eb59b83
|
||||
DIST pikepdf-10.3.0.tar.gz.provenance 9265 BLAKE2B 4666650d055d2f745de4d199dfcd7bee020e8aed2ff05ca8c288aa1c489596f83d0e7354cd3f45a93b412843d669333b1e9fe9186e86c3fd79b3e4f3c9d85db2 SHA512 54db3f66662e33bf7ab0d0c170173502522f1a341872e58dec4612548dac51006fb9d4798de946fe3b7dc9a23993f13cd7c4e857b0d3e210be247b4a87682e49
|
||||
DIST pikepdf-10.5.0.tar.gz 4582295 BLAKE2B 7432a3d001cf2deae2e176bb657725ec2d7cea794a3c2bf0b2b4f234bf6fe34b40120781f51beab6a084b80dcc8ba3e5a60d2154432652b8ceb321200afa1f54 SHA512 41c9fea21dbd9c3f6726ede80f9e8ad6952c5b07212aa083816e2db04e238ccb2a9a18522fcd5e40c3fed524eaa97ce83f83c10c53ad9a298960b5f4a76e2143
|
||||
DIST pikepdf-10.5.0.tar.gz.provenance 9536 BLAKE2B 8eb67426c1025906bafbf5cbb2de3dea04872a776bcaa98a8d9a69601df002b7b3de259e1f7602ebf3dfae98d026d15e41c5c9dfc7672b0ed9201c772a32951c SHA512 c4b0eec409e27e3fb21e84a1a0a24321918101e001a9f635f872d77e506d08e18e3acd0fc0d9102d2bb0538dddd150ff5530ef6a4f5b2474f68878317c09aef1
|
||||
DIST pikepdf-10.5.1.tar.gz 4582470 BLAKE2B 9a92e465f0972b289016786bba91fc322ed17cfba20c81f4f31aa9cdda65eab91f0203f668a713050d2d7551625f0d94cf6d4f16077e3cc44df3bc27d6c24da7 SHA512 a99abea6f54fe9f813e1fe6c0052d9e40537c7605c6e7f3a930cfb2dd59cd3eeb2c40afc5f0ad98aac7a76e692c842f0577e8188a6319a07e9461a3ac9c2cb73
|
||||
DIST pikepdf-10.5.1.tar.gz.provenance 9398 BLAKE2B a760b31f221da8c04c350adf36a52a8664cfcd5ca74fdcaed26fa38f6a9b7ed57fb1e58eff525c8f03e3d8aa3924b6e82bfb759d7746db841cf0747e4428c482 SHA512 06357efef746dc2b316cf603e7c435ae4b9a1b354f895afc835877e7d7e95887a22e69261b1c6c345ebaee86f14a11f075991e714c4b6861547482719d71f906
|
||||
|
||||
75
dev-python/pikepdf/pikepdf-10.5.1.ebuild
Normal file
75
dev-python/pikepdf/pikepdf-10.5.1.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user