Accepting request 48071 from devel:languages:python

Copy from devel:languages:python/python-lxml based on submit request 48071 from user coolo

OBS-URL: https://build.opensuse.org/request/show/48071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=21
This commit is contained in:
OBS User autobuild 2010-09-14 11:17:03 +00:00 committed by Git OBS Bridge
parent 35a83b3f47
commit 4059a9ff4f
6 changed files with 30 additions and 23 deletions

View File

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

3
lxml-2.2.8.tar.bz2 Normal file
View File

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

View File

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

3
lxmldoc-2.2.8.pdf Normal file
View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Sep 2 14:46:19 UTC 2010 - alexandre@exatati.com.br
- Update to 2.2.8 (2010-09-02):
Bugs fixed
* Crash in newer libxml2 versions when moving elements between documents that had attributes on replaced XInclude nodes.
* Import fix for urljoin in Python 3.1+.
-------------------------------------------------------------------
Tue Mar 2 19:50:28 UTC 2010 - toms@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package python-lxml (Version 2.2.6)
# spec file for package python-lxml (Version 2.2.8)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,20 +19,23 @@
%define modname lxml
Name: python-lxml
Url: http://codespeak.net/lxml
Summary: A Pythonic Binding for the libxml2 and libxslt Libraries
Version: 2.2.6
Version: 2.2.8
Release: 1
License: BSD3c
Summary: A Pythonic Binding for the libxml2 and libxslt Libraries
Url: http://codespeak.net/lxml
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
Source1: %{modname}doc-%{version}.pdf
Source2: %{name}-rpmlintrc
# Requires: libxml2 libxslt
BuildRequires: libxslt-devel
BuildRequires: pyrex
BuildRequires: python-devel
BuildRequires: pyxml
Requires: pyxml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
Requires: pyxml
# Requires: libxml2 libxslt
BuildRequires: libxslt-devel pyrex python-devel pyxml
# Use test as told in http://lists.opensuse.org/opensuse-packaging/2009-08/msg00110.html
#%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
@ -50,30 +53,26 @@ the native libxml2 tree. It also extends this API to expose libxml2 and
libxslt specific functionality, such as XPath, Relax NG, XML Schema,
XSLT, and c14n.
Authors:
--------
Author:
-------
Stefan Behnel - main developer and maintainer
Martijn Faassen - creator of lxml and initial main developer
and others
%package doc
Group: Development/Libraries/Python
Summary: Documentation for %{name}
License: BSD3c
Summary: Documentation for %{name}
Group: Development/Libraries/Python
%description doc
Documentation for %{modname} (HTML and PDF).
# ---------------------------------
%prep
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="%{optflags}"
%{__python} setup.py build
%{__cp} %{S:1} .
@ -81,7 +80,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
%{__python} setup.py install \
--optimize 1 \
--prefix=%{_prefix} \
--root=$RPM_BUILD_ROOT \
--root=%{buildroot} \
--record-rpm=INSTALLED_FILES.txt
[ -e doc/rest2html.py ] && %{__mkdir} doc/examples && %{__mv} doc/rest2html.py doc/examples/