dev-python/lxml: add 4.9.1, drop 4.8.0-r2

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-01-29 10:27:33 +01:00 committed by Andreas Billmeier
parent 02fccd889a
commit 4b4060ce47
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 17 additions and 12 deletions

View File

@ -1,4 +1,4 @@
AUX lxml-4.6.0-tests-pypy.patch 18051 BLAKE2B 99d97fa2e874c9bec4a866c3303b54ea2ab1e6abddf148d142cb66ee035b1eab1e05eed924d34451c5db38dc37f77104539cbfc2fe45815c17445b6359dcb857 SHA512 f6c6c2b00a49e6ca19d8b9123c364003a682c2e8df0c42d8600085d1cb094ba5cedd162bfc794e7d9acfff93aac771953dca5a879c3b957af1e2e8bd1db05515
DIST lxml-4.8.0.gh.tar.gz 959376 BLAKE2B a40be5e058153e1dc3f8501b645b0211f4498928ed71b161df54a67501356e9968064401b6d17e17dc8d62223b29e794eaa2bee7ff78ffee203d9f9a22f3e1c2 SHA512 bbcd8ea001cfa2820dcac4e00de6ded81700b2f0bd4a58bcdd4da05a19a107f57cd56280c4838fe19ee7ecd6be105878bf8c2f1c0e5111899c4ad1a2ba03537f
EBUILD lxml-4.8.0-r2.ebuild 2617 BLAKE2B 90bebd0936c5f2077d280a861ff4ae7257d3afbf04a71d613eb73f3ac7a03b38651fc143a41b7eeb70277e04c82cf7e727051e7a49fc9e36cd50977b089e5e86 SHA512 bfa852b418e8466cf65cd7ba481b06553085b38679b48f85685a08440afc728dd89c54032b83c94c83c83705f807a4d8d892d9bbfc9e693e5d15b017bf6c6879
DIST lxml-4.9.1.gh.tar.gz 960663 BLAKE2B bb464757f9188a76661732d237f3b0f9010f51dd9c5426b578ca8fdb486d28fcfec81d4dd817b2fa0601ed9d7890e01ce71e4ea4c842b92e59dd5437200bad22 SHA512 f52d54908f92997f610638a9a3054cb73723ae81a5ad9e77918b0603ec7441b0e7d2143f8a8ac66c05cd6a0b3b298d348397b7e2df19f83c21e336514c47d910
EBUILD lxml-4.9.1.ebuild 2821 BLAKE2B 729b0f9a61f67a426765d463880e124baea9055889cfc6e59d112d3e870b826a6ff9f666e5fd323509c5ce530fa84cc2fea0f53f1c23422788e6d074740d8426 SHA512 de4c1edea66adf9f5959d7e14f0610499170d5162de22cbd4e52e1fee666cb8c95e0626c7941df1830238d29e12d7b488c4661a1f7142fe14e94d1d92e0aa5f2
MISC metadata.xml 497 BLAKE2B e7115c2a7a383890c4352ad4c7671726546c67e2c5f33ee9132239071776731d8264212a421e5692c0096b741150f75c2dccb8be3d49a0917c372b741f88189d SHA512 4c933fd511cbb980691f4180e0d7c1f47e367a3ed056bc84e616fd2507020493f8365835e9d186f043c5f11d91193c0200ea9f890949e7e1e8b8faee203cb025

View File

@ -1,21 +1,25 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{9..11} pypy3 )
inherit distutils-r1 optfeature toolchain-funcs
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
HOMEPAGE="https://lxml.de/ https://pypi.org/project/lxml/ https://github.com/lxml/lxml"
HOMEPAGE="
https://lxml.de/
https://pypi.org/project/lxml/
https://github.com/lxml/lxml
"
SRC_URI="https://github.com/lxml/lxml/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/lxml-${P}"
S="${WORKDIR}"/lxml-${P}
LICENSE="BSD"
LICENSE="BSD ElementTree GPL-2 PSF-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples +threads test"
RESTRICT="!test? ( test )"
@ -42,7 +46,9 @@ BDEPEND="
)
"
PATCHES=( "${FILESDIR}/${PN}-4.6.0-tests-pypy.patch" )
PATCHES=(
"${FILESDIR}"/${PN}-4.6.0-tests-pypy.patch
)
python_check_deps() {
use doc || return 0
@ -73,8 +79,7 @@ python_compile_all() {
}
python_test() {
local dir
dir=${BUILD_DIR}/test$(python_get_sitedir)/lxml
local dir=${BUILD_DIR}/test$(python_get_sitedir)/lxml
local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH}
cp -al "${BUILD_DIR}"/{install,test} || die
@ -82,7 +87,7 @@ python_test() {
cp -al src/lxml/html/tests "${dir}/html/" || die
ln -rs "${S}"/doc "${dir}"/../../ || die
"${EPYTHON}" test.py -vv --all-levels -p || die "Test fails with ${EPYTHON}"
"${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}"
}
python_install_all() {