commit:     ce695852145d772319f6549f3f5bb3a14006ac37
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 06:56:32 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 07:16:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce695852

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

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

diff --git a/dev-python/lxml-html-clean/Manifest 
b/dev-python/lxml-html-clean/Manifest
index 1649fc7e0ee3..cc73e724d841 100644
--- a/dev-python/lxml-html-clean/Manifest
+++ b/dev-python/lxml-html-clean/Manifest
@@ -1,2 +1,3 @@
 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
+DIST lxml_html_clean-0.4.1.tar.gz 21378 BLAKE2B 
607c2a5b3b35b0cc89729f4114af7a358fa03e386ea3099369d3b10b083ad092ee7b83ea44f6afc1b9be85457737f22df0db458065eb4910388c142c3c335772
 SHA512 
87e7835f77da6c20a3581edf86fa42df600e1012b2802686e341f525fd4b78211369282bfd873cb07626cb6f1cc0c898d36ab24ec44700f0b9947d1dbee9f6d6

diff --git a/dev-python/lxml-html-clean/lxml-html-clean-0.4.1.ebuild 
b/dev-python/lxml-html-clean/lxml-html-clean-0.4.1.ebuild
new file mode 100644
index 000000000000..8523f79facae
--- /dev/null
+++ b/dev-python/lxml-html-clean/lxml-html-clean-0.4.1.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