mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-22 04:19:06 -07:00
dev-python/pypdf: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST pypdf-6.4.2.gh.tar.gz 8295275 BLAKE2B 745936795cabbdd7f561743fb7a0e6b497a683fe23f32560336e82c3f5866a289ffd771e60f73d1782f73f5019191375704f0bc66617eb24cec860ab2613af8d SHA512 985f5a41bf2ab9ea9930dcd6a8f203596d1b50518f63ee815e0e6e74e050afd9a124b380fd8066c7f0b134886a645e165598d7764e3a40c3670df7e8de5c1995
|
||||
DIST pypdf-6.5.0.gh.tar.gz 8301408 BLAKE2B 9df78a6d9cd8da07d55649ad92491a97d9fc02ea5329b8d6697a05f27a3c0dd1225271dfc4fda7cee6f6c571e328559cd42ead3535904f69c7517a90aa4dceb9 SHA512 09b098660affaaab94c2b7c3aec25538c639c1b15190aee01fa6d9e5882ad75299d53629bd4566bc7c667bfbad8cc8dc05a389598f29dd777121ea9eb10bea40
|
||||
DIST pypdf-6.6.2.gh.tar.gz 8364619 BLAKE2B 8aed0d554c764ab5626a86fa4d6513e9a0c0fed26843d2f84ca1c613a67284660b6607d1a12678a41f3086dc1624770b558134f765b49268d28d9ce25ac2732d SHA512 310261c47f9d1dfcbbdb95138d76b90ceb202573e148edbb3a30cf74f1e20f0afd831131d3dcbd39e918ac44507a32cd50465f44e8aff5780ed66ed611bd6c22
|
||||
DIST pypdf-6.7.0.gh.tar.gz 8383964 BLAKE2B a01ca5d9fb391cd1b0b770a02e3bf3e4354f779a40219a71c47d606ba5f32e29fb595d9745ee103665fca6cc7ff6233d3adb2b16fb096c2007622c3de4148732 SHA512 d0e514a5a3ea1b8798a7d53b5df8851747b858d46e454ffa37257b782c83ff6fef92959bd72f98889b870eecb7f4e47bd5353fb2b6b253aeff9feb6b80e49070
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# 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"
|
||||
}
|
||||
Reference in New Issue
Block a user