diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-02 00:07:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-02 00:07:23 +0100 |
commit | 6657c680376cedf378fcf328e5fa03ed3b41d580 (patch) | |
tree | 44ea8d174f647daca562b9bdcbcb527a85a77d0a /dev-python/pikepdf | |
parent | 1551fe56fd6ba43a94509cffc61b6bf854b7ac9f (diff) |
gentoo auto-resync : 02:06:2024 - 00:07:23
Diffstat (limited to 'dev-python/pikepdf')
-rw-r--r-- | dev-python/pikepdf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pikepdf/pikepdf-9.0.0.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index a20fb70b06cf..54622dc38e4e 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -2,8 +2,10 @@ DIST pikepdf-8.11.2.tar.gz 2870263 BLAKE2B 6cf3666baca5d20b125efc3f6d8cfe7f96b93 DIST pikepdf-8.14.0.tar.gz 2870612 BLAKE2B be0fd5a8d48fccc7695c45acc28cbda8252529d0687197c261e077e8c3a63e3597e504bf2aae2ab09648c0f127228d517bfa630ed77ea90bc28c8f3463854779 SHA512 f0e073df952cd850e0529fa798743a09f249a998450be1393b109b21850cf86b80c8813b55db778dc4e265df48af7619fccfac30ec9195c3ac724b8c7724e858 DIST pikepdf-8.15.1.tar.gz 2870723 BLAKE2B 958bb2a417e2f1c9e5e4448b47cdadffb10e82841cc8173503881a86e92e85c05f800a8ad6936f32ee53e6f7a8cd62ee9e28e251de1f32a7cdce055139ec5fa3 SHA512 ae6b0b8bdf7e395943caf503f1d498861bd2719185e6382a522b8c0d4e38413a1b070e912367852bc5735d29b8453d05c57ff384ede825830722470445a534f6 DIST pikepdf-8.4.1.tar.gz 2853305 BLAKE2B 2298514159db17ba49b8e2fa2407d60de50273bea111ece704251d99193bdc4c8ed77f624237a49c3f4f129e3b14ac4ddd1006cf3024bcbf822bc5523e0fee35 SHA512 6989e8a3888f612e453ec1ea8425c0ca35ccfee19ae5e8c32df136ebc3fbb7728d9fe5beaacb4e392a20c9037a1009fc8f8d53d73634427fb0df9103626e34fa +DIST pikepdf-9.0.0.tar.gz 2868331 BLAKE2B 6735938fd2c0e8bb6a5fb40896350a2caa2ee20f8982010574a4e682c8ff19d01bc6773d30f78e2d4a5d58496de9dfa8fe9584f1c954205ed4832753addbd373 SHA512 15248d523cebdfbfcd7a5f8b6144b7dc8371612bd77ba3847af1ce626b5d87780911346d3c61bfe7cef545a19f1863c1a4048b35ace56f2cb62dcb962272829d EBUILD pikepdf-8.11.2-r1.ebuild 1789 BLAKE2B 01fabfa0cea84be7e4ce728426954aab95e9d7fdadc8f6d1247a08dd3acc1140f955b3795f1e24d829215bf823c6e293b3f7907158bf11fce65dc728d17ed2e8 SHA512 59c32a82d8acda311da0eb76325c83af80b392a214860b4cdb479c9d1c6b4f4703fb3ec09d77101172b8d419b51eeda697d799c374b966bbd292831d6489511b EBUILD pikepdf-8.14.0-r1.ebuild 1790 BLAKE2B a8fb5ea463c96e1a1a3968451c1a3e67c221fcbe69dc48b189a8116a74d5e816294c5d3b41e28bde34cc87ac6a63cf47bf3aa854668c1afc8240e60b7864d0d8 SHA512 e48cf7f1b63d8ef87dad5eb10aac7f7396c38763140defc0ca26d63f8c6b457ffea3ab1e9ae7f011e4ed7345464a3a46ad9c21d62883fa0a8c8d65c1c30aeec2 EBUILD pikepdf-8.15.1-r1.ebuild 1790 BLAKE2B a8fb5ea463c96e1a1a3968451c1a3e67c221fcbe69dc48b189a8116a74d5e816294c5d3b41e28bde34cc87ac6a63cf47bf3aa854668c1afc8240e60b7864d0d8 SHA512 e48cf7f1b63d8ef87dad5eb10aac7f7396c38763140defc0ca26d63f8c6b457ffea3ab1e9ae7f011e4ed7345464a3a46ad9c21d62883fa0a8c8d65c1c30aeec2 EBUILD pikepdf-8.4.1-r1.ebuild 1685 BLAKE2B e0f3befe27888e3a3b46514eecb42d4662d2d14de7aca6f5c5df21ad2a1c83865b535d0f940e0a3e100581e2e118843e21c603a7d164399bcfd1d6eee6f9ce82 SHA512 da622792eb31cdd24aca262e09cd07921ac731af937993148d46234c150d8667a6ab3670abbcd93bbc0e63c6dcd74992cb99f958d1caa953a85782d904030aa6 +EBUILD pikepdf-9.0.0.ebuild 1796 BLAKE2B b252d3ddc4abb110b6132fd039fc85dbd3266502aebae184c5085ed96ca37f2213194c08a3f970c6eefab76d6045a6dcd18d383c81ca4872f055f49ad85f2d34 SHA512 4bdb57ba2ce4d4bf1dcf349906f0b3761e3ee38fdfa09113d3b840442b4b5a55546baa318d1f9e29108eaeb8add21d31fed7d158919a5de73c516c9fd56ff819 MISC metadata.xml 687 BLAKE2B 07c94d9dac5323202f955fd9c1e5a6fc78518a0a6f703c54c73b70e774900c41a4823beb3f8be7068d83878d1e60df0d7e30efd53bbc1ba31019477de82b092f SHA512 1be3ec00342e8079363db0c57f75ae88bd05e873869fbbb27442e9fe98eb6917c55b4eaf03ed22c4c44ca3aec9b84839cbc254202460a3266bbc42ff8f0f84b3 diff --git a/dev-python/pikepdf/pikepdf-9.0.0.ebuild b/dev-python/pikepdf/pikepdf-9.0.0.ebuild new file mode 100644 index 000000000000..420eaac097bf --- /dev/null +++ b/dev-python/pikepdf/pikepdf-9.0.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 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" + +# 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-11.5.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-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.10) + media-libs/tiff[zlib] + ) +" + +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 +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} |