Mailinglist Archive: opensuse-commit (1206 mails)

< Previous Next >
commit python-kid
  • From: root@xxxxxxx (h_root)
  • Date: Fri, 26 May 2006 15:04:34 +0200 (CEST)
  • Message-id: <20060526130434.C781E8F0D7@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package python-kid
checked in at Fri May 26 15:04:34 CEST 2006.

--------
--- python-kid/python-kid.changes 2006-02-28 16:46:03.000000000 +0100
+++ python-kid/python-kid.changes 2006-05-25 14:52:38.000000000 +0200
@@ -1,0 +2,26 @@
+Thu May 25 14:48:18 CEST 2006 - cthiel@xxxxxxx
+
+- update to version 0.9.1
+ * Layout Templates:
+ o The parameters passed to a template with a py:layout were not visible
+ in named template functions or match templates.
+ o A small bug existed in Python 2.3 where the dict.update() method was
+ being called incorrectly. Python 2.4 allows a list of tuples to be
+ passed to update(), whereas Python 2.3 does not.
+ o There is a new feature in Kid for a template to specify a layout
+ template to which match templates, named template definitions, and
+ template parameters will be applied. This is useful for applying a
+ generic set of headers, menus, footers, etc. to a many pages without
+ duplicating large amounts of code in each page.
+ * py:match:
+ o The logic to apply the template matches has been reworked. This was
+ due to the discovery of some odd behavior when using multiple template
+ inheritence.
+ * Convenience Functions
+ o Kid Template instances now provide convenience funcitons defined(name)
+ and value_of(name).
+ * Invisible Comments
+ o XML comments starting with a ! character will not appear in the
+ serialized output of a template.
+
+-------------------------------------------------------------------

Old:
----
kid-0.8-setuptools.diff
kid-0.8.tar.bz2

New:
----
kid-0.9.1-setuptools.patch
kid-0.9.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-kid.spec ++++++
--- /var/tmp/diff_new_pack.u5yteT/_old 2006-05-26 15:04:04.000000000 +0200
+++ /var/tmp/diff_new_pack.u5yteT/_new 2006-05-26 15:04:04.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-kid (Version 0.8)
+# spec file for package python-kid (Version 0.9.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,14 +12,14 @@

Name: python-kid
BuildRequires: python-devel python-elementtree python-xml
-Version: 0.8
-Release: 5
+Version: 0.9.1
+Release: 1
Summary: Kid - A simple and pythonic XML template language
Group: Development/Libraries/Python
License: X11/MIT
URL: http://kid.lesscode.org/
Source: kid-%{version}.tar.bz2
-Patch: kid-%{version}-setuptools.diff
+Patch: kid-%{version}-setuptools.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-elementtree

@@ -44,7 +44,6 @@
%prep
%setup -q -n kid-%{version}
%patch
-rm doc/.guide.html~ doc/\#guide.txt\#

%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -59,10 +58,32 @@
%files
%defattr(-,root,root,-)
%doc COPYING HISTORY README doc/ examples/
-%{_bindir}/kid*
%{py_sitedir}/kid

%changelog -n python-kid
+* Thu May 25 2006 - cthiel@xxxxxxx
+- update to version 0.9.1
+ * Layout Templates:
+ o The parameters passed to a template with a py:layout were not visible
+ in named template functions or match templates.
+ o A small bug existed in Python 2.3 where the dict.update() method was
+ being called incorrectly. Python 2.4 allows a list of tuples to be
+ passed to update(), whereas Python 2.3 does not.
+ o There is a new feature in Kid for a template to specify a layout
+ template to which match templates, named template definitions, and
+ template parameters will be applied. This is useful for applying a
+ generic set of headers, menus, footers, etc. to a many pages without
+ duplicating large amounts of code in each page.
+ * py:match:
+ o The logic to apply the template matches has been reworked. This was
+ due to the discovery of some odd behavior when using multiple template
+ inheritence.
+ * Convenience Functions
+ o Kid Template instances now provide convenience funcitons defined(name)
+ and value_of(name).
+ * Invisible Comments
+ o XML comments starting with a ! character will not appear in the
+ serialized output of a template.
* Tue Feb 28 2006 - jmatejek@xxxxxxx
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls@xxxxxxx

++++++ kid-0.9.1-setuptools.patch ++++++
--- setup.py
+++ setup.py
@@ -1,14 +1,10 @@
-# bootstrap setuptools if necessary
-from ez_setup import use_setuptools
-use_setuptools()
-
import os

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,
++++++ kid-0.8.tar.bz2 -> kid-0.9.1.tar.bz2 ++++++
++++ 18079 lines of diff (skipped)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...


< Previous Next >
This Thread
  • No further messages