python-lxml: Update to 4.3.4

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer 2019-06-21 01:00:21 +01:00
parent 5b3d10dcaa
commit 080d8619fb
1 changed files with 11 additions and 11 deletions

View File

@ -4,12 +4,12 @@
###############################################################################
name = python-lxml
version = 4.2.5
version = 4.3.4
release = 1
thisapp = lxml-%{version}
groups = Development/Languages
url = http://lxml.de
url = https://lxml.de
license = BSD
summary = ElementTree-like Python bindings for libxml2 and libxslt.
@ -20,29 +20,29 @@ description
bindings.
end
source_dl = http://lxml.de/files/
sources = %{thisapp}.tgz
source_dl = https://github.com/lxml/lxml/archive/
build
requires
cython
libxml2-devel
libxslt-devel
python3-devel
zlib-devel
end
# Setting LC_CTYPE to workaround encoding issue
export LC_CTYPE=en_US.UTF-8
# WTF?
DIR_APP = %{DIR_SRC}/lxml-%{thisapp}
build
CFLAGS="%{CFLAGS}" %{python3} setup.py build
end
test
# Setup test environment.
BUILD_LIB_DIR=$(find $(pwd) -name "*.so" | head -n 1 | xargs dirname)
cp $BUILD_LIB_DIR/*.so src/lxml
export LANG=en_US.utf8
# Run tests.
%{python3} test.py -p -v
make PYTHON=%{python3} test
end
install