mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/pypdf: Bump to 6.14.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,5 +2,6 @@ DIST pypdf-6.11.0.gh.tar.gz 9554012 BLAKE2B 31a91e0137639d120e042906b22de3f5839d
|
||||
DIST pypdf-6.12.2.gh.tar.gz 9564951 BLAKE2B 3d4e38bbbec4e503a6f5a351b975075b598c34ddc66764d0ab2ff36827d7ea4098275ee3c619a5dcd71034d8af6b8f3ae3ecd60539cc8e051d23064da7a27a66 SHA512 c72d351c7603b30a8f18041f151b1930790889b488cc6fc4bf1804073f71b5ca0202a0bca96c2d7f3ffa32eb6b23408fe43579f6c9d05447e8cdcf94b881c1be
|
||||
DIST pypdf-6.13.3.gh.tar.gz 9579398 BLAKE2B 5d94501a9ccfe921dd0b5c77e5791a869f6e4a72c42faa083758cf6a8e7828a1bf83f54c693ac5f0940976a4a88e25d6e5b4be2e7acaea8d45cd05552ea6df16 SHA512 bf034ef2c62cdfcd18bad242cfbdcfeab0e289f776fb2bc3340f782f49d3836a07bfedc002076f0290780ccfb46f0d49329774198856bf4577ad30d19fdf8b7c
|
||||
DIST pypdf-6.14.0.gh.tar.gz 9583092 BLAKE2B a7cea4247c36d3e7e23a7df2d08cd1d4f83b555653ed7c5546c2d65ccac4de0e3bae6db42740034da6672ea0faf3fab8b3ce99235756e93e3ce207dbd8daf6a5 SHA512 b21e9e87d31f905defde5bc94875197d6c2d79a3bc2aabb80f92fdf55f93da43770c3dae9f71967c6c1bddcadf82a647fc83529eadd59997dc29c05a80d19da8
|
||||
DIST pypdf-6.14.2.gh.tar.gz 9585097 BLAKE2B d24eeea1aeb0d491880d99922c9ab27b6468df6782bc3dc25c1209c3d14b98ef25c8bd72a103f7fb645606f5263fa17280e66a6c0ea72ea56d436f5a65d883bf SHA512 798df3e54a3185a790efbd15f8fc0a0eaff06e6695a4b9529da2108df0391f400f2da483b8cb5cb0c7bc9b131fb54dcc787095787203178853a0fa2573a0428a
|
||||
DIST pypdf-sample-files-818dc013ad1f537198e9fcfae8a6b0dffe25ffa3.gh.tar.gz 11850954 BLAKE2B fbd0af91de44f2d224b3266727f0dfc462efb4d23176f4ebff147cbfa37337d891859c468b545d0c00796048584e6b621dc622d667e3d45c0b89b92f29ca3030 SHA512 bc601bfaf17f31c6358f594eaf879479e97028d7f5e5825c309a5d1eb843bfea5080c9e151287a0d915ecbc3f4d4755e326ac8fa1ceeb696c76b9f5ecc0d7e9f
|
||||
DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3
|
||||
|
||||
@@ -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-core
|
||||
PYTHON_COMPAT=( python3_{12..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
|
||||
|
||||
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