From 14a4b7423beaa7b49248b180aa0d7ca409f87116d51e5e41c6698348b1c33f98 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 3 Mar 2014 15:50:51 +0000 Subject: [PATCH] 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 --- lxml-3.3.1.tar.gz | 3 --- lxml-3.3.2.tgz | 3 +++ lxmldoc-3.3.1.pdf | 3 --- lxmldoc-3.3.2.pdf | 3 +++ python-lxml.changes | 26 ++++++++++++++++++++++++++ python-lxml.spec | 12 ++++++++++-- 6 files changed, 42 insertions(+), 8 deletions(-) delete mode 100644 lxml-3.3.1.tar.gz create mode 100644 lxml-3.3.2.tgz delete mode 100644 lxmldoc-3.3.1.pdf create mode 100644 lxmldoc-3.3.2.pdf diff --git a/lxml-3.3.1.tar.gz b/lxml-3.3.1.tar.gz deleted file mode 100644 index 14faed2..0000000 --- a/lxml-3.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8cbaa02dd5a0a9dd7f571289c51eed9cb5c747d6674f3300e4bd63586e921819 -size 3441159 diff --git a/lxml-3.3.2.tgz b/lxml-3.3.2.tgz new file mode 100644 index 0000000..d84db9b --- /dev/null +++ b/lxml-3.3.2.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd1a7fd1933a48055a6f396e087b58bf35aec11e55a10f5da22483cdc1d2195c +size 3470228 diff --git a/lxmldoc-3.3.1.pdf b/lxmldoc-3.3.1.pdf deleted file mode 100644 index d6889a2..0000000 --- a/lxmldoc-3.3.1.pdf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d319a976d114c52242f476606e1e39e6fbba948a1ac279424aed8322b466478 -size 1118152 diff --git a/lxmldoc-3.3.2.pdf b/lxmldoc-3.3.2.pdf new file mode 100644 index 0000000..d1c2917 --- /dev/null +++ b/lxmldoc-3.3.2.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72f6f4848a2d73983029c6107a270d03e09b22f3ad8fab16142c7a670ef32165 +size 1120747 diff --git a/python-lxml.changes b/python-lxml.changes index 61e394b..5818491 100644 --- a/python-lxml.changes +++ b/python-lxml.changes @@ -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 diff --git a/python-lxml.spec b/python-lxml.spec index bf79849..f93066d 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -17,13 +17,13 @@ Name: python-lxml -Version: 3.3.1 +Version: 3.3.2 Release: 0 Summary: Powerful and Pythonic XML processing library License: BSD-3-Clause and GPL-2.0+ Group: Development/Languages/Python 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 BuildRequires: libxml2-devel BuildRequires: libxslt-devel @@ -64,6 +64,14 @@ cp %{SOURCE1} . %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 python setup.py install --prefix=%{_prefix} --root=%{buildroot}