diff options
| author | Crucible <crucible@localhost> | 2026-10-16 07:33:12 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-16 07:33:12 -0500 |
| commit | ddd33649d7beee53470fb432decfab20ca94bc70 (patch) | |
| tree | ebe6368129c08242c10879377a8ba7bbc6d6c8c7 /dev-python/pypdf | |
| parent | c38023a8fad627dc9baa8ab92d01156d5448b897 (diff) | |
| download | srcux-ddd33649d7beee53470fb432decfab20ca94bc70.tar.gz srcux-ddd33649d7beee53470fb432decfab20ca94bc70.tar.xz srcux-ddd33649d7beee53470fb432decfab20ca94bc70.zip | |
Publish srcux candidate 0000000713-20261016-072911
Diffstat (limited to 'dev-python/pypdf')
| -rw-r--r-- | dev-python/pypdf/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pypdf/pypdf-6.21.0.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 84adcf220140..d47fd8086cc0 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -8,4 +8,6 @@ DIST pypdf-6.20.0.tar.gz 7072602 BLAKE2B 077fda66d0c13c430e86964aff1f42ee08d8998 DIST pypdf-6.20.0.tar.gz.provenance 9621 BLAKE2B 41ad2e67c10eb3761f6b76641f7a5a5382564b5c359b80376addbf97f0ed5302aadd4ed53ad6fe68c37a9093920b4855a29614150a04dcfa1ab403f2190424d8 SHA512 fcba515f2c5f0572caec8083ac31d405d54b0fbe63a73595785d1ee324e791efb2b70ea289bd3c32eb4856392d2c22b8c0f30e12e34eba246a3993fa40e9578a DIST pypdf-6.20.1.tar.gz 7075352 BLAKE2B 37cdad5ac64fcd04d20de5f92e8ebbfc0812247469948d4c2f6d5f903e2fee3973cce57beb7d56e023d98706d15a06033e407b6e72894711358c7d15eff9b8b0 SHA512 0522345a0501cba23bac9f8170a712a86d77308ddba31c86313add40e74847e5a568ab1d464af5a9db0ed39f68ca5011d9b6b35f25c5c4b0c0b652308431317a DIST pypdf-6.20.1.tar.gz.provenance 9621 BLAKE2B e8dfa965f337d79c88de17dbeec0e6d4c00ae93d900dfd8520fff99a0eb86ed3b5d975c91d82d7283558334ae829913a4dbfc77ca25197b14c9be2db9678f51e SHA512 f6edea4c84e085d4a4b62c2550fd1efa277c58ae650b3c6c94a16ec6b82e3da67500ab47ab44f22a3d6653b7af09da08ef842232dc1a5325c089d264eb837059 +DIST pypdf-6.21.0.tar.gz 7088285 BLAKE2B d88a8775a88855a3d3c68ad428d2e3cc71287e25ad2f0403dd275109cf6b3c6ecfecf7e3f91e0c5593ee5ba05efdb0a6466b978c6a28a32dd11f592a5c723c80 SHA512 0529c071d661c117fb294748e0a8cc838543c41f91772c7fc752365ae46744be3257a822bcbd159a90128a1a515bcce6010a7661eb2a9dca9bfeaecc6154c19b +DIST pypdf-6.21.0.tar.gz.provenance 9668 BLAKE2B ae490f77ca9169550fb48cdbd1b159e0f5bcef6a09a9e838f0d1bfb741dc41fc0fdc96a871f5d287cb4658894ac9014bffc28a1956013350422485b2da1dfeb8 SHA512 619a8e31272eae7b659cf7374a2409db6a287c8b6c7241d51b526f6cf1826f3d4f9f955a117b2eee8d04b1fea8e98d5e83ca61947923a92964a23ce1b84fd6fa DIST pypdf-sample-files-818dc013ad1f537198e9fcfae8a6b0dffe25ffa3.gh.tar.gz 11850954 BLAKE2B fbd0af91de44f2d224b3266727f0dfc462efb4d23176f4ebff147cbfa37337d891859c468b545d0c00796048584e6b621dc622d667e3d45c0b89b92f29ca3030 SHA512 bc601bfaf17f31c6358f594eaf879479e97028d7f5e5825c309a5d1eb843bfea5080c9e151287a0d915ecbc3f4d4755e326ac8fa1ceeb696c76b9f5ecc0d7e9f diff --git a/dev-python/pypdf/pypdf-6.21.0.ebuild b/dev-python/pypdf/pypdf-6.21.0.ebuild new file mode 100644 index 000000000000..4dc16068247d --- /dev/null +++ b/dev-python/pypdf/pypdf-6.21.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/py-pdf/pypdf +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +SAMPLE_COMMIT=818dc013ad1f537198e9fcfae8a6b0dffe25ffa3 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI+=" + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + >=dev-python/cryptography-3.1[${PYTHON_USEDEP}] + dev-python/fonttools[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/jbig2dec[png] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # probably requires extra deps + tests/test_appearance_stream.py::test_appearance_stream_rtl + # speed test, uses tons of memory + tests/test_filters.py::test_flatedecode__decode_png_prediction__speed + # apparently we get half the limit somehow? + tests/generic/test_data_structures.py::test_dictionary_object__read_from_stream__missing_length__limit + tests/generic/test_data_structures.py::test_dictionary_object__read_from_stream__read_unsized__limit +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}" "${S}"/sample-files || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} |
