From 53f17f826dea78098e3f8e06fc0db10211bccd50 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 24 Jan 2023 10:57:45 +0100 Subject: [PATCH] dev-python/lxml: Sync with Gentoo It's from Gentoo commit 6084584607508b5da388165dc40397b4f9b64867. --- .../portage-stable/dev-python/lxml/Manifest | 2 +- ...lxml-4.8.0-r1.ebuild => lxml-4.9.2.ebuild} | 26 +++++++++++-------- .../dev-python/lxml/metadata.xml | 1 + 3 files changed, 17 insertions(+), 12 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-python/lxml/{lxml-4.8.0-r1.ebuild => lxml-4.9.2.ebuild} (79%) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/lxml/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/lxml/Manifest index 1bbee16e74..dfb11dbe76 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/lxml/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/lxml/Manifest @@ -1 +1 @@ -DIST lxml-4.8.0.tar.gz 959376 BLAKE2B a40be5e058153e1dc3f8501b645b0211f4498928ed71b161df54a67501356e9968064401b6d17e17dc8d62223b29e794eaa2bee7ff78ffee203d9f9a22f3e1c2 SHA512 bbcd8ea001cfa2820dcac4e00de6ded81700b2f0bd4a58bcdd4da05a19a107f57cd56280c4838fe19ee7ecd6be105878bf8c2f1c0e5111899c4ad1a2ba03537f +DIST lxml-4.9.2.gh.tar.gz 957365 BLAKE2B 201b3977da90386e413f1b89a4b7ee1e44d6bbea05e622e92feb1d67c637ce46ebf746f0648f034ed3bccd609233ccf7d8a7ee456f13b8d9ca8587ddf1ebd32a SHA512 816b2fe2eef2a97a0df66cbc39850c6dc3d6470e4033cc73edb40c80c0afbbe6c084d042d7c98b29497926e76f648caa42e1ebe5d83060af08af6972316077b0 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/lxml/lxml-4.8.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/lxml/lxml-4.9.2.ebuild similarity index 79% rename from sdk_container/src/third_party/portage-stable/dev-python/lxml/lxml-4.8.0-r1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/lxml/lxml-4.9.2.ebuild index 26e673acd7..ffa5dfcbf7 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/lxml/lxml-4.8.0-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/lxml/lxml-4.9.2.ebuild @@ -1,10 +1,10 @@ -# 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..11} pypy3 ) +PYTHON_COMPAT=( python3_{9..11} pypy3 ) inherit distutils-r1 optfeature toolchain-funcs @@ -12,9 +12,12 @@ DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" HOMEPAGE=" https://lxml.de/ https://pypi.org/project/lxml/ - https://github.com/lxml/lxml + https://github.com/lxml/lxml/ +" +SRC_URI=" + https://github.com/lxml/lxml/archive/${P}.tar.gz + -> ${P}.gh.tar.gz " -SRC_URI="https://github.com/lxml/lxml/archive/${P}.tar.gz" S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" @@ -26,19 +29,20 @@ 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" + >=dev-libs/libxslt-1.1.28 +" RDEPEND=" ${DEPEND} " BDEPEND=" virtual/pkgconfig - dev-python/cython[${PYTHON_USEDEP}] + >=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}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] ') ) test? ( @@ -52,10 +56,10 @@ PATCHES=( python_check_deps() { use doc || return 0 - has_version "dev-python/docutils[${PYTHON_USEDEP}]" && - has_version "dev-python/pygments[${PYTHON_USEDEP}]" && - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && - has_version "dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" + 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() { diff --git a/sdk_container/src/third_party/portage-stable/dev-python/lxml/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-python/lxml/metadata.xml index 5d72e3dc72..f7dc349c9f 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/lxml/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/dev-python/lxml/metadata.xml @@ -6,6 +6,7 @@ Python + cpe:/a:lxml:lxml lxml lxml/lxml https://bugs.launchpad.net/lxml