diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-20 12:38:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-20 12:38:42 +0000 |
| commit | f4e4dc8ea72bb62021fac69c8c7b1580c3b2434f (patch) | |
| tree | 13c1bead84fd991b9e5d4539bf64d765693630e6 /dev-python/soupsieve | |
| parent | 0bb739e46f4201a2cb9f72c5915a046c2927079d (diff) | |
| download | srcux-f4e4dc8ea72bb62021fac69c8c7b1580c3b2434f.tar.gz srcux-f4e4dc8ea72bb62021fac69c8c7b1580c3b2434f.tar.xz srcux-f4e4dc8ea72bb62021fac69c8c7b1580c3b2434f.zip | |
Adding metadata
Diffstat (limited to 'dev-python/soupsieve')
| -rw-r--r-- | dev-python/soupsieve/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/soupsieve/files/soupsieve-2.2.1-lxml-libxml2-tests.patch | 64 | ||||
| -rw-r--r-- | dev-python/soupsieve/soupsieve-2.3.1.ebuild | 33 | ||||
| -rw-r--r-- | dev-python/soupsieve/soupsieve-2.3.2.ebuild | 2 |
4 files changed, 1 insertions, 99 deletions
diff --git a/dev-python/soupsieve/Manifest b/dev-python/soupsieve/Manifest index 8978edcc785f..7b566edaa76d 100644 --- a/dev-python/soupsieve/Manifest +++ b/dev-python/soupsieve/Manifest @@ -1,2 +1 @@ -DIST soupsieve-2.3.1.tar.gz 104251 BLAKE2B c395b8dc0944457d6c5f217a03c6fc5f3895868a629eb72d86733fb0d9c6b1d1c41a2e035d5118c9c6fcc6a22e9ff79b9de8417131d30bbc6e1ba02c813ced56 SHA512 3f1245b27d67e8b37bce4cb0b21b2b3f4d6b7ae112cc66672e5406c0701b28e605ed12db1e111bfeccea15625b17042e398b075b7f026d3f3e15069f0cafccac DIST soupsieve-2.3.2.tar.gz 103869 BLAKE2B 0820f3935aaf0bda436abf10ddb0d64d6b2de99d116fdc84518879ca468688918a0995f4666e04d4892fee4d221b2d6a843f200c4bf05c3bf5755004a3fbb7ec SHA512 a91c453098697d0b6120e80dd2cf56ec0359d9d3d98ef54e348e8f9832b3b70626fcdc7c21bc3abe0fba32a83cc62d05b750f2d2fa79261479bf89c0aa782caa diff --git a/dev-python/soupsieve/files/soupsieve-2.2.1-lxml-libxml2-tests.patch b/dev-python/soupsieve/files/soupsieve-2.2.1-lxml-libxml2-tests.patch deleted file mode 100644 index a7075fa6fb6d..000000000000 --- a/dev-python/soupsieve/files/soupsieve-2.2.1-lxml-libxml2-tests.patch +++ /dev/null @@ -1,64 +0,0 @@ -https://sources.debian.org/data/main/s/soupsieve/2.2.1-2/debian/patches/libxml2-2.9.11 -https://github.com/facelessuser/soupsieve/issues/220 - -Apply Debian patch to skip tests which expose a lxml bug that's -already being handled elsewhere. - -From: Stefano Rivera <stefanor@debian.org> -Date: Sat, 2 Oct 2021 12:05:17 -0700 -Subject: Mark test_contains_cdata_html tests XFAIL for libxml2 >= 2.9.11 - -libxml2 changed CDATA handling in 2.9.11. -Beautifulsoup supports this change, but lxml upstream has pinned on an -older version so the behaviour change isn't standardised upstream, yet. - -Bug-upstream: https://github.com/facelessuser/soupsieve/issues/220 -Bug-lxml: https://bugs.launchpad.net/lxml/+bug/1928795 -Bug-beautifulsoup: https://bugs.launchpad.net/beautifulsoup/+bug/1930164 -Bug-Debian: https://bugs.debian.org/995459 - -Forwarded: no ---- a/tests/test_extra/test_soup_contains.py -+++ b/tests/test_extra/test_soup_contains.py -@@ -3,6 +3,9 @@ from .. import util - import warnings - import soupsieve as sv - -+import pytest -+from lxml.etree import LIBXML_VERSION -+ - - class TestSoupContains(util.TestCase): - """Test soup-contains selectors.""" -@@ -144,6 +147,9 @@ class TestSoupContains(util.TestCase): - flags=util.HTML - ) - -+ @pytest.mark.xfail(LIBXML_VERSION >= (2, 9, 11), -+ reason='lxml parser changed CDATA handling, see ' -+ 'https://github.com/facelessuser/soupsieve/issues/220') - def test_contains_cdata_html(self): - """Test contains CDATA in HTML5.""" - ---- a/tests/test_extra/test_soup_contains_own.py -+++ b/tests/test_extra/test_soup_contains_own.py -@@ -1,6 +1,9 @@ - """Test contains selectors.""" - from .. import util - -+import pytest -+from lxml.etree import LIBXML_VERSION -+ - - class TestSoupContainsOwn(util.TestCase): - """Test soup-contains-own selectors.""" -@@ -35,6 +38,9 @@ class TestSoupContainsOwn(util.TestCase): - flags=util.HTML - ) - -+ @pytest.mark.xfail(LIBXML_VERSION >= (2, 9, 11), -+ reason='lxml parser changed CDATA handling, see ' -+ 'https://github.com/facelessuser/soupsieve/issues/220') - def test_contains_own_cdata_html(self): - """Test contains CDATA in HTML5.""" - diff --git a/dev-python/soupsieve/soupsieve-2.3.1.ebuild b/dev-python/soupsieve/soupsieve-2.3.1.ebuild deleted file mode 100644 index a7c8d8b1ba09..000000000000 --- a/dev-python/soupsieve/soupsieve-2.3.1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="A modern CSS selector implementation for BeautifulSoup" -HOMEPAGE="https://github.com/facelessuser/soupsieve/ - https://pypi.org/project/soupsieve/" -SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -BDEPEND=" - test? ( - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # Needed for now until something is figured out either at lxml - # upstream or libxml2? - # See https://github.com/facelessuser/soupsieve/issues/220 - "${FILESDIR}"/${PN}-2.2.1-lxml-libxml2-tests.patch -) - -distutils_enable_tests pytest diff --git a/dev-python/soupsieve/soupsieve-2.3.2.ebuild b/dev-python/soupsieve/soupsieve-2.3.2.ebuild index dcd633ebce0c..8b45452e0de7 100644 --- a/dev-python/soupsieve/soupsieve-2.3.2.ebuild +++ b/dev-python/soupsieve/soupsieve-2.3.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( |
