14
0
forked from pool/python-lxml

Accepting request 298550 from home:Nijel:branches:devel:languages:python

- Drop lxml-dont-depend-on-URL-formatting-in-test.patch, merged upstream

- Update to 3.4.3:
  * Expression cache in ElementPath was ignored.  Fix by Changaco.
  * LP#1426868: Passing a default namespace and a prefixed namespace mapping
    as nsmap into ``xmlfile.element()`` raised a ``TypeError``.
  * LP#1421927: DOCTYPE system URLs were incorrectly quoted when containing
    double quotes.  Patch by Olli Pottonen.
  * LP#1419354: meta-redirect URLs were incorrectly processed by
    ``iterlinks()`` if preceded by whitespace.
  * LP#1415907: Crash when creating an XMLSchema from a non-root element
    of an XML document.
  * LP#1369362: HTML cleaning failed when hitting processing instructions
    with pseudo-attributes.
  * ``CDATA()`` wrapped content was rejected for tail text.
  * CDATA sections were not serialised as tail text of the top-level element.
  * New ``htmlfile`` HTML generator to accompany the incremental ``xmlfile``
    serialisation API.  Patch by Burak Arslan.
  * ``lxml.sax.ElementTreeContentHandler`` did not initialise its superclass.

OBS-URL: https://build.opensuse.org/request/show/298550
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=80
This commit is contained in:
Michal Čihař
2015-04-22 10:54:29 +00:00
committed by Git OBS Bridge
parent 65b2dcf74a
commit 9053338adf
7 changed files with 34 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-lxml
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-lxml
Version: 3.4.0
Version: 3.4.3
Release: 0
Summary: Powerful and Pythonic XML processing library
License: BSD-3-Clause and GPL-2.0+
@@ -25,7 +25,6 @@ Group: Development/Languages/Python
Url: http://lxml.de/
Source: http://pypi.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz
Source1: http://lxml.de/lxmldoc-%{version}.pdf
Patch0: lxml-dont-depend-on-URL-formatting-in-test.patch
BuildRequires: libxml2-devel >= 2.7.0
BuildRequires: libxslt-devel >= 1.1.23
BuildRequires: python-Cython >= 0.20
@@ -62,7 +61,6 @@ This package contains documentation for lxml (HTML and PDF).
%prep
%setup -q -n lxml-%{version}
%patch0 -p1
cp %{SOURCE1} .
%build