summaryrefslogtreecommitdiff
path: root/dev-python/pypdf
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-09-05 01:19:17 -0500
committerroot <root@alpha.trunkmasters.com>2026-09-05 01:19:17 -0500
commit58d5b6df48974566c90f6b21e09f15dddad2134b (patch)
tree64a109688cf729102ee3abd1bd72a49d9167dc04 /dev-python/pypdf
parenteab7bf62d18e386cbf1b987181a08ae0525743f6 (diff)
downloadbaldeagleos-repo-58d5b6df48974566c90f6b21e09f15dddad2134b.tar.gz
baldeagleos-repo-58d5b6df48974566c90f6b21e09f15dddad2134b.tar.xz
baldeagleos-repo-58d5b6df48974566c90f6b21e09f15dddad2134b.zip
Adding metadata
Diffstat (limited to 'dev-python/pypdf')
-rw-r--r--dev-python/pypdf/Manifest4
-rw-r--r--dev-python/pypdf/pypdf-6.16.1.ebuild58
-rw-r--r--dev-python/pypdf/pypdf-6.17.0.ebuild (renamed from dev-python/pypdf/pypdf-6.16.0.ebuild)11
3 files changed, 8 insertions, 65 deletions
diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest
index 95c040ca8862..0d3df0bb9514 100644
--- a/dev-python/pypdf/Manifest
+++ b/dev-python/pypdf/Manifest
@@ -1,6 +1,6 @@
DIST pypdf-6.14.2.gh.tar.gz 9585097 BLAKE2B d24eeea1aeb0d491880d99922c9ab27b6468df6782bc3dc25c1209c3d14b98ef25c8bd72a103f7fb645606f5263fa17280e66a6c0ea72ea56d436f5a65d883bf SHA512 798df3e54a3185a790efbd15f8fc0a0eaff06e6695a4b9529da2108df0391f400f2da483b8cb5cb0c7bc9b131fb54dcc787095787203178853a0fa2573a0428a
DIST pypdf-6.15.0.gh.tar.gz 10091649 BLAKE2B bc4384287edc9332971ba2c8b80f196ddd1dbc5f03eb8ca8f501fdc4fcbf224a745a536ce368bf3a02cb281a89564b3afeb059414353e60ca1b7da1f15063e8f SHA512 ea4138958ad75707cc536e670420d6cf4c57c4b10f85a46bee763d7b045254aa39d75a4f22303fcc8e104e97581316013f85a084e7baf4ab647e3268792f9dfe
-DIST pypdf-6.16.0.gh.tar.gz 10101871 BLAKE2B 616feb936ed392ece3a28199f05c4e0ca5ed30211ddbeb0fcfbe63f77bdfba033fa11132e5f8f25bae58fc9b76f5a0389535dbf4c16c861d000eb1e9f8ad3364 SHA512 a9b7e6275b6d8ecf769fb78b091388090eb9175ee0ab7ce9a76755ba5003a1514e9df86b519f2858e5fd59de6e6dc2ddebba2ac445131c68ce4721f6b1e0c50e
-DIST pypdf-6.16.1.gh.tar.gz 10102204 BLAKE2B 34ff13aeac0b77d6ddd5910dda5203624ff309c1ff2f7591ce0877c17c05049dd38811a8159e2c33d7b98d32ea193062ecfdb4f0c26d30b3c97f67064ebf348c SHA512 a25deabae88ca3bcfc77b317dfaa7cf5ec6ebd3a43d52daa6bcbfdb462b2f6ca9b1e5a34c030889ce28128f0bceab388a587b58f2ddc15efea4ccfc26d6bf6ca
DIST pypdf-6.16.2.gh.tar.gz 10111364 BLAKE2B 5f111487e3212a4a90b4e8595b2cad8fd4834b2256cf642821e3baff401ab6e6572316d8585441702e8353aa7b69730c99e15bce52ab83862a087fd9544f6bd7 SHA512 86fd9381b5c3cb8eb237834a298335fa75f80ad3ae57e673103c63b8a41cf6a8d172b65480d45a36fed5119b772fc720075197e17446b5e7c02bb5bbbf0ae459
+DIST pypdf-6.17.0.tar.gz 7018352 BLAKE2B d71d8c781a63ac6555687a1bbcee35430026cedbc6e0a7037c63d1821b19386a62865760f94d9452946286eeaca51dfa38d4e36c51dd61764080053a946a79a8 SHA512 21bf4aa0c077911c21c22e349e943df2a4f0f40244754ae5bfa6624c11b8ff7907e2a2613531f2a5d00ad52c4ba4bef8643a9b57944906a3d3a0d3c0d44ee4f1
+DIST pypdf-6.17.0.tar.gz.provenance 9698 BLAKE2B cf83fc4ab9ffc1f97ab32dbdf161d6d659580595575d30299a3aa5e0e8bee9240cf58c4a417a9945896fbb274167ac34445115ff1a093f71dcdaef10df98396e SHA512 5b5b7fa985d94634cacc755750e5b58823ffa5a839ae35c7d6ce6df5fe397194a15862c3be9635bb177acad75162ca231e65c30438e5f06ba13fc2f9d4dab46c
DIST pypdf-sample-files-818dc013ad1f537198e9fcfae8a6b0dffe25ffa3.gh.tar.gz 11850954 BLAKE2B fbd0af91de44f2d224b3266727f0dfc462efb4d23176f4ebff147cbfa37337d891859c468b545d0c00796048584e6b621dc622d667e3d45c0b89b92f29ca3030 SHA512 bc601bfaf17f31c6358f594eaf879479e97028d7f5e5825c309a5d1eb843bfea5080c9e151287a0d915ecbc3f4d4755e326ac8fa1ceeb696c76b9f5ecc0d7e9f
diff --git a/dev-python/pypdf/pypdf-6.16.1.ebuild b/dev-python/pypdf/pypdf-6.16.1.ebuild
deleted file mode 100644
index 1536c8c54bd2..000000000000
--- a/dev-python/pypdf/pypdf-6.16.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=flit-core
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1
-
-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="
- https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
- 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
-)
-
-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"
-}
diff --git a/dev-python/pypdf/pypdf-6.16.0.ebuild b/dev-python/pypdf/pypdf-6.17.0.ebuild
index 1536c8c54bd2..c5dfe9f5773b 100644
--- a/dev-python/pypdf/pypdf-6.16.0.ebuild
+++ b/dev-python/pypdf/pypdf-6.17.0.ebuild
@@ -4,9 +4,10 @@
EAPI=8
DISTUTILS_USE_PEP517=flit-core
+PYPI_VERIFY_REPO=https://github.com/py-pdf/pypdf
PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1
+inherit distutils-r1 pypi
SAMPLE_COMMIT=818dc013ad1f537198e9fcfae8a6b0dffe25ffa3
DESCRIPTION="Python library to work with PDF files"
@@ -14,9 +15,7 @@ HOMEPAGE="
https://pypi.org/project/pypdf/
https://github.com/py-pdf/pypdf/
"
-SRC_URI="
- https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
+SRC_URI+="
test? (
https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz
-> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz
@@ -44,12 +43,14 @@ 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
)
src_unpack() {
default
if use test; then
- mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die
+ mv "sample-files-${SAMPLE_COMMIT}" "${S}"/sample-files || die
fi
}