commit:     081e1f9975f77a619d0d0553dc2ee582c2690d5e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 12:37:07 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 12:37:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=081e1f99

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

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/lxml-html-clean/Manifest                |  1 +
 .../lxml-html-clean/lxml-html-clean-0.2.2.ebuild   | 31 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/dev-python/lxml-html-clean/Manifest 
b/dev-python/lxml-html-clean/Manifest
index 36ffee2de7a7..6201d9c26e42 100644
--- a/dev-python/lxml-html-clean/Manifest
+++ b/dev-python/lxml-html-clean/Manifest
@@ -1 +1,2 @@
 DIST lxml_html_clean-0.2.0.tar.gz 15438 BLAKE2B 
570ac3e0a5861692a439fc2a52ee34e40c659ee3c6bf1b990b1e9dc47f25feedd654cf8f4f1f4c27a49e00c6a8be7940492405d5ad61920c29c1c464609848f6
 SHA512 
67908512294932454ae461d6371c5dd525e2c21b67b6fd437f4a4ecda7bbb6c617526f9541d4ad0fe624e3f8506ed8a391cd766167f2054a685d96ef18b7e53f
+DIST lxml_html_clean-0.2.2.tar.gz 19619 BLAKE2B 
4317ba3e3ae05603f5e2e53561ea7bf2c2d291ac7c87eb2d4afeaca89ccb13b63dd4a85c9a9e4d5feb3bc6773d27618d2057983b933b3b17e26c319003b3bb7c
 SHA512 
c40aac3453e822c5659252a271071b1e3b61622ce3af78e27763c771147a22a9894ef2512ca38f1d0e67be1d21ce5b860641a2a067e94837cfdcb318610720eb

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