commit:     4431b35adb33d20e18a569d0c9c4056eeae9e006
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  3 05:40:10 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar  3 05:58:18 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4431b35a

dev-python/pypdf: Bump to 6.7.5

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

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

diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest
index 0910d8bb18bb..ba4e7b63edf3 100644
--- a/dev-python/pypdf/Manifest
+++ b/dev-python/pypdf/Manifest
@@ -1,4 +1,5 @@
 DIST pypdf-6.7.2.gh.tar.gz 8385062 BLAKE2B 
f2d11b6c3c0c47cc229f187ce962ea25d4d792bc6b934ce267ea7a7f950b7902f887a0e007cf591699314db81820e1e115c46fb017e2defc9ff25b6db7c50952
 SHA512 
fb9ea3da1c5de7e63d3872321df5f12f895f6cd3197161e49d8434ed07f4ea4e386e4dc367d20dcefdd1643a65c1b19342c72271ee5a9ef9b3af628847b9f561
 DIST pypdf-6.7.3.gh.tar.gz 8385676 BLAKE2B 
97e76e6c7f7ceaa278eb32ba47aef6801cb83adb3dbf6a90c1504c7aaff82ab3233edb5d49e0480b52d6679004d9eac2e7f19bde9d64ec70564c23c517be764f
 SHA512 
0c9f6ae7b3796dc1cbd445605ca2dfe4ba5ca222c50cab7b817b361af3cc29dd27831c375132eb7bb17e6ef669ccf536ca5b566cc81c047d012bd11e81356c23
 DIST pypdf-6.7.4.gh.tar.gz 8386627 BLAKE2B 
91b9e5b2086ee9b56afe45c5d2e1b765d0860ab2cff367eb839b96074efc283734c90002210a98eb5289292002e984661a0fb7c2ac285f4aa3d3ab4b29d59235
 SHA512 
7b0e2417036cbf524bc31430b55f317b7d8efabdf7a96cab9c05a2fc6b5a3ca022a4b8e3bad71d259b5cb06e8eab058255dd84c972d6929820e0a3a151cd95b7
+DIST pypdf-6.7.5.gh.tar.gz 8386598 BLAKE2B 
e3b49c4a5f00769f89b4973677c798b6e00a6e3d2f47ccd4d2e89f21496fc24bac9a73a5c469f4ce9b50ab4ff3738f08710bef3f8ece44dbf75e23229618098f
 SHA512 
1d33acc25027fae56e5a94ea496771cc033b5a42598b05f5d1bc28171974834f5ab2fe247c4da7d8917ade9b3640c2d615e5e3230b1cac64ba542683c743d9b9
 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 
11748093 BLAKE2B 
c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5
 SHA512 
c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3

diff --git a/dev-python/pypdf/pypdf-6.7.5.ebuild 
b/dev-python/pypdf/pypdf-6.7.5.ebuild
new file mode 100644
index 000000000000..ce172ee37b38
--- /dev/null
+++ b/dev-python/pypdf/pypdf-6.7.5.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