Hello community, here is the log from the commit of package python-kid checked in at Tue Jan 9 00:06:18 CET 2007. -------- --- python-kid/python-kid.changes 2006-11-21 15:36:06.000000000 +0100 +++ /mounts/work_src_done/STABLE/python-kid/python-kid.changes 2007-01-08 23:18:37.871020000 +0100 @@ -1,0 +2,74 @@ +Mon Jan 8 22:51:15 CET 2007 - cthiel@suse.de + +- Enhancements + * Error messages + o XML errors from the Expat parser are now shown along with the + corresponding line of the erroneous XML code and the exact position of + the error. + o Kid is now much less picky about py:extends and py:layout expressions + and will output much better error messages if they cause an error. + o Kid will now also check that you dont' use a Template parameter that + conflicts with the name of a member of the BaseTemplate class. Output + Format Control + + o The serialization methods now take an additional attribute format that + must be an instance of the new Format class or a string referring to + one of several predefined output formats. This class gives you more + fine control over how the text content is serialized. You can do + things like removing redundant whitespace, adding indentation, word + wrapping, using named entities and using typographic characters for + quotes etc. You can also plug-in your own text filters here. The + chapter on Formatting in the User's Guide lists all available + parameters. + o The old filter methods of the Serializer class have been replaced by a + more powerful general method incorporating the specified format. HTML + Serializer + o As discussed on the mailing list, the HTML serializer now produces + tags in lowercase. You can change this behavior with the transpose + attribute or using the output method 'HTML' instead of 'html'. + o Additional HTML output methods have been defined corresponding to + Mozilla's "full standards mode", "almost standards mode" and "quirks + mode." XHTML Serializer + o The XHTML Serializer now also injects a meta tag with the content type + at the top of the head section. This had been only done by the + HTMLSerializer before. The content type is not injected if such a meta + tag already exists. This automatism can be controlled with the + inject_type parameter. XML Comments + o The rule when variable substitution is applied to XML comments has + been slightly changed, as explained in the Language Specification. + Additional parameters for parsing templates + o The load_template() function now takes additional parameters + entity_map and exec_module. This lets you choose a different XML + entity map to be used when parsing the template, and gives you more + control over the way in which the compiled template code is executed + in the newly created module. The entity_map parameter can also be + passed to some other functions such as XML() and compile_file(). Full + compatibility with Python 2.5 and Python eggs + o The enable_import mechanism has been completely rewritten to support + both Python 2.5 and Python eggs. The old method based on ihooks is not + used any more since ihooks is not compatible with Python eggs; and the + old method based on path_hooks is not used any more since in Python 2.5, + importers installed via path_hooks do not fall back to the built-in + import mechanism any more, breaking the previous implementation. + o The new implementation allows enabling imports from specified paths as + well as imports from sys.path which is now implemented via meta_path. + o Python versions older than Python 2.3 are not supported by Kid any + more. + * Changes + o Due to optimizations in kid.template_util, Kid 0.9.3 templates need to + be re-compiled in order to run with Kid 0.9.4. + o The 'html' output method now produces lower-case tags. If you want + upper-case tags, you have to use the 'HTML' method now. + o The kid.parser and kid.pull modules have been renamed kid.codewriter + and kid.parser respectively (in anticipation of a parsing subsystem). + * Bug Fixes + o A couple of bugs that had been reported as trac tickets have been + fixed. + o Using layout templates which are extended by another template did not + work properly (as reported on the TurboGears mailing list); this has + been fixed. + o More unit tests have been added. The testing machinery now supports + both py.test and nose, or you can simply use the run_tests.py script. +- removed obsolete Requires: python-elementtree + +------------------------------------------------------------------- Old: ---- kid-0.9.3.tar.bz2 New: ---- kid-0.9.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-kid.spec ++++++ --- /var/tmp/diff_new_pack.W31145/_old 2007-01-09 00:06:02.000000000 +0100 +++ /var/tmp/diff_new_pack.W31145/_new 2007-01-09 00:06:02.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-kid (Version 0.9.3) +# spec file for package python-kid (Version 0.9.4) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 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. # @@ -12,8 +12,8 @@ Name: python-kid BuildRequires: python-devel python-elementtree python-xml -Version: 0.9.3 -Release: 25 +Version: 0.9.4 +Release: 1 Summary: Kid - A simple and pythonic XML template language Group: Development/Libraries/Python License: X11/MIT @@ -21,7 +21,6 @@ Source: kid-%{version}.tar.bz2 Patch: kid-setuptools.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: python-elementtree Requires: python-xml %py_requires @@ -52,6 +51,7 @@ %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT +./run_tests.py %clean rm -rf $RPM_BUILD_ROOT @@ -65,6 +65,76 @@ %endif %changelog -n python-kid +* Mon Jan 08 2007 - cthiel@suse.de +- Enhancements + * Error messages + o XML errors from the Expat parser are now shown along with the + corresponding line of the erroneous XML code and the exact position of + the error. + o Kid is now much less picky about py:extends and py:layout expressions + and will output much better error messages if they cause an error. + o Kid will now also check that you dont' use a Template parameter that + conflicts with the name of a member of the BaseTemplate class. Output + Format Control + o The serialization methods now take an additional attribute format that + must be an instance of the new Format class or a string referring to + one of several predefined output formats. This class gives you more + fine control over how the text content is serialized. You can do + things like removing redundant whitespace, adding indentation, word + wrapping, using named entities and using typographic characters for + quotes etc. You can also plug-in your own text filters here. The + chapter on Formatting in the User's Guide lists all available + parameters. + o The old filter methods of the Serializer class have been replaced by a + more powerful general method incorporating the specified format. HTML + Serializer + o As discussed on the mailing list, the HTML serializer now produces + tags in lowercase. You can change this behavior with the transpose + attribute or using the output method 'HTML' instead of 'html'. + o Additional HTML output methods have been defined corresponding to + Mozilla's "full standards mode", "almost standards mode" and "quirks + mode." XHTML Serializer + o The XHTML Serializer now also injects a meta tag with the content type + at the top of the head section. This had been only done by the + HTMLSerializer before. The content type is not injected if such a meta + tag already exists. This automatism can be controlled with the + inject_type parameter. XML Comments + o The rule when variable substitution is applied to XML comments has + been slightly changed, as explained in the Language Specification. + Additional parameters for parsing templates + o The load_template() function now takes additional parameters + entity_map and exec_module. This lets you choose a different XML + entity map to be used when parsing the template, and gives you more + control over the way in which the compiled template code is executed + in the newly created module. The entity_map parameter can also be + passed to some other functions such as XML() and compile_file(). Full + compatibility with Python 2.5 and Python eggs + o The enable_import mechanism has been completely rewritten to support + both Python 2.5 and Python eggs. The old method based on ihooks is not + used any more since ihooks is not compatible with Python eggs; and the + old method based on path_hooks is not used any more since in Python 2.5, + importers installed via path_hooks do not fall back to the built-in + import mechanism any more, breaking the previous implementation. + o The new implementation allows enabling imports from specified paths as + well as imports from sys.path which is now implemented via meta_path. + o Python versions older than Python 2.3 are not supported by Kid any + more. + * Changes + o Due to optimizations in kid.template_util, Kid 0.9.3 templates need to + be re-compiled in order to run with Kid 0.9.4. + o The 'html' output method now produces lower-case tags. If you want + upper-case tags, you have to use the 'HTML' method now. + o The kid.parser and kid.pull modules have been renamed kid.codewriter + and kid.parser respectively (in anticipation of a parsing subsystem). + * Bug Fixes + o A couple of bugs that had been reported as trac tickets have been + fixed. + o Using layout templates which are extended by another template did not + work properly (as reported on the TurboGears mailing list); this has + been fixed. + o More unit tests have been added. The testing machinery now supports + both py.test and nose, or you can simply use the run_tests.py script. +- removed obsolete Requires: python-elementtree * Tue Nov 21 2006 - cthiel@suse.de - requires python-xml * Mon Oct 02 2006 - cthiel@suse.de ++++++ kid-0.9.3.tar.bz2 -> kid-0.9.4.tar.bz2 ++++++ ++++ 28379 lines of diff (skipped) ++++++ kid-setuptools.patch ++++++ --- /var/tmp/diff_new_pack.W31145/_old 2007-01-09 00:06:03.000000000 +0100 +++ /var/tmp/diff_new_pack.W31145/_new 2007-01-09 00:06:03.000000000 +0100 @@ -1,6 +1,6 @@ --- setup.py +++ setup.py -@@ -1,14 +1,10 @@ +@@ -1,12 +1,8 @@ -# bootstrap setuptools if necessary -from ez_setup import use_setuptools -use_setuptools() @@ -9,10 +9,8 @@ execfile(os.path.join("kid", "release.py")) - doc_parts = long_description.strip().splitlines() - -from setuptools import setup, find_packages +from distutils.core import setup - setup( - name="kid", - version=version, + + install_requires = [] + try: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org