New package: python3-lxml_html_clean-0.4.1

This commit is contained in:
Maeve Sproule 2024-12-22 18:23:14 -07:00 committed by oreo639
parent a679b1cd8f
commit 3ec683f7ae

View file

@ -0,0 +1,26 @@
# Template file for 'python3-lxml_html_clean'
pkgname=python3-lxml_html_clean
version=0.4.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3-lxml"
checkdepends="${depends}"
short_desc="HTML cleaning support for lxml"
maintainer="Maeve Sproule <code@sprock.dev>"
license="BSD-3-Clause"
homepage="https://github.com/fedora-python/lxml_html_clean"
changelog="https://raw.githubusercontent.com/fedora-python/lxml_html_clean/main/CHANGES.rst"
distfiles="${PYPI_SITE}/l/lxml_html_clean/lxml_html_clean-${version}.tar.gz"
checksum=40c838bbcf1fc72ba4ce811fbb3135913017b27820d7c16e8bc412ae1d8bc00b
do_check() {
# Don't invoke tox because it uses pip to install the dependencies
# (including the unpackaged memory-profiler), causing in errors in CI.
python3 -m unittest -v tests/test_*.py
python3 -m doctest tests/test_*.txt
}
post_install() {
vlicense LICENSE.txt
}