python3-readability-lxml: add python3-lxml_html_clean dependency

lxml 5.2 moved lxml.html.clean to a separate project, leaving only a
compatibility shim in its place. Since the update to Void's python3-lxml
package on Dec. 13, importing readability causes the following error to
be emitted:

> ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
> Install lxml[html_clean] or lxml_html_clean directly.

Adding a new python3-lxml_html_clean dependency resolves this error and
causes readability to behave as it did before.
This commit is contained in:
Maeve Sproule 2024-12-22 18:38:17 -07:00 committed by oreo639
parent 3ec683f7ae
commit dceb7fbb0f

View file

@ -1,10 +1,10 @@
# Template file for 'python3-readability-lxml'
pkgname=python3-readability-lxml
version=0.8.1
revision=9
revision=10
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-lxml python3-chardet python3-cssselect"
depends="python3-lxml python3-lxml_html_clean python3-chardet python3-cssselect"
short_desc="Fast html to text parser"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="Apache-2.0"