commit: 97a7143e11c0e096e1c79b79fdc749a7c8faf534
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 28 06:16:17 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 28 07:36:32 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a7143e
dev-python/lxml-html-clean: Bump to 0.4.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/lxml-html-clean/Manifest | 1 +
.../lxml-html-clean/lxml-html-clean-0.4.4.ebuild | 34 ++++++++++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/dev-python/lxml-html-clean/Manifest
b/dev-python/lxml-html-clean/Manifest
index 290ec0126c9d..526f544ef8f9 100644
--- a/dev-python/lxml-html-clean/Manifest
+++ b/dev-python/lxml-html-clean/Manifest
@@ -1 +1,2 @@
DIST lxml_html_clean-0.4.3.tar.gz 21498 BLAKE2B
1005bbeb906090542e648e7c4d08b5735160fe530c498c82f856f421a13a9de454a28fbeeedffa641d7fca19eb52e0649514dd538523e408aa9fd6e6c8dbe606
SHA512
677037adeaa2649c5209015498672e11b131fc14a799b6fcda8eec9552fae626942f0905f7bc6e29f03075f48e0b5915f214c4afe8b22d72d035907afb9a099e
+DIST lxml_html_clean-0.4.4.tar.gz 23899 BLAKE2B
f30f19abfff66dc9ba408078f817b417d1320e2dc61aa6c6e11a669da2490657b92447466c6dd04ff5c75a3f341b207da2ff1d493da937a32dc67413e840c9fa
SHA512
3d287269be30bf585aa6e02990ecb2c4cc4169bac7451ce05d24b8e08232760ec5c220aec435f8317624a779c203a1608fa2bbcdb5174ee454fba6a2d4d0a9fe
diff --git a/dev-python/lxml-html-clean/lxml-html-clean-0.4.4.ebuild
b/dev-python/lxml-html-clean/lxml-html-clean-0.4.4.ebuild
new file mode 100644
index 000000000000..fc01523984e8
--- /dev/null
+++ b/dev-python/lxml-html-clean/lxml-html-clean-0.4.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2024-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Separate project for HTML cleaning functionalities copied from
lxml.html.clean"
+HOMEPAGE="
+ https://github.com/fedora-python/lxml_html_clean/
+ https://pypi.org/project/lxml-html-clean/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+ >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+python_test() {
+ # see tox.ini
+ eunittest
+ # test_clean_embed.txt unhappy about >=dev-libs/libxml2-2.15
+ # https://github.com/fedora-python/lxml_html_clean/issues/29
+ "${EPYTHON}" -m doctest tests/test_{clean,autolink}.txt ||
+ die "Doctests failed on ${EPYTHON}"
+}