diff options
Diffstat (limited to 'dev-python/lxml-html-clean')
-rw-r--r-- | dev-python/lxml-html-clean/Manifest | 2 | ||||
-rw-r--r-- | dev-python/lxml-html-clean/lxml-html-clean-0.4.0.ebuild | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/lxml-html-clean/Manifest b/dev-python/lxml-html-clean/Manifest index 1a02c12c96bd..a862b01231b5 100644 --- a/dev-python/lxml-html-clean/Manifest +++ b/dev-python/lxml-html-clean/Manifest @@ -1,3 +1,5 @@ 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 EBUILD lxml-html-clean-0.3.1.ebuild 651 BLAKE2B bca7d6c561e4f447ee124a3178e6e14d2b3df48f4a8bf103ba6ee652b5222c648e3fa23bdfb4811d3ef47c06741aa31d55e4a7974a778d99639adc7b91ffb40d SHA512 0b2f4634fa3e54d16df0ca698a31f89b4712a78a6495ddabc45f5d126fd1cdeb54db6f37f3bb601d3efa601c675bddf6b7399a11709a495fd757b1c277b578c2 +EBUILD lxml-html-clean-0.4.0.ebuild 652 BLAKE2B 0e93fef3a394ba9c0c5797027128f77461dfe86d9076cea68ab1fc3022ee0ff6365d968b5b1cb17b85415d59a1bbc68a2e13ae6335b533abd9b33bef45cfd103 SHA512 d25133555c7d5d2e7f24fc000c11e7a324e989e2c9e910de1dc6480b34e11246511cde1fa51c93e527b0d53adc30fd19bea7b5dea9155e4bfa466a2d2c1bdfd8 MISC metadata.xml 497 BLAKE2B 18a62ece379f7aebe63687b148c878a6d3990570c66e31102ecc727fed76ab92df6ae0bf5191a7d7621106ea2aeb0431f2c5c09f5cd70442c8e869a24c77b375 SHA512 95831be01d43c01060d05d6a3bd7c92dea28c2d1d78c7a4e98a8de50cebb0b0779afec4732e2a9c355c9cf4b693e29624c95996fce27a225b285c3b94e3350ec 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}" +} |