From: Michael Tremer Date: Fri, 21 Jun 2019 00:00:21 +0000 (+0100) Subject: python-lxml: Update to 4.3.4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080d8619fbee87e0b33ccfc62dbeb06ee3853394;p=ipfire-3.x.git python-lxml: Update to 4.3.4 Signed-off-by: Michael Tremer --- diff --git a/python-lxml/python-lxml.nm b/python-lxml/python-lxml.nm index 94938c027..5973cbe08 100644 --- a/python-lxml/python-lxml.nm +++ b/python-lxml/python-lxml.nm @@ -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