python-lxml: update to 4.3.1.

This commit is contained in:
bra1nwave 2019-02-11 19:18:24 +01:00 committed by maxice8
parent d7100dbc04
commit fd6d3aacf8

View file

@ -1,7 +1,7 @@
# Template file for 'python-lxml'
pkgname=python-lxml
version=4.2.5
revision=2
version=4.3.1
revision=1
wrksrc="lxml-lxml-${version}"
build_style=python-module
pycompile_module="lxml"
@ -10,15 +10,12 @@ makedepends="libxslt-devel python-devel python3-devel"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
short_desc="Python2 binding for the libxml2 and libxslt libraries"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://lxml.de/"
license="BSD-3-Clause, ElementTree"
homepage="https://lxml.de/"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
checksum=07ead0189c2800d9f6fde2fee6407de23dafe75e00a0f577ccc732e3a52f6c4b
checksum=81261f6d68d79508388001031e6daab353b54aa102feaa7ce37be4b071766235
do_check() {
# https://bugs.launchpad.net/lxml/+bug/1782078
sed -i '/assertEqual(4, len(log)/d' src/lxml/tests/test_threading.py
cp -f build-3.*/lib.linux-*/lxml/*.so src/lxml
python3 test.py -vv --all-levels -p
}