diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /dev-python/pikepdf | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'dev-python/pikepdf')
-rw-r--r-- | dev-python/pikepdf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pikepdf/pikepdf-9.1.0.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index bfcceb6ea185..d5cd5dd60688 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -4,9 +4,11 @@ DIST pikepdf-8.14.0.tar.gz 2870612 BLAKE2B be0fd5a8d48fccc7695c45acc28cbda825252 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 +DIST pikepdf-9.1.0.tar.gz 2869103 BLAKE2B 39750e280caa2393b69a5c3c841afa9cbb0d5701a20ae9ca4e9a57088cae47e2dd33ca8b605b0b096df131b578a4cdc71eb8696d12b2817426b35a8b13668460 SHA512 0fbf1ca151b6a234cd23a5148c9e8e4e033c5da5c935b4786fe6167555da7016c55b124dd2f9e8dc414c9782829f38412227820229a8459cc9dbe03220620fae EBUILD pikepdf-8.11.2-r1.ebuild 1731 BLAKE2B 91700e32086a03e75469137f0fb3e274bfbbe312c073dc6826bce7fbae9a3e2ce35ca4ba1e5eaf9c5922d380785dbdbae216f7da03e127b084f88c0ebeb5cb75 SHA512 5a6be61c7de31a7e7eecab18f3e63cf07229055c49def8bac7e9668110b4e813a612180e75392aea44ac1e8dbd5dfea1f6dd98b83d8d067039ee95496fe1778a EBUILD pikepdf-8.14.0-r1.ebuild 1732 BLAKE2B 9b5b7f80f737a410c8909b068403fe314ac5eee0e6fadcdd1dce1c60283188e39f61cc3484bcd972dba64747674a3f0adf06487a58d45b3fdd263f5e2f8e1e93 SHA512 0faa15815c04cd3b60584fcd421c19ef0e2688311ea051916456bb19ccaab2b0d950d1095f752615bfa818703ad24541eab8d7b91263569761f7a2f6b1fa0809 EBUILD pikepdf-8.15.1-r1.ebuild 1829 BLAKE2B 3d6a77e3f8934c2902e669307dff6ba003bc0cf9f0bef5f1e9fe7255c477dc67a548ad6f836f1d0e133c7d254dbb65de597c7388a31fffe619a2e5ebfbf0938f SHA512 da843f22d717fb2d2815a0e8620c7f20e3ac317be63de75d72026fa9eabce8bef70b79a534812e38206b4e28aec1cfbaf5da388c81c36d66e36b0938b9b57097 EBUILD pikepdf-8.4.1-r1.ebuild 1627 BLAKE2B 721f4410738d2c5d43de3d0923654a657a21da7950ecf7f47bfb918d647fe3cfa39725451ef0431a80480114e62bf3c6d941f0f8f03418c1c5a0b979049f6b72 SHA512 c6850e079ae3baff68fcb5ee0bdbac6fb60985ca3026084c5cb94f17d884531261f12ecfc24a043b61bc652205ac22dd2cf7c1359a39f84ae6f087666ad7b3ce EBUILD pikepdf-9.0.0.ebuild 2073 BLAKE2B b344d8d1b7e60f47ceb882079054665412f20d5edcc8c8f8bf1cc98db252b4aec48d24d77d3ccb92483268d3e9b7d53099265dd6ddca5429a24ed98b6d929593 SHA512 06759b8cdb78b6655bddeb1313bf99d951a591ad323957bf6b32066f49fb8794acf1e169ac1d6c9a3da024b9a20948b3cf945b8ffe877939f35f6b33873601a8 +EBUILD pikepdf-9.1.0.ebuild 1951 BLAKE2B 6dab9a829f96bc2c0c806942a745c1879e2005b602094fac0cb515d03404b964c6219dcff480dbc15422f470e89e06b35f6295cbcd953109a5f63a8d537a95de SHA512 dd634dd434d3e1fecd21775dfe33175ac9dca6062d6ba57264eba6fa55628230656c22f3d50d136f29e71f13af853ffb88ed0f4b412a128d5f5c2b8ec2950e0e MISC metadata.xml 687 BLAKE2B 07c94d9dac5323202f955fd9c1e5a6fc78518a0a6f703c54c73b70e774900c41a4823beb3f8be7068d83878d1e60df0d7e30efd53bbc1ba31019477de82b092f SHA512 1be3ec00342e8079363db0c57f75ae88bd05e873869fbbb27442e9fe98eb6917c55b4eaf03ed22c4c44ca3aec9b84839cbc254202460a3266bbc42ff8f0f84b3 diff --git a/dev-python/pikepdf/pikepdf-9.1.0.ebuild b/dev-python/pikepdf/pikepdf-9.1.0.ebuild new file mode 100644 index 000000000000..83a7ea2c9370 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-9.1.0.ebuild @@ -0,0 +1,74 @@ +# 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..13} 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" +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-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}] + !big-endian? ( + >=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 + +src_prepare() { + distutils-r1_src_prepare + + sed -e '/-n auto/d' -i pyproject.toml || die +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile to system load + tests/test_image_access.py::test_random_image + tests/test_image_access.py::test_image_save_compare + tests/test_image_access.py::test_palette_nonrgb + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} |