commit: 8b8e3ff351b97b6268f4892b0b34e0f593547d22 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Aug 12 11:46:36 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Aug 12 12:35:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8e3ff3
dev-python/pikepdf: add 8.3.2 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-python/pikepdf/Manifest | 1 + dev-python/pikepdf/pikepdf-8.3.2.ebuild | 60 +++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 0b7a5f422a78..655a130d72de 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -5,3 +5,4 @@ DIST pikepdf-8.2.1.tar.gz 1804043 BLAKE2B c8c80dd61cb2703eb7454b2a006a14760da538 DIST pikepdf-8.2.2.tar.gz 2847110 BLAKE2B 084c09f92f1ca133a6b39e14782c355369c714a17040c41c0dd13afe28577b9f6bcc10ed980b69acbe7c9e73dc85f11625669539d5b2e18991a86f5fa400ba16 SHA512 19dfabe0df425a3a519659f54e65ae6afdfea0df6f1b104ac2807d3cab49ac1b7dbf1c589b41dfabec4ffb95db593c788da7ed7c4dca76a515d90453e082f371 DIST pikepdf-8.2.3.tar.gz 2847227 BLAKE2B 89003b2cc8b9afbf1eaa255bc6c2c1a6b254239a5dd7584393b5350933c35a129c14579a0f2476197a9ce9eda5ae4177a46c88b8bc0ea78f9bda96de614cb18a SHA512 824e35ba90523f4831a89d91a1fc9b43ecba4b82848f28bcec3ed10a078a4860975262cc5f671ee34131bbcb93242e3a4de4d56e51297d823d997632e0d43f00 DIST pikepdf-8.3.1.tar.gz 2847612 BLAKE2B 904cddf79dc1325c5ab8501b3897425622f68d954f01dcfb03a3fb619eb93e3150de6ab178804a05c6f5d9164275ba89f25e35bdf76f3882b039eaefff564ec3 SHA512 15a82f70bfd7f2919bc80770e2af7f7bd19efd53f0fe65dc98a4f110d84cd11a3856745c22979336aa3d09b8419657ef1750d963310a3834906724a4747a2dc7 +DIST pikepdf-8.3.2.tar.gz 2852253 BLAKE2B 6e1c77c3de4fc8dbacb9cd449cbc5f99c49fd2cd5416e490909bb71f4f7e0907e0da65a2301cb72c6d90c24c3988b3a56bcbfbd2087c1890793fc2dfdb77d46e SHA512 b30b286f001808b59eea2377a0cbbca8bc759a1e3be26144ff05b303771b53ee022c3dc4b6d609ec8170c887c5f3ed4f85b8fae4c76e007f8a178b500fb720c4 diff --git a/dev-python/pikepdf/pikepdf-8.3.2.ebuild b/dev-python/pikepdf/pikepdf-8.3.2.ebuild new file mode 100644 index 000000000000..24e7a1d5dc1f --- /dev/null +++ b/dev-python/pikepdf/pikepdf-8.3.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=app-text/qpdf-11.1.1:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecation[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.36[${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/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile to system load + tests/test_image_access.py::test_random_image +) + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +}