This commit is contained in:
parent
7d01ca7ffa
commit
0d7ff158ce
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:58d1aef59d9989fe04534d61278fa47d4d48c43c0f9ff2dc47c5d9a1259522c8
|
|
||||||
size 1861384
|
|
3
lxml-2.2.tar.bz2
Normal file
3
lxml-2.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5261f5f30679615b6babcc645ad3c6b38476bc5a300c37e53f840327e5d6fcd0
|
||||||
|
size 2020417
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8ceec4476f640c46727c6bd124b2b857d450ac5954fe6744ac9bf17f2c18c6f1
|
|
||||||
size 1755028
|
|
3
lxmldoc-2.2.pdf
Normal file
3
lxmldoc-2.2.pdf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5eeadb645a9a45f68f6c2d13aeccd9e7b14e0c5ce289f921147c3b55a701237c
|
||||||
|
size 1867462
|
6
python-lxml-rpmlintrc
Normal file
6
python-lxml-rpmlintrc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#
|
||||||
|
addFilter("files-duplicate .*/html/pubkey.asc")
|
||||||
|
addFilter("files-duplicate .*/api/frames.html")
|
||||||
|
addFilter("files-duplicate .*/api/toc-lxml.html.usedoctest-module.html")
|
||||||
|
addFilter("description-shorter-than-summary")
|
||||||
|
addFilter("spurious-executable-perm .*/rest2html.py")
|
@ -1,3 +1,60 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 03 08:41:00 CEST 2009 - toms@suse.de
|
||||||
|
|
||||||
|
- Merged changes file with old entries
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 02 08:58:00 CEST 2009 - toms@suse.de
|
||||||
|
|
||||||
|
- Added rpmlintrc source into SPEC file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 31 08:34:00 CEST 2009 - toms@suse.de
|
||||||
|
|
||||||
|
- Fixed SPEC file and added PDF source
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 23 12:56:00 CEST 2009 - toms@suse.de
|
||||||
|
|
||||||
|
* Updated to 2.2 (excerpt):
|
||||||
|
See also http://codespeak.net/lxml/changes-2.2.html
|
||||||
|
|
||||||
|
Features added:
|
||||||
|
- Allow lxml.html.diff.htmldiff to accept Element objects,
|
||||||
|
not just HTML strings.
|
||||||
|
- XSLT.strparam() class method to wrap quoted string parameters
|
||||||
|
that require escaping.
|
||||||
|
- Support strings and instantiable Element classes as child
|
||||||
|
arguments to the constructor of custom Element classes.
|
||||||
|
- GZip compression support for serialisation to files and
|
||||||
|
file-like objects.
|
||||||
|
- Support for standalone flag in XML declaration through
|
||||||
|
tree.docinfo.standalone and by passing standalone=True/False
|
||||||
|
on serialisation.
|
||||||
|
|
||||||
|
Bugs fixed:
|
||||||
|
- Memory leak in XPath evaluators.
|
||||||
|
- Setting the base attribute in lxml.objectify from a unicode
|
||||||
|
string failed.
|
||||||
|
- Crash when parsing indented XML in one thread and merging
|
||||||
|
it with other documents parsed in another thread.
|
||||||
|
- Crash when parsing an XML Schema with external imports from
|
||||||
|
a filename.
|
||||||
|
- iter_links (and related link-rewriting functions) in lxml.html
|
||||||
|
would interpret CSS like url("link") incorrectly (treating the
|
||||||
|
quotation marks as part of the link).
|
||||||
|
- Failing import on systems that have an io module.
|
||||||
|
- Potential memory leak on exception handling. This was due
|
||||||
|
to a problem in Cython, not lxml itself.
|
||||||
|
- Crash when using an XPath evaluator in multiple threads.
|
||||||
|
- Fixed missing whitespace before Link:... in lxml.html.diff.
|
||||||
|
|
||||||
|
Other changes
|
||||||
|
- The global error log (which is copied into the exception log)
|
||||||
|
is now local to a thread, which fixes some race conditions.
|
||||||
|
- More robust error handling on serialisation.
|
||||||
|
- Export lxml.html.parse.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 18 10:00:00 CEST 2008 - toms@suse.de
|
Wed Sep 18 10:00:00 CEST 2008 - toms@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-lxml (Version 2.1.2)
|
# spec file for package python-lxml (Version 2.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,20 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define modname lxml
|
|
||||||
|
|
||||||
Name: python-lxml
|
Name: python-lxml
|
||||||
|
%define modname lxml
|
||||||
|
%define docpdf %{modname}doc-2.2.pdf
|
||||||
Url: http://codespeak.net/lxml
|
Url: http://codespeak.net/lxml
|
||||||
Summary: A Pythonic Binding for the libxml2 and libxslt Libraries
|
Summary: A Pythonic Binding for the libxml2 and libxslt Libraries
|
||||||
Version: 2.1.2
|
Version: 2.2
|
||||||
Release: 1
|
Release: 1
|
||||||
License: BSD 3-Clause
|
License: BSD 3-Clause
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Source: %{modname}-%{version}.tar.bz2
|
Source: %{modname}-%{version}.tar.bz2
|
||||||
Source1: %{modname}doc-%{version}.pdf
|
Source1: %{docpdf}
|
||||||
|
Source2: %{name}-rpmlintrc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{py_requires}
|
%{py_requires}
|
||||||
Requires: pyxml libxml2 libxslt
|
Requires: pyxml
|
||||||
BuildRequires: libxslt-devel pyrex python-devel pyxml
|
BuildRequires: libxslt-devel pyrex python-devel pyxml
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -66,31 +68,82 @@ Authors:
|
|||||||
% ---------------------------------
|
% ---------------------------------
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
%{__cp} %{S:1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
python setup.py build
|
python setup.py build
|
||||||
%{__cp} %{S:1} .
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT \
|
#%{__install} -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} \
|
||||||
--record=INSTALLED_FILES \
|
# $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples
|
||||||
--record-rpm=INSTALLED_FILES-rpm.txt
|
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
||||||
|
#cat INSTALLED_FILES.tmp | sed s#%{_defaultdocdir}/%{name}##g > INSTALLED_FILES
|
||||||
|
#%{__cp} -a doc/html $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
||||||
|
#%{__cp} -a doc/*.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
||||||
|
#%{__cp} -a doc/*.py $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples
|
||||||
|
#%{__cp} -a benchmark $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples
|
||||||
|
echo "*** $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/rest2html.py"
|
||||||
|
[ -e $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/rest2html.py ] && \
|
||||||
|
%{__chmod} -x $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/rest2html.py
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files -f INSTALLED_FILES-rpm.txt
|
%files -f INSTALLED_FILES
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt
|
%doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt
|
||||||
# Disabled, as it is already in INSTALLED_FILES-rpm.txt:
|
%{py_sitedir}/lxml
|
||||||
#%{py_sitedir}/lxml
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/html doc/*.* benchmark %{modname}doc-%{version}.pdf
|
%doc doc/html doc/*.* benchmark
|
||||||
|
%doc %{docpdf}
|
||||||
|
%{_defaultdocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 03 2009 toms@suse.de
|
||||||
|
- Merged changes file with old entries
|
||||||
|
* Thu Apr 02 2009 toms@suse.de
|
||||||
|
- Added rpmlintrc source into SPEC file
|
||||||
|
* Tue Mar 31 2009 toms@suse.de
|
||||||
|
- Fixed SPEC file and added PDF source
|
||||||
|
* Mon Mar 23 2009 toms@suse.de
|
||||||
|
* Updated to 2.2 (excerpt):
|
||||||
|
See also http://codespeak.net/lxml/changes-2.2.html
|
||||||
|
Features added:
|
||||||
|
- Allow lxml.html.diff.htmldiff to accept Element objects,
|
||||||
|
not just HTML strings.
|
||||||
|
- XSLT.strparam() class method to wrap quoted string parameters
|
||||||
|
that require escaping.
|
||||||
|
- Support strings and instantiable Element classes as child
|
||||||
|
arguments to the constructor of custom Element classes.
|
||||||
|
- GZip compression support for serialisation to files and
|
||||||
|
file-like objects.
|
||||||
|
- Support for standalone flag in XML declaration through
|
||||||
|
tree.docinfo.standalone and by passing standalone=True/False
|
||||||
|
on serialisation.
|
||||||
|
Bugs fixed:
|
||||||
|
- Memory leak in XPath evaluators.
|
||||||
|
- Setting the base attribute in lxml.objectify from a unicode
|
||||||
|
string failed.
|
||||||
|
- Crash when parsing indented XML in one thread and merging
|
||||||
|
it with other documents parsed in another thread.
|
||||||
|
- Crash when parsing an XML Schema with external imports from
|
||||||
|
a filename.
|
||||||
|
- iter_links (and related link-rewriting functions) in lxml.html
|
||||||
|
would interpret CSS like url("link") incorrectly (treating the
|
||||||
|
quotation marks as part of the link).
|
||||||
|
- Failing import on systems that have an io module.
|
||||||
|
- Potential memory leak on exception handling. This was due
|
||||||
|
to a problem in Cython, not lxml itself.
|
||||||
|
- Crash when using an XPath evaluator in multiple threads.
|
||||||
|
- Fixed missing whitespace before Link:... in lxml.html.diff.
|
||||||
|
Other changes
|
||||||
|
- The global error log (which is copied into the exception log)
|
||||||
|
is now local to a thread, which fixes some race conditions.
|
||||||
|
- More robust error handling on serialisation.
|
||||||
|
- Export lxml.html.parse.
|
||||||
* Thu Sep 18 2008 toms@suse.de
|
* Thu Sep 18 2008 toms@suse.de
|
||||||
- Updated to 2.1.2
|
- Updated to 2.1.2
|
||||||
Features added
|
Features added
|
||||||
|
Loading…
x
Reference in New Issue
Block a user