Hello community, here is the log from the commit of package python-lxml checked in at Fri Sep 26 16:55:37 CEST 2008. -------- --- python-lxml/python-lxml.changes 2008-04-14 22:22:45.000000000 +0200 +++ /mounts/work_src_done/STABLE/python-lxml/python-lxml.changes 2008-05-15 09:55:44.000000000 +0200 @@ -1,0 +2,14 @@ +Wed May 15 08:37:00 CEST 2008 - toms@suse.de + +* SPEC: Fixed some warnings from rpmlint and removed duplicate doc dir +* Updated to 2.0.5 +* Features added: + - No new features +* Bugs fixed: + - Resolving to a filename in custom resolvers didn't work. + - lxml did not honour libxslt's second error state "STOPPED", + which let some XSLT errors pass silently. + - Memory leak in Schematron with libxml2 >= 2.6.31. + + +------------------------------------------------------------------- @@ -4,2 +18 @@ -- Updated to 2.0.4: -Features added: +* Features added: @@ -8,5 +21,6 @@ -Bugs fixed: -* Hanging thread in conjunction with GTK threading. -* Crash bug in iterparse when moving elements into other documents. -* HTML elements' .cssselect() method was broken. -* ElementTree.find*() didn't accept QName objects +* Bugs fixed: + - Hanging thread in conjunction with GTK threading. + - Crash bug in iterparse when moving elements into other documents. + - HTML elements' .cssselect() method was broken. + - ElementTree.find*() didn't accept QName objects + @@ -17,4 +31,4 @@ -- Split documentation into subpackage python-lxml-doc -- Updated to 2.0.3: -Features added - * soupparser.parse() allows passing keyword arguments on to +* Split documentation into subpackage python-lxml-doc +* Updated to 2.0.3 +* Features added + - soupparser.parse() allows passing keyword arguments on to @@ -22 +36 @@ - * fromstring() method in lxml.html.soupparser. + - fromstring() method in lxml.html.soupparser. @@ -24,5 +38,5 @@ -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, +* 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, @@ -30 +44 @@ -* Attribute assignment of custom PyTypes in objectify could fail + - Attribute assignment of custom PyTypes in objectify could fail @@ -33,2 +47,2 @@ -Other changes -* lxml.html.ElementSoup was replaced by a new module lxml.html.soupparser +* Other changes + - lxml.html.ElementSoup was replaced by a new module lxml.html.soupparser @@ -37 +51 @@ -* Setting the XSLT_CONFIG and XML2_CONFIG environment variables at + - Setting the XSLT_CONFIG and XML2_CONFIG environment variables at @@ -40 +54 @@ -* Passing --with-xml2-config=/path/to/xml2-config to setup.py will + - Passing --with-xml2-config=/path/to/xml2-config to setup.py will @@ -44,2 +58,2 @@ -Older changes: -* see +* Older changes: + - see @@ -49,0 +64 @@ + @@ -53,4 +68,4 @@ -- Updated to 1.3.6: -Bugs fixed - * Backported decref crash fix from 2.0 - * Well hidden free-while-in-use crash bug in ObjectPath +* Updated to 1.3.6 +* Bugs fixed + - Backported decref crash fix from 2.0 + - Well hidden free-while-in-use crash bug in ObjectPath @@ -58,2 +73,2 @@ -Other changes - * The test suites now run gc.collect() in the tearDown() methods. +* Other changes + - The test suites now run gc.collect() in the tearDown() methods. @@ -67,3 +82,3 @@ -Updated to 1.3.4: -Features added -* The ElementMaker in lxml.builder now accepts the keyword arguments +* Updated to 1.3.4 +* Features added + - The ElementMaker in lxml.builder now accepts the keyword arguments @@ -72 +87 @@ -* The docinfo on ElementTree objects has new properties internalDTD + - The docinfo on ElementTree objects has new properties internalDTD @@ -75 +90 @@ -* Serialising an ElementTree now includes any internal DTD subsets + - Serialising an ElementTree now includes any internal DTD subsets @@ -79,2 +94,2 @@ -Bugs fixed -* Parsing with the no_network option could fail +* Bugs fixed + - Parsing with the no_network option could fail @@ -82,2 +97,2 @@ -Other changes -* lxml now raises a TagNameWarning about tag names containing ':' instead +* Other changes + - lxml now raises a TagNameWarning about tag names containing ':' instead @@ -91 +106 @@ -* Serialising an Element no longer includes its comment and PI siblings + - Serialising an Element no longer includes its comment and PI siblings @@ -98,3 +113,3 @@ -Updated to 1.3.3 with the following changes: - Features added: - * ElementTree compatible parser ETCompatXMLParser strips +* Updated to 1.3.3 +* Features added: + - ElementTree compatible parser ETCompatXMLParser strips @@ -102,2 +117,2 @@ - * Parsers now support stripping PIs (keyword argument 'remove_pis') - * etree.fromstring() now supports parsing both HTML and XML, + - Parsers now support stripping PIs (keyword argument 'remove_pis') + - etree.fromstring() now supports parsing both HTML and XML, @@ -105 +120 @@ - * Support base_url keyword argument in HTML() and XML() + - Support base_url keyword argument in HTML() and XML() @@ -107,4 +122,4 @@ - Bugs fixed: - * Parsing from Python Unicode strings failed on some platforms - * Element() did not raise an exception on tag names containing ':' - * Element.getiterator(tag) did not accept Comment and ProcessingInstruction +* Bugs fixed: + - Parsing from Python Unicode strings failed on some platforms + - Element() did not raise an exception on tag names containing ':' + - Element.getiterator(tag) did not accept Comment and ProcessingInstruction @@ -117,18 +132,18 @@ -Updated to 1.1.2 with the following changes: - Features added: - * Data elements in objectify support repr(), which is now used by dump() - * Source distribution now ships with a patched Pyrex - * New C-API function makeElement() to create new elements with text, tail, attributes and namespaces - * Reuse original parser flags for XInclude - * Simplified support for handling XSLT processing instructions - - Bugs fixed: - * Parser resources were not freed before the next parser run - * Open files and XML strings returned by Python resolvers were not closed/freed - * Crash in the IDDict returned by XMLDTDID - * Copying Comments and ProcessingInstructions failed - * Memory leak for external URLs in _XSLTProcessingInstruction.parseXSL() - * Memory leak when garbage collecting tailed root elements - * 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 +* Updated to 1.1.2 +* Features added: + - Data elements in objectify support repr(), which is now used by dump() + - Source distribution now ships with a patched Pyrex + - New C-API function makeElement() to create new elements with text, tail, attributes and namespaces + - Reuse original parser flags for XInclude + - Simplified support for handling XSLT processing instructions + +* Bugs fixed: + - Parser resources were not freed before the next parser run + - Open files and XML strings returned by Python resolvers were not closed/freed + - Crash in the IDDict returned by XMLDTDID + - Copying Comments and ProcessingInstructions failed + - Memory leak for external URLs in _XSLTProcessingInstruction.parseXSL() + - Memory leak when garbage collecting tailed root elements + - 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 @@ -140 +155 @@ -- New package 1.1.2 moved from openSUSE build server +* New package 1.1.2 moved from openSUSE build server Old: ---- lxml-2.0.4.tar.bz2 New: ---- lxml-2.0.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lxml.spec ++++++ --- /var/tmp/diff_new_pack.D17548/_old 2008-09-26 16:55:15.000000000 +0200 +++ /var/tmp/diff_new_pack.D17548/_new 2008-09-26 16:55:15.000000000 +0200 @@ -1,10 +1,17 @@ # -# spec file for package python-lxml (Version 2.0.4) +# spec file for package python-lxml (Version 2.0.5) # # 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. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -14,7 +21,7 @@ %define modname lxml Url: http://codespeak.net/lxml Summary: A Pythonic Binding for the libxml2 and libxslt Libraries -Version: 2.0.4 +Version: 2.0.5 Release: 1 License: BSD 3-Clause Group: Development/Libraries/Python @@ -22,7 +29,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} Requires: pyxml -BuildRequires: libxml2-devel libxslt-devel pyrex python-devel pyxml +BuildRequires: libxslt-devel pyrex python-devel pyxml %description lxml is a Pythonic binding for the libxml2 and libxslt libraries. It @@ -64,88 +71,103 @@ python setup.py build %install -%{__install} -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} +#%{__install} -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} \ +# $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES -%{__cp} -a doc/*.* doc/html $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} +#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 %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) -%doc doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt +%doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt %{py_sitedir}/lxml %files doc %defattr(-,root,root) +%doc doc/html doc/*.* benchmark %{_defaultdocdir}/%{name} %changelog +* Thu May 15 2008 toms@suse.de + * SPEC: Fixed some warnings from rpmlint and removed duplicate doc dir + * Updated to 2.0.5 + * Features added: + - No new features + * Bugs fixed: + - Resolving to a filename in custom resolvers didn't work. + - lxml did not honour libxslt's second error state "STOPPED", + which let some XSLT errors pass silently. + - Memory leak in Schematron with libxml2 >= 2.6.31. * Mon Apr 14 2008 toms@suse.de -- Updated to 2.0.4: - Features added: -- No new features - Bugs fixed: - * Hanging thread in conjunction with GTK threading. - * Crash bug in iterparse when moving elements into other documents. - * HTML elements' .cssselect() method was broken. - * ElementTree.find*() didn't accept QName objects + * Features added: + - No new features + * Bugs fixed: + - Hanging thread in conjunction with GTK threading. + - Crash bug in iterparse when moving elements into other documents. + - HTML elements' .cssselect() method was broken. + - ElementTree.find*() didn't accept QName objects * 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 + * 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, + - 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 + - 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 + * 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 + - 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 + - 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 + * 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 - * Well hidden free-while-in-use crash bug in ObjectPath - Other changes - * The test suites now run gc.collect() in the tearDown() methods. + * Updated to 1.3.6 + * Bugs fixed + - Backported decref crash fix from 2.0 + - Well hidden free-while-in-use crash bug in ObjectPath + * Other changes + - The test suites now run gc.collect() in the tearDown() methods. 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 - Updated to 1.3.4: - Features added - * The ElementMaker in lxml.builder now accepts the keyword arguments + * Updated to 1.3.4 + * Features added + - The ElementMaker in lxml.builder now accepts the keyword arguments namespace and nsmap to set a namespace and nsmap for the Elements it creates. - * The docinfo on ElementTree objects has new properties internalDTD + - The docinfo on ElementTree objects has new properties internalDTD and externalDTD that return a DTD object for the internal or external subset of the document respectively. - * Serialising an ElementTree now includes any internal DTD subsets + - Serialising an ElementTree now includes any internal DTD subsets that are part of the document, as well as comments and PIs that are siblings of the root node. - Bugs fixed - * Parsing with the no_network option could fail - Other changes - * lxml now raises a TagNameWarning about tag names containing ':' instead + * Bugs fixed + - Parsing with the no_network option could fail + * Other changes + - lxml now raises a TagNameWarning about tag names containing ':' instead of an Error as 1.3.3 did. The reason is that a number of projects currently misuse the previous lack of tag name validation to generate namespace prefixes without declaring namespaces. Apart from the danger @@ -153,39 +175,39 @@ namespace-aware tools in XML, including XPath, XSLT and validation. lxml 1.3.x will continue to support this bug with a Warning, while lxml 2.0 will be strict about well-formed tag names (not only regarding ':'). - * Serialising an Element no longer includes its comment and PI siblings + - Serialising an Element no longer includes its comment and PI siblings (only ElementTree serialisation includes them). * Mon Jul 30 2007 toms@suse.de - Updated to 1.3.3 with the following changes: - Features added: - * ElementTree compatible parser ETCompatXMLParser strips + * Updated to 1.3.3 + * Features added: + - ElementTree compatible parser ETCompatXMLParser strips processing instructions and comments while parsing XML - * Parsers now support stripping PIs (keyword argument 'remove_pis') - * etree.fromstring() now supports parsing both HTML and XML, + - Parsers now support stripping PIs (keyword argument 'remove_pis') + - etree.fromstring() now supports parsing both HTML and XML, depending on the parser you pass - * Support base_url keyword argument in HTML() and XML() - Bugs fixed: - * Parsing from Python Unicode strings failed on some platforms - * Element() did not raise an exception on tag names containing ':' - * Element.getiterator(tag) did not accept Comment and ProcessingInstruction + - Support base_url keyword argument in HTML() and XML() + * Bugs fixed: + - Parsing from Python Unicode strings failed on some platforms + - 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 - Updated to 1.1.2 with the following changes: - Features added: - * Data elements in objectify support repr(), which is now used by dump() - * Source distribution now ships with a patched Pyrex - * New C-API function makeElement() to create new elements with text, tail, attributes and namespaces - * Reuse original parser flags for XInclude - * Simplified support for handling XSLT processing instructions - Bugs fixed: - * Parser resources were not freed before the next parser run - * Open files and XML strings returned by Python resolvers were not closed/freed - * Crash in the IDDict returned by XMLDTDID - * Copying Comments and ProcessingInstructions failed - * Memory leak for external URLs in _XSLTProcessingInstruction.parseXSL() - * Memory leak when garbage collecting tailed root elements - * 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 + * Updated to 1.1.2 + * Features added: + - Data elements in objectify support repr(), which is now used by dump() + - Source distribution now ships with a patched Pyrex + - New C-API function makeElement() to create new elements with text, tail, attributes and namespaces + - Reuse original parser flags for XInclude + - Simplified support for handling XSLT processing instructions + * Bugs fixed: + - Parser resources were not freed before the next parser run + - Open files and XML strings returned by Python resolvers were not closed/freed + - Crash in the IDDict returned by XMLDTDID + - Copying Comments and ProcessingInstructions failed + - Memory leak for external URLs in _XSLTProcessingInstruction.parseXSL() + - Memory leak when garbage collecting tailed root elements + - 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 -- New package 1.1.2 moved from openSUSE build server + * New package 1.1.2 moved from openSUSE build server ++++++ lxml-2.0.4.tar.bz2 -> lxml-2.0.5.tar.bz2 ++++++ ++++ 40861 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