pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43458: [devel/py-cheetah] Update to

>Number:         43458
>Category:       pkg
>Synopsis:       [devel/py-cheetah] Update to
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 11 14:00:00 +0000 2010
>Originator:     Wen Heping
>Release:        NetBSD-5.0.2
NetBSD 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 
UTC 2010

2.4.2 (February 8th, 2010)
  - Fix issue where subclasses of Template failed to pick up attributes in the 
  - Remove old/outdated bundled memcached python client
  - Allow for #encoding directives to exist after a comment (i.e. not the first 
line in a module)
  - Remove support for WebWare servlets (which caused significant performance 
slowdowns on Mac OS X)
  - Old/stale code pruned in preparation for Python 3 support

2.4.1 (December 19th, 2009)
  - --quiet flag added to `cheetah` to silence printing to stdout (abbeyj)
  - Refactoring to minimize the amount of forked code for Python3 (rtyler)
  - Template.compile() will no longer create class names with numerous leading 
underscores (rtyler; reported by Kirill Uhanov)
  - DirectiveAnalyzer (cheetah-analyze script) added to report directive usage 
in templates (rtyler)
  - Older LaTeX docs converted to rst for Sphinx (rtyler)
  - Prevent #raw blocks from evaluating $-placeholders and escaped strings 
  - New tests added to verify PSP behavior and other untested internals (rtyler)

2.4.0 (October 24th, 2009)
  - Fix a major performance regression in Template.__init__()
  - More graceful handling of unicode when calling .respond() to render a 
  - Minor code updates
  - Update the default filter (thanks mikeb!)

2.3.0 (October 24th, 2009) (loosely equivalent to 2.4.0)
  - Fix a major performance regression in Template.__init__()
  - More graceful handling of unicode when calling .respond() to render a 
  - Minor code updates
  - Update the default filter (thanks mikeb!)

2.2.2 (September 10th, 2009)
  - Prevent _namemapper.c from segfaulting when PyImport_ImportModule fails for 
some reason (Bogdano Arendartchuk <>)
  - Removal of the contrib/markdown module (in favor of a setuptools dependency)
  - Default to use setuptools by default, failing that, fall back to 
  - Improvements to to support building for Windows (thanks abbeyj!)
  - Improvements to C-based NameMapper for Windows
  - Fixes for a swath of unit tests on Windows
  - Re-enabling the EOL tests (whoops)
  - Fix for unicode/utf-8 dynamic compilation error (thanks mikeb!) 
  - 0000010: [Templates] Failure to execute templates on Google App Engine 
  - 0000026: [Compiler] Support multiple inheritance (rtyler)

2.2.1 (June 1st, 2009)
  - 0000020: [Templates] Builtin support for using Cheetah with Django (rtyler)
  - 0000021: [Compiler] @static and @classmethod don't properly define the 
_filter local (rtyler)
  - 0000023: [Compiler] Update Template super calls to use super() (rtyler)
  - Update all references to to point back at

2.2.0 (May 17th, 2009)
  - Switch all internal representations of template code to unicode objects 
instead of str() objects
  - Convert unicode compiled template to an utf8 char buffer when writing to a 
file (Jean-Baptiste Quenot <>)
  - 0000011: [Templates] Calling a function with arguments calls the function 
with None (rtyler)
  - 0000015: [Tests] Resolve test failures in 'next' branch (rtyler)
  - 0000019: [Templates] Properly warn when joining unicode and non-unicode 
objects in DummyTransaction (rtyler)

2.1.2 (May 5, 2009)
  - 0000006: [Templates] Support @staticmethod and @classmethod (rtyler)

2.1.1 (April 16, 2009)
  - Support __eq__() and __ne__() the way you might expect in 
src/Tools/RecursiveNull (patch suggested by Peter Warasin 
  - Applied patch to avoid hitting the filesystem to get the file modification 
time everytime a #include directive is processed (Jean-Baptiste Quenot 
  - Applied patch to fix some annoying cases when Cheetah writes to stderr 
instead of propagating the exception (Jean-Baptiste Quenot 
  - Added KDE editor support
  - Applied patch to correct importHook behavior on Python 2.6 
(reported/patched by Toshio Ernie Kuratomi <>)
  - Correct unicode issue when calling/embedding unicode templates inside of 
other templtes (testcase Tests.Unicode.JPQ_UTF8_Test3. reported by 
Jean-Baptiste Quenot <>)
  - Added --shbang option (e.g. "cheetah compile --shbang 
'#!/usr/bin/python2.6' ")
  - Removed dependency on optik OptionParser in favor of builtin Python 
optparse module
  - Introduction of the #transform directive for whole-document filtering
  - Introduction of Cheetah.contrib.markdown and Cheetah.Filters.Markdown for 
outputting a markdown processed template (meant for #transform)
  - Cheetah.Filters.CodeHighlighter, pygments-based code highlighting filter 
for use with #transform
  - Addition of "useLegacyImportMode" compiler setting (defaulted to True) to 
allow for older (read: broken) import behavior (March 27, 2009)
  - Fix inline import issue introduced in v2.1.0

2.1.0 (March 16, 2009)
  - Quiet DeprecationWarnings being printed to stderr when using Cheetah on 
Python 2.6 and up. Patch suggested by Satoru SATOH 
  - Apply patch to support parallel compilation of templates courtesy of Evan 
Klitzke <>
  - Corrected issue when __getattr__ calls on searchList objects raise 
exceptions (
  - make autocalling in valueForName correctly ignore newstyle classes and 
instances that are callable, as it does for oldstyle classes and instances.  
Patch from    [TR]
  - made it possible to chain multiple decorators to a method #def [TR with 
patch from Graham Dennis]
  - fixed a bug in _eatMultiLineDef that Graham Dennis reported. [TR]
  - fixed 'module.__init__() argument 1 must be string, not unicode' bug in reported by Erwin Ambrosch [TR]

--- Makefile.orig       2010-06-11 05:58:25.000000000 +0800
+++ Makefile    2010-06-12 05:52:45.000000000 +0800
@@ -1,10 +1,11 @@
 # $NetBSD: Makefile,v 1.11 2009/03/05 18:51:28 joerg Exp $

-DISTNAME=              Cheetah-2.0.1
-PKGNAME=               ${PYPKGPREFIX}-cheetah-2.0.1
+DISTNAME=              Cheetah-
+PKGNAME=               ${PYPKGPREFIX}-cheetah-
 CATEGORIES=            devel
-MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=cheetahtemplate/}
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=cheetahtemplate/} \

 CONFLICTS=             Cheetah-[0-9]*

@@ -12,10 +13,11 @@
 COMMENT=               Python-powered template engine and code-generator

 PKG_DESTDIR_SUPPORT=   user-destdir

 PYDISTUTILSPKG=                yes

-.include "../../lang/python/"
+.include "../../lang/python/"
 .include "../../mk/"
--- distinfo.orig       2010-06-11 05:58:32.000000000 +0800
+++ distinfo    2010-06-11 06:00:04.000000000 +0800
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.5 2008/04/29 11:07:36 shannonjr Exp $

-SHA1 (Cheetah-2.0.1.tar.gz) = 6c1aab90bf2d34f3f72998c96ff2767d870a5e7d
-RMD160 (Cheetah-2.0.1.tar.gz) = 9e8ef0afc4eabd1349e4228f5ad78551f7bddbe4
-Size (Cheetah-2.0.1.tar.gz) = 215295 bytes
+SHA1 (Cheetah- = 7eaec816e681136604c7709a1f320692da23810f
+RMD160 (Cheetah- = 4dc748334f5fb20b6f5ccf064897ca9741f9dd59
+Size (Cheetah- = 189943 bytes
--- PLIST.orig  2010-06-11 05:58:39.000000000 +0800
+++ PLIST       2010-06-12 05:38:40.000000000 +0800
@@ -1,6 +1,12 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:49:04 joerg Exp $
+@comment $NetBSD$
@@ -13,6 +19,12 @@
@@ -68,15 +80,33 @@
@@ -86,12 +116,15 @@
@@ -117,9 +150,6 @@
@@ -132,21 +162,9 @@

Home | Main Index | Thread Index | Old Index