mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-python/pypdf: Bump to 6.11.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
DIST pypdf-6.10.2.gh.tar.gz 8408895 BLAKE2B 50d6bdfbc2483f7ffbb8d22a0d9b23230fdf6592ff4a75f806388d85e2a8327e21d17e1a0eb0dea502de3f49e7345a689c7dc4dc5ad29ee5499b3be11b909782 SHA512 d17c24a92a660593379b432af25c1a4009df4bb467720fa3fd5f8c616ce2e21fdf1eff6a8ad3cb7cccc8d8a71b8781cd4a499502aa15a84794b155ec84521214
|
||||
DIST pypdf-6.11.0.gh.tar.gz 9554012 BLAKE2B 31a91e0137639d120e042906b22de3f5839dd4c1006e48f74837d920ae6f87fd6967ff9507311a3a6173905b7216ddb9f299b334ed7bed718c4394d80aa7c194 SHA512 9ef7ad34d34a56aafc128dbeff86ff65666682498ab0c46b2d2e96859a05941f8eb5904d8d73a7d31e5b855829f731017d9fa3eb1c85782a0e5416a5ae6aa0ce
|
||||
DIST pypdf-6.9.2.gh.tar.gz 8397701 BLAKE2B b2864dd22ab6585a5d850f996ac09dddc5bebff79fcc1956b7ce495ef4292444b2babf136bf2fa0d7045b27fc1cfed1bec69056240710532a300140b7ac831b3 SHA512 1c060d9f86e1b0bd0e1552f32c950cd29f1e8858e28ce7457beb88761cefa149f2b16c87a0cf5780575c205321f2b042af6bfc362ae9cadbbd55862f8464b7ee
|
||||
DIST pypdf-sample-files-65e82ed36c1efd9bd7172a35c8dcfd6e18aabfb2.gh.tar.gz 11748256 BLAKE2B f1820f38ebda08bbf2019e81e2cc605fef3dc366904ed552c3f95673d93c1bd440fdee4b8c199b6cbfd90a7ebfd5aab55b22edc6a3ad8418f9efdafd4e4c741d SHA512 5795189231e9e5f176b530c602ca778b1b8864c88b69c16c37f430ef6a2f3d4b08c3a8757f6522a1472b1b09583bd8df50f2628319bb076af45326b36f6b876a
|
||||
DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3
|
||||
|
||||
53
dev-python/pypdf/pypdf-6.11.0.ebuild
Normal file
53
dev-python/pypdf/pypdf-6.11.0.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# 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-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
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user