SHA256
1
0
forked from pool/python-lxml

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

- Update to version 3.3.2:
  - The properties resolvers and version, as well as the methods
    set_element_class_lookup() and makeelement(), were lost from iterparse
    objects.
  - LP#1222132: instances of XMLSchema, Schematron and RelaxNG did not clear
    their local error_log before running a validation.
  - LP#1238500: lxml.doctestcompare mixed up "expected" and "actual" in
    attribute values.
  - Some file I/O tests were failing in MS-Windows due to incorrect temp file
    usage. Initial patch by Gabi Davar.
  - LP#910014: duplicate IDs in a document were not reported by DTD
    validation.
  - LP#1185332: tostring(method="html") did not use HTML serialisation
    semantics for trailing tail text. Initial patch by Sylvain Viollon.
  - LP#1281139: .attrib value of Comments lost its mutation methods in 3.3.0.
    Even though it is empty and immutable, it should still provide the same
    interface as that returned for Elements.

- Run tests during build

OBS-URL: https://build.opensuse.org/request/show/224393
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=73
This commit is contained in:
Sascha Peilicke 2014-03-03 15:50:51 +00:00 committed by Git OBS Bridge
parent 72d7247aeb
commit 14a4b7423b
6 changed files with 42 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8cbaa02dd5a0a9dd7f571289c51eed9cb5c747d6674f3300e4bd63586e921819
size 3441159

3
lxml-3.3.2.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd1a7fd1933a48055a6f396e087b58bf35aec11e55a10f5da22483cdc1d2195c
size 3470228

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d319a976d114c52242f476606e1e39e6fbba948a1ac279424aed8322b466478
size 1118152

3
lxmldoc-3.3.2.pdf Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72f6f4848a2d73983029c6107a270d03e09b22f3ad8fab16142c7a670ef32165
size 1120747

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Mon Mar 3 09:28:09 UTC 2014 - mcihar@suse.cz
- Update to version 3.3.2:
- The properties resolvers and version, as well as the methods
set_element_class_lookup() and makeelement(), were lost from iterparse
objects.
- LP#1222132: instances of XMLSchema, Schematron and RelaxNG did not clear
their local error_log before running a validation.
- LP#1238500: lxml.doctestcompare mixed up "expected" and "actual" in
attribute values.
- Some file I/O tests were failing in MS-Windows due to incorrect temp file
usage. Initial patch by Gabi Davar.
- LP#910014: duplicate IDs in a document were not reported by DTD
validation.
- LP#1185332: tostring(method="html") did not use HTML serialisation
semantics for trailing tail text. Initial patch by Sylvain Viollon.
- LP#1281139: .attrib value of Comments lost its mutation methods in 3.3.0.
Even though it is empty and immutable, it should still provide the same
interface as that returned for Elements.
-------------------------------------------------------------------
Fri Feb 28 10:12:18 UTC 2014 - mcihar@suse.cz
- Run tests during build
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 22 10:33:42 UTC 2014 - toms@opensuse.org Sat Feb 22 10:33:42 UTC 2014 - toms@opensuse.org

View File

@ -17,13 +17,13 @@
Name: python-lxml Name: python-lxml
Version: 3.3.1 Version: 3.3.2
Release: 0 Release: 0
Summary: Powerful and Pythonic XML processing library Summary: Powerful and Pythonic XML processing library
License: BSD-3-Clause and GPL-2.0+ License: BSD-3-Clause and GPL-2.0+
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://lxml.de/ Url: http://lxml.de/
Source: http://pypi.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz Source: http://lxml.de/files/lxml-%{version}.tgz
Source1: http://lxml.de/lxmldoc-%{version}.pdf Source1: http://lxml.de/lxmldoc-%{version}.pdf
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
@ -64,6 +64,14 @@ cp %{SOURCE1} .
%build %build
CFLAGS="%{optflags}" python setup.py build CFLAGS="%{optflags}" python setup.py build
%check
# The tests fail on SLE 11 due to broken incremental parsing
# in libxml2
%if 0%{?suse_version} > 1110
CFLAGS="%{optflags}" python setup.py build_ext --inplace
LANG=en_US.UTF-8 PYTHONUNBUFFERED=x make test
%endif
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}