14
0
forked from pool/python-lxml

- Update to 4.3.2:

* Crash in 4.3.1 when appending a child subtree with certain text nodes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=118
This commit is contained in:
Tomáš Chvátal
2019-03-05 12:23:03 +00:00
committed by Git OBS Bridge
parent b4b89ea844
commit 524482a588
6 changed files with 19 additions and 14 deletions

View File

@@ -16,18 +16,16 @@
#
%define lxml_version 4.3
%define lxml_patch_version 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-lxml
Version: %{lxml_version}.%{lxml_patch_version}
Version: 4.3.2
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: http://lxml.de/
Source: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz
Source1: https://lxml.de/%{lxml_version}/lxmldoc-%{lxml_version}.0.pdf
Source1: https://lxml.de/lxmldoc-%{version}.pdf
BuildRequires: %{python_module Cython >= 0.26.1}
BuildRequires: %{python_module cssselect >= 0.9.1}
BuildRequires: %{python_module setuptools >= 18.0.1}
@@ -44,12 +42,13 @@ provides convenient access to these libraries using the ElementTree
API. It extends the ElementTree API significantly to offer support for XPath,
RelaxNG, XML Schema, XSLT and C14N.
%package doc
%package -n %{name}-doc
Summary: Documentation for python-lxml, an XML processing library
Group: Documentation/Other
Provides: %{python_module doc = %{version}}
BuildArch: noarch
%description doc
%description -n %{name}-doc
lxml is a Pythonic binding for the libxml2 and libxslt libraries. It
provides convenient access to these libraries using the ElementTree
API. It extends the ElementTree API significantly to offer support for XPath,
@@ -113,7 +112,7 @@ make %{?_smp_mflags} test3
%{python_sitearch}/lxml/*.h
%{python_sitearch}/lxml/includes/*.h
%files %{python_files doc}
%files -n %{name}-doc
%license LICENSES.txt
%doc doc/html
%doc lxmldoc-*.pdf