Accepting request 224700 from devel:languages:python

- Update to version 3.3.3:
  * Bugs fixed
    - Crash when using Element subtypes with __slots__.
  * Other changes
    - The internal classes _LogEntry and _Attrib can no longer be subclassed
      from Python code. (forwarded request 224689 from Nijel)

OBS-URL: https://build.opensuse.org/request/show/224700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=50
This commit is contained in:
Stephan Kulow 2014-03-11 08:23:56 +00:00 committed by Git OBS Bridge
commit 685fcf15ca
6 changed files with 52 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.3.tgz Normal file
View File

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

View File

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

3
lxmldoc-3.3.3.pdf Normal file
View File

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

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Wed Mar 5 08:14:23 UTC 2014 - mcihar@suse.cz
- Update to version 3.3.3:
* Bugs fixed
- Crash when using Element subtypes with __slots__.
* Other changes
- The internal classes _LogEntry and _Attrib can no longer be subclassed
from Python code.
-------------------------------------------------------------------
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.3
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}