From dceb7fbb0f742b93252212010d89709f3c681aa1 Mon Sep 17 00:00:00 2001 From: Maeve Sproule Date: Sun, 22 Dec 2024 18:38:17 -0700 Subject: [PATCH] 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. --- srcpkgs/python3-readability-lxml/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-readability-lxml/template b/srcpkgs/python3-readability-lxml/template index 65a320f92f8..c3d2fc8a943 100644 --- a/srcpkgs/python3-readability-lxml/template +++ b/srcpkgs/python3-readability-lxml/template @@ -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 " license="Apache-2.0"