dev-python/lxml: drop 4.9.1
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
3769cfc228
commit
25b370852a
10
README.md
10
README.md
@ -606,22 +606,22 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
||||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 2386 Ebuilds in total, 2368 of them have in total 2409 (43 different) licenses assigned.
|
||||
There are 2385 Ebuilds in total, 2367 of them have in total 2405 (43 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1362|
|
||||
|Apache-2.0|545|
|
||||
|GPL-3|150|
|
||||
|BSD|125|
|
||||
|GPL-2|29|
|
||||
|BSD|124|
|
||||
|GPL-2|28|
|
||||
|LGPL-3|24|
|
||||
|BSD-2|19|
|
||||
|GPL-3+|17|
|
||||
|LGPL-3+|17|
|
||||
|all-rights-reserved|15|
|
||||
|Unlicense|14|
|
||||
|PSF-2|12|
|
||||
|PSF-2|11|
|
||||
|ISC|8|
|
||||
|AGPL-3|7|
|
||||
|MPL-2.0|6|
|
||||
@ -638,7 +638,6 @@ There are 2386 Ebuilds in total, 2368 of them have in total 2409 (43 different)
|
||||
|AGPL-3+|2|
|
||||
|LGPL-2+|2|
|
||||
|public-domain|2|
|
||||
|ElementTree|2|
|
||||
|BSD-4|2|
|
||||
|LGPL-2|2|
|
||||
|BitstreamVera|1|
|
||||
@ -647,6 +646,7 @@ There are 2386 Ebuilds in total, 2368 of them have in total 2409 (43 different)
|
||||
|ECL-2.0|1|
|
||||
|Boost-1.0|1|
|
||||
|PSF-2.4|1|
|
||||
|ElementTree|1|
|
||||
|NEWLIB|1|
|
||||
|CC-BY-NC-SA-3.0|1|
|
||||
|MPL-1.1|1|
|
||||
|
@ -1,7 +1,5 @@
|
||||
AUX lxml-4.6.0-tests-pypy.patch 18051 BLAKE2B 99d97fa2e874c9bec4a866c3303b54ea2ab1e6abddf148d142cb66ee035b1eab1e05eed924d34451c5db38dc37f77104539cbfc2fe45815c17445b6359dcb857 SHA512 f6c6c2b00a49e6ca19d8b9123c364003a682c2e8df0c42d8600085d1cb094ba5cedd162bfc794e7d9acfff93aac771953dca5a879c3b957af1e2e8bd1db05515
|
||||
AUX lxml-5.1.0-pypy.patch 6885 BLAKE2B 132f2b9037c662f41fd55a0846ac211a6a54a7ac0d976aee815f4dfc787636da2c479f1cd7b2152ad3bbd47fd12e1c0307188f94f8a0c86789d7a84910e46c58 SHA512 4a10ac07626cc69c64ca87ac6c63b03fb1d05631bd7433fac6eca5c46ed896be5d8bc0598d833d6a117adf88d537d8b7b07adbff0457e168def4d6139f11ac9f
|
||||
DIST lxml-4.9.1.gh.tar.gz 960663 BLAKE2B bb464757f9188a76661732d237f3b0f9010f51dd9c5426b578ca8fdb486d28fcfec81d4dd817b2fa0601ed9d7890e01ce71e4ea4c842b92e59dd5437200bad22 SHA512 f52d54908f92997f610638a9a3054cb73723ae81a5ad9e77918b0603ec7441b0e7d2143f8a8ac66c05cd6a0b3b298d348397b7e2df19f83c21e336514c47d910
|
||||
DIST lxml-5.1.0.gh.tar.gz 962111 BLAKE2B 31c82eb198911d82fd9f7882bf94547b2367f3b3d1183eb8e8f97297b96faa69230d27b3367160b1f732a5d0878296b2d11787c3b220416c81a920e62ebec4f2 SHA512 1fadfeac1fb8b1e4fb1f7f2acb056865eb2567300a6c728eaede380d846ac75a6e33ebebcbbc6d60f54102152afd5dddf970058c4e27af396e9fa58e83c407a7
|
||||
EBUILD lxml-4.9.1.ebuild 2688 BLAKE2B 7a12d8f6c3172e14624f10a143bb855a95864473e1cd1ece00fc3aedd5e1eb0042adcf22455c24392b5734250bf465671f9142728bab088e8a5f26592133295d SHA512 2e7515bb95d77eb9a75c06c657c220b0f8fea1f1e57672b09e41e76905585e910f16f10d91b7ab5812b5c12a2c738b912be4023d19751f01edcb07d1ad8c2b8e
|
||||
EBUILD lxml-5.1.0.ebuild 2767 BLAKE2B 452afcd9eba209b4ba4cc3b018995a41a70c5162bf2dc60c8d703a1bff105db4ea32e9740da63e31e0b4afb1d18cdc75e68c5ce0310fb569cdc33504d414d861 SHA512 63582fe6315ea59be8066eccfafcf4443421b6ce3ddda0d1272ca068be75123d129536201e6b917b5bc1d7662aae9a6e2c96dfce428dd5da15b422cb2f1fc152
|
||||
MISC metadata.xml 497 BLAKE2B e7115c2a7a383890c4352ad4c7671726546c67e2c5f33ee9132239071776731d8264212a421e5692c0096b741150f75c2dccb8be3d49a0917c372b741f88189d SHA512 4c933fd511cbb980691f4180e0d7c1f47e367a3ed056bc84e616fd2507020493f8365835e9d186f043c5f11d91193c0200ea9f890949e7e1e8b8faee203cb025
|
||||
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
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
|
||||
"
|
||||
SRC_URI="https://github.com/lxml/lxml/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}"/lxml-${P}
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="doc examples +threads test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
DEPEND="
|
||||
>=dev-libs/libxml2-2.9.12-r2
|
||||
>=dev-libs/libxslt-1.1.28"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
>=dev-python/cython-0.29.29[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
test? (
|
||||
dev-python/cssselect[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.6.0-tests-pypy.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
use doc || return 0
|
||||
python_has_version -b "dev-python/docutils[${PYTHON_USEDEP}]" &&
|
||||
python_has_version -b "dev-python/pygments[${PYTHON_USEDEP}]" &&
|
||||
python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" &&
|
||||
python_has_version -b "dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i -e '/sys\.path/d' test.py || die
|
||||
|
||||
# don't use some random SDK on Darwin
|
||||
sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \
|
||||
setupinfo.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
tc-export PKG_CONFIG
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
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
|
||||
cp -al src/lxml/tests "${dir}/" || die
|
||||
cp -al src/lxml/html/tests "${dir}/html/" || die
|
||||
ln -rs "${S}"/doc "${dir}"/../../ || die
|
||||
|
||||
"${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( README.rst *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
if use examples; then
|
||||
dodoc -r samples
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup4
|
||||
optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user