commit: 0a5e885edf5fbbacf2e84a9f9f07336d4280d3f0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 3 20:32:43 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 3 20:52:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a5e885e
dev-python/soupsieve: Bump to 2.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/soupsieve/Manifest | 1 +
dev-python/soupsieve/soupsieve-2.3.ebuild | 33 +++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/dev-python/soupsieve/Manifest b/dev-python/soupsieve/Manifest
index 1c71567949a..0e32f423384 100644
--- a/dev-python/soupsieve/Manifest
+++ b/dev-python/soupsieve/Manifest
@@ -1 +1,2 @@
DIST soupsieve-2.2.1.tar.gz 99298 BLAKE2B
94532421f3b8e49d6ab75a54a60ac861a78eee9f6792ded096e39a8a43d46d195cff9b7d8feab918b0f2debc8a6dd35226ab714384fa7f4d795176e269b6c4cb
SHA512
c1339cfca237af7f8915b6d644b8271f769f9a37aa68f8acf536236551baaf9bb44a2f2a736f9168a7649cde14d37b8c24614c9491acbf81e3f4fdaea96b4928
+DIST soupsieve-2.3.tar.gz 104025 BLAKE2B
37c1cbbb345a24e843a7b1acef5967b914cd93d4fcbe590e9453f9b0b84975e2fbdc601c45e720483370343f40aa643146cab9a53c17be29c6fa76ce026eca78
SHA512
c5d46703aba737c6eea7cc482311fd75dbaaa4929ebf3ed45b580d7e89d1d0be806608adbab974803acd8df5d74435efe1e149bce5cdbd74f77c90bba960859a
diff --git a/dev-python/soupsieve/soupsieve-2.3.ebuild
b/dev-python/soupsieve/soupsieve-2.3.ebuild
new file mode 100644
index 00000000000..9c1e8558c56
--- /dev/null
+++ b/dev-python/soupsieve/soupsieve-2.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..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