# 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 " 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 }