dev-python/pypdf: Bump to 6.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-11-10 05:47:46 +01:00
parent eeefe78907
commit 6096cc801c
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 52 additions and 0 deletions

View File

@ -4,4 +4,5 @@ DIST pypdf-5.9.0.gh.tar.gz 8074634 BLAKE2B a910a8158aa35876240d77b06c10fc3782b98
DIST pypdf-6.0.0.gh.tar.gz 8072420 BLAKE2B 62a455409a13ec0d3cf41543dd696eff7797367648da0b0e6638b1e1dde8bdd585acb7a4cc32c21ee1ac5092f84683b1ae856aa3dd1b71363a49ea048752a0e2 SHA512 2a7e82bec9ae45a67040b088842b1adc7caead64495815a4f78e1327fdb4cb91caf71ad535c0b735d93cc4df25b662774169249675ae6aff099a6321322ec3d3
DIST pypdf-6.1.2.gh.tar.gz 8096354 BLAKE2B 0e98c9408ce0df8d13df22e4edeaf76409b2146bad940b43695062950d6595a30a74a45e742cd96721ebbe17a4d1d71bd6750ae920c8005ee40fcd7c320c3010 SHA512 d5186191e7321db393a767d666158d91432cefc62f819596f5012651f228c3396741d3352e98f0098182c6d6091bdd7500c81c2c441145af910eb38631fc7ae1
DIST pypdf-6.1.3.gh.tar.gz 8097681 BLAKE2B 90b617886d9e6ccdac701308479c3db6671f850f91002339c6e6530b270eef196204f54456956cfa3cf8f4853063996ae158f09d34e4b11a43319f712d6ed262 SHA512 6fc723a2bf3d93d2a759e982bc1f131393711a7e55b9508a13293d1d5cedb3f28857bc49560e3e283057bb6e63bbfd3b925e2b13de7388833f1d8cfcbc2c0ab6
DIST pypdf-6.2.0.gh.tar.gz 8292284 BLAKE2B 5df0f87c0df7760c510b92a66e80cd260064583812e8d50c9c8b735e1b21b1e81ba0170fc112145df1d7de4681da5ed42555ef850d874a62eda5e08655878d21 SHA512 dcbcced7a0fef3cd08834850300e8eb9608e92a6092fbc68e448a43fa7ea80d3f03b864d294d526633b1bf693af8d97af42290e2d98b05078cc85c385f523194
DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3

View File

@ -0,0 +1,51 @@
# Copyright 1999-2025 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}]
)
"
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"
}