From 6af1b921750b81e250b6147f0b9c079a2668dcf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 10 Feb 2023 22:58:16 +0700 Subject: [PATCH] python3-readability-lxml: remove python 2 file Fix: #42178 --- srcpkgs/python3-readability-lxml/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-readability-lxml/template b/srcpkgs/python3-readability-lxml/template index 49969257181..4872e4b2add 100644 --- a/srcpkgs/python3-readability-lxml/template +++ b/srcpkgs/python3-readability-lxml/template @@ -1,7 +1,7 @@ # Template file for 'python3-readability-lxml' pkgname=python3-readability-lxml version=0.8.1 -revision=6 +revision=7 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-lxml python3-chardet python3-cssselect" @@ -12,3 +12,7 @@ homepage="https://github.com/buriy/python-readability" distfiles="${PYPI_SITE}/r/readability-lxml/readability-lxml-${version}.tar.gz" checksum=e51fea56b5909aaf886d307d48e79e096293255afa567b7d08bca94d25b1a4e1 make_check=no # needs unpackaged timeout_decorator + +post_extract() { + rm -f readability/compat/two.py +}