commit:     095ce8ebe8b7a557e3662098e771d255fae78db9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 15 04:48:35 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 15 04:59:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=095ce8eb

dev-python/lxml-html-clean: Bump to 0.4.0

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.0.ebuild   | 31 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/dev-python/lxml-html-clean/Manifest 
b/dev-python/lxml-html-clean/Manifest
index 038323574a56..1649fc7e0ee3 100644
--- a/dev-python/lxml-html-clean/Manifest
+++ b/dev-python/lxml-html-clean/Manifest
@@ -1 +1,2 @@
 DIST lxml_html_clean-0.3.1.tar.gz 20851 BLAKE2B 
476c73463341af064e7d32b4def1b3cbbc7287cb26308fed2362792ce9dfc3c20bdbb9dcc1174710bf694633789037ec4f1c2510c48fab98ba17fb506b091baa
 SHA512 
cbbcbec337586024db9b622d5724adc1e645dfe7bb1958be8f8974c7858e9a6443b0e75f09cf0ca83d7331aae944648c6bd644aeedd56307a01269e82d866b36
+DIST lxml_html_clean-0.4.0.tar.gz 21374 BLAKE2B 
0bb2964f33fa80e08e773f0f0705a554cd332fe956fe2ab219be767caa6f091454b1e3330a56247a77836fae558c54b325d5f5b7468525cae58e067f4c705ac0
 SHA512 
30427d0e700adc24df5730b56db38c7add36bdc89be598a856ad892fcda72951d19666d304b1a457d1d2400a454f07838e71a2e2859b94448a8b44622a9f62ef

diff --git a/dev-python/lxml-html-clean/lxml-html-clean-0.4.0.ebuild 
b/dev-python/lxml-html-clean/lxml-html-clean-0.4.0.ebuild
new file mode 100644
index 000000000000..8523f79facae
--- /dev/null
+++ b/dev-python/lxml-html-clean/lxml-html-clean-0.4.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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() {
+       eunittest
+       "${EPYTHON}" -m doctest -v tests/*.txt ||
+               die "Doctests failed on ${EPYTHON}"
+}

Reply via email to