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:
parent
35a83b3f47
commit
4059a9ff4f
@ -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
3
lxml-2.2.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:455f09a0dbb3a142056f76bd8bd0ace01ef754d4112092d963da43424da11d3c
|
||||||
|
size 2038283
|
@ -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
3
lxmldoc-2.2.8.pdf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:aa3b23617e0579939fb42a9ec8cc5259979ed27997c76d11d6adf40bab128c17
|
||||||
|
size 2049904
|
@ -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
|
Tue Mar 2 19:50:28 UTC 2010 - toms@suse.de
|
||||||
|
|
||||||
|
@ -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.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -19,20 +19,23 @@
|
|||||||
%define modname lxml
|
%define modname lxml
|
||||||
|
|
||||||
Name: python-lxml
|
Name: python-lxml
|
||||||
Url: http://codespeak.net/lxml
|
Version: 2.2.8
|
||||||
Summary: A Pythonic Binding for the libxml2 and libxslt Libraries
|
|
||||||
Version: 2.2.6
|
|
||||||
Release: 1
|
Release: 1
|
||||||
License: BSD3c
|
License: BSD3c
|
||||||
|
Summary: A Pythonic Binding for the libxml2 and libxslt Libraries
|
||||||
|
Url: http://codespeak.net/lxml
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Source: %{modname}-%{version}.tar.bz2
|
Source: %{modname}-%{version}.tar.bz2
|
||||||
Source1: %{modname}doc-%{version}.pdf
|
Source1: %{modname}doc-%{version}.pdf
|
||||||
Source2: %{name}-rpmlintrc
|
Source2: %{name}-rpmlintrc
|
||||||
|
# Requires: libxml2 libxslt
|
||||||
|
BuildRequires: libxslt-devel
|
||||||
|
BuildRequires: pyrex
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: pyxml
|
||||||
|
Requires: pyxml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{py_requires}
|
%{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
|
# Use test as told in http://lists.opensuse.org/opensuse-packaging/2009-08/msg00110.html
|
||||||
|
|
||||||
#%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
#%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,
|
libxslt specific functionality, such as XPath, Relax NG, XML Schema,
|
||||||
XSLT, and c14n.
|
XSLT, and c14n.
|
||||||
|
|
||||||
|
Author:
|
||||||
|
-------
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Stefan Behnel - main developer and maintainer
|
Stefan Behnel - main developer and maintainer
|
||||||
Martijn Faassen - creator of lxml and initial main developer
|
Martijn Faassen - creator of lxml and initial main developer
|
||||||
and others
|
and others
|
||||||
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Group: Development/Libraries/Python
|
|
||||||
Summary: Documentation for %{name}
|
|
||||||
License: BSD3c
|
License: BSD3c
|
||||||
|
Summary: Documentation for %{name}
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for %{modname} (HTML and PDF).
|
Documentation for %{modname} (HTML and PDF).
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------
|
# ---------------------------------
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="%{optflags}"
|
||||||
%{__python} setup.py build
|
%{__python} setup.py build
|
||||||
%{__cp} %{S:1} .
|
%{__cp} %{S:1} .
|
||||||
|
|
||||||
@ -81,7 +80,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
|||||||
%{__python} setup.py install \
|
%{__python} setup.py install \
|
||||||
--optimize 1 \
|
--optimize 1 \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--root=$RPM_BUILD_ROOT \
|
--root=%{buildroot} \
|
||||||
--record-rpm=INSTALLED_FILES.txt
|
--record-rpm=INSTALLED_FILES.txt
|
||||||
|
|
||||||
[ -e doc/rest2html.py ] && %{__mkdir} doc/examples && %{__mv} doc/rest2html.py doc/examples/
|
[ -e doc/rest2html.py ] && %{__mkdir} doc/examples && %{__mv} doc/rest2html.py doc/examples/
|
||||||
|
Loading…
Reference in New Issue
Block a user