commit:     791a5c13af62134c9d9b859a3cdcf1b23b43c29a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 03:59:44 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 03:59:44 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=791a5c13

dev-python/pypdf: Bump to 6.9.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pypdf/Manifest           |  1 +
 dev-python/pypdf/pypdf-6.9.0.ebuild | 52 +++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest
index cf1a42991e32..af2ec941825e 100644
--- a/dev-python/pypdf/Manifest
+++ b/dev-python/pypdf/Manifest
@@ -1,2 +1,3 @@
 DIST pypdf-6.7.5.gh.tar.gz 8386598 BLAKE2B 
e3b49c4a5f00769f89b4973677c798b6e00a6e3d2f47ccd4d2e89f21496fc24bac9a73a5c469f4ce9b50ab4ff3738f08710bef3f8ece44dbf75e23229618098f
 SHA512 
1d33acc25027fae56e5a94ea496771cc033b5a42598b05f5d1bc28171974834f5ab2fe247c4da7d8917ade9b3640c2d615e5e3230b1cac64ba542683c743d9b9
+DIST pypdf-6.9.0.gh.tar.gz 8394613 BLAKE2B 
9e127c143aa4f5e92dd0fbe930651d05ee3cf0c39f8d06344db054681443f03a38a00e73200b44e0af5a419d4379e90e9a3e70bf1be32ee8fbc337ea7e7e4bd1
 SHA512 
eb223c3d1b0446505a75e37fcb1f6d6f976e88e0d3d5f34033a112c0ff1bebc2628d314877a186a3de9506f891b8b8901fc386e89ca77cdd507a61f6cec4e174
 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 
11748093 BLAKE2B 
c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5
 SHA512 
c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3

diff --git a/dev-python/pypdf/pypdf-6.9.0.ebuild 
b/dev-python/pypdf/pypdf-6.9.0.ebuild
new file mode 100644
index 000000000000..ce172ee37b38
--- /dev/null
+++ b/dev-python/pypdf/pypdf-6.9.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753
+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 ~ppc64 ~riscv ~x86"
+
+BDEPEND="
+       test? (
+               dev-python/cryptography[${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
+
+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"
+}

Reply via email to