14
0
forked from pool/python-lxml

- Update to 4.4.1:

* LP#1838252: The order of an OrderedDict was lost in 4.4.0 when passing it as attrib mapping during element creation.
  * LP#1838521: The package metadata now lists the supported Python versions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=129
This commit is contained in:
Tomáš Chvátal
2019-09-11 12:57:40 +00:00
committed by Git OBS Bridge
parent baac087a84
commit d4d99a8259
7 changed files with 15 additions and 12 deletions

View File

@@ -18,16 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-lxml
Version: 4.4.0
Version: 4.4.1
Release: 0
Summary: Pythonic XML processing library
License: BSD-3-Clause AND GPL-2.0-or-later
Group: Development/Languages/Python
URL: http://lxml.de/
URL: https://lxml.de/
Source0: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz
Source1: https://lxml.de/lxmldoc-%{version}.pdf
# https://github.com/lxml/lxml/pull/284
Source2: https://raw.githubusercontent.com/lxml/lxml/master/src/lxml/tests/c14n-20/world.txt
BuildRequires: %{python_module Cython >= 0.29.7}
BuildRequires: %{python_module cssselect >= 0.9.1}
BuildRequires: %{python_module setuptools >= 18.0.1}
@@ -85,7 +83,6 @@ export CFLAGS="%{optflags}"
%python_build --with-cython
%check
cp %{SOURCE2} src/lxml/tests/c14n-20
# The tests fail on SLE 11 due to broken incremental parsing in libxml2
export CFLAGS="%{optflags}"
export LANG=en_US.UTF-8