Hello community, here is the log from the commit of package python-lxml checked in at Thu Apr 3 02:15:47 CEST 2008. -------- --- python-lxml/python-lxml.changes 2007-10-30 12:04:26.000000000 +0100 +++ python-lxml/python-lxml.changes 2008-03-31 09:51:45.000000000 +0200 @@ -1,0 +2,37 @@ +Fri Mar 28 11:01:26 CET 2008 - toms@suse.de + +- Split documentation into subpackage python-lxml-doc +- Updated to 2.0.3: +Features added + * soupparser.parse() allows passing keyword arguments on to + BeautifulSoup. + * fromstring() method in lxml.html.soupparser. + +Bugs fixed: +* lxml.html.diff didn't treat empty tags properly (e.g., <br>). +* Handle entity replacements correctly in target parser. +* Crash when using iterparse() with XML Schema validation. +* The BeautifulSoup parser (soupparser.py) did not replace entities, + which made them turn up in text content. +* Attribute assignment of custom PyTypes in objectify could fail + to correctly serialise the value to a string. + +Other changes +* lxml.html.ElementSoup was replaced by a new module lxml.html.soupparser + with a more consistent API. The old module remains for + compatibility with ElementTree's own ElementSoup module. +* Setting the XSLT_CONFIG and XML2_CONFIG environment variables at + build time will let setup.py pick up the xml2-config and xslt-config + scripts from the supplied path name. +* Passing --with-xml2-config=/path/to/xml2-config to setup.py will + override the xml2-config script that is used to determine the + C compiler options. The same applies for the --with-xslt-config option. + +Older changes: +* see + http://pypi.python.org/pypi/lxml/2.0.2 + http://pypi.python.org/pypi/lxml/2.0.1 + http://pypi.python.org/pypi/lxml/2.0 + + +------------------------------------------------------------------- Old: ---- lxml-1.3.6.tar.bz2 New: ---- lxml-2.0.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lxml.spec ++++++ --- /var/tmp/diff_new_pack.CT6612/_old 2008-04-03 02:09:49.000000000 +0200 +++ /var/tmp/diff_new_pack.CT6612/_new 2008-04-03 02:09:49.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-lxml (Version 1.3.6) +# spec file for package python-lxml (Version 2.0.3) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -9,11 +9,12 @@ # + Name: python-lxml %define modname lxml Url: http://codespeak.net/lxml Summary: A Pythonic Binding for the libxml2 and libxslt Libraries -Version: 1.3.6 +Version: 2.0.3 Release: 1 License: BSD 3-Clause Group: Development/Libraries/Python @@ -38,6 +39,23 @@ Martijn Faassen - creator of lxml and initial main developer and others +%package doc +Group: Development/Libraries/Python +Summary: Documentation for python-lxml Package +License: BSD 3-Clause + +%description doc +Documentation for python-lxml package + + + +Authors: +-------- + Stefan Behnel - main developer and maintainer + Martijn Faassen - creator of lxml and initial main developer + and others + +% --------------------------------- %prep %setup -q -n %{modname}-%{version} @@ -46,7 +64,9 @@ python setup.py build %install +%{__install} -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES +%{__cp} -a doc/*.* doc/html $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} %clean rm -rf %{buildroot} @@ -55,8 +75,43 @@ %defattr(-,root,root) %doc doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt %{py_sitedir}/lxml + +%files doc +%defattr(-,root,root) +%{_defaultdocdir}/%{name} + %changelog -* Tue Oct 30 2007 - toms@suse.de +* Fri Mar 28 2008 toms@suse.de +- Split documentation into subpackage python-lxml-doc +- Updated to 2.0.3: + Features added + * soupparser.parse() allows passing keyword arguments on to + BeautifulSoup. + * fromstring() method in lxml.html.soupparser. + Bugs fixed: + * lxml.html.diff didn't treat empty tags properly (e.g., <br>). + * Handle entity replacements correctly in target parser. + * Crash when using iterparse() with XML Schema validation. + * The BeautifulSoup parser (soupparser.py) did not replace entities, + which made them turn up in text content. + * Attribute assignment of custom PyTypes in objectify could fail + to correctly serialise the value to a string. + Other changes + * lxml.html.ElementSoup was replaced by a new module lxml.html.soupparser + with a more consistent API. The old module remains for + compatibility with ElementTree's own ElementSoup module. + * Setting the XSLT_CONFIG and XML2_CONFIG environment variables at + build time will let setup.py pick up the xml2-config and xslt-config + scripts from the supplied path name. + * Passing --with-xml2-config=/path/to/xml2-config to setup.py will + override the xml2-config script that is used to determine the + C compiler options. The same applies for the --with-xslt-config option. + Older changes: + * see + http://pypi.python.org/pypi/lxml/2.0.2 + http://pypi.python.org/pypi/lxml/2.0.1 + http://pypi.python.org/pypi/lxml/2.0 +* Tue Oct 30 2007 toms@suse.de - Updated to 1.3.6: Bugs fixed * Backported decref crash fix from 2.0 @@ -66,7 +121,7 @@ While this makes them take a lot longer to run, it also makes it easier to link a specific test to garbage collection problems that would otherwise appear in later tests. -* Thu Aug 30 2007 - toms@suse.de +* Thu Aug 30 2007 toms@suse.de Updated to 1.3.4: Features added * The ElementMaker in lxml.builder now accepts the keyword arguments @@ -91,7 +146,7 @@ 2.0 will be strict about well-formed tag names (not only regarding ':'). * Serialising an Element no longer includes its comment and PI siblings (only ElementTree serialisation includes them). -* Mon Jul 30 2007 - toms@suse.de +* Mon Jul 30 2007 toms@suse.de Updated to 1.3.3 with the following changes: Features added: * ElementTree compatible parser ETCompatXMLParser strips @@ -105,7 +160,7 @@ * Element() did not raise an exception on tag names containing ':' * Element.getiterator(tag) did not accept Comment and ProcessingInstruction as tags. It also accepts Element now. -* Fri Jan 19 2007 - toms@suse.de +* Fri Jan 19 2007 toms@suse.de Updated to 1.1.2 with the following changes: Features added: * Data elements in objectify support repr(), which is now used by dump() @@ -123,5 +178,5 @@ * HTML script/style content was not propagated to .text * Show text xincluded between text nodes correctly in .text and .tail * 'integer * objectify.StringElement' operation was not supported -* Fri Dec 01 2006 - toms@suse.de +* Fri Dec 01 2006 toms@suse.de - New package 1.1.2 moved from openSUSE build server ++++++ lxml-1.3.6.tar.bz2 -> lxml-2.0.3.tar.bz2 ++++++ ++++ 409683 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org