pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43458: [devel/py-cheetah] Update to 2.4.2.1
>Number: 43458
>Category: pkg
>Synopsis: [devel/py-cheetah] Update to 2.4.2.1
>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
>Organization:
Private
>Environment:
NetBSD nb502.wenjing.com 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb 6 17:53:27
UTC 2010
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
>Description:
2.4.2 (February 8th, 2010)
- Fix issue where subclasses of Template failed to pick up attributes in the
searchlist
- 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
(karmix0)
- 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
template
- 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
template
- 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 <debogdano%gmail.com@localhost>)
- Removal of the contrib/markdown module (in favor of a setuptools dependency)
- Default setup.py to use setuptools by default, failing that, fall back to
distutils
- Improvements to setup.py 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!)
(Test.Unicode.JBQ_UTF8_Test8)
- 0000010: [Templates] Failure to execute templates on Google App Engine
(rtyler)
- 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 communitycheetah.org to point back at
cheetahtemplate.org
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 <jbq%caraldi.com@localhost>)
- 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
<peter%endian.com@localhost>)
- Applied patch to avoid hitting the filesystem to get the file modification
time everytime a #include directive is processed (Jean-Baptiste Quenot
<jbq%caraldi.com@localhost>)
- Applied patch to fix some annoying cases when Cheetah writes to stderr
instead of propagating the exception (Jean-Baptiste Quenot
<jbq%caraldi.com@localhost>)
- Added KDE editor support
- Applied patch to correct importHook behavior on Python 2.6
(reported/patched by Toshio Ernie Kuratomi <a.badger%gmail.com@localhost>)
- Correct unicode issue when calling/embedding unicode templates inside of
other templtes (testcase Tests.Unicode.JPQ_UTF8_Test3. reported by
Jean-Baptiste Quenot <jbq%caraldi.com@localhost>)
- 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
2.1.0.1 (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
<satoru.satoh%gmail.com@localhost>
- Apply patch to support parallel compilation of templates courtesy of Evan
Klitzke <evan%eklitzke.org@localhost>
- Corrected issue when __getattr__ calls on searchList objects raise
exceptions (tyler%slide.com@localhost)
- make autocalling in valueForName correctly ignore newstyle classes and
instances that are callable, as it does for oldstyle classes and instances.
Patch from lucas%endian.com@localhost [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
Template.py reported by Erwin Ambrosch [TR]
>How-To-Repeat:
>Fix:
--- 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-2.4.2.1
+PKGNAME= ${PYPKGPREFIX}-cheetah-2.4.2.1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cheetahtemplate/}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cheetahtemplate/} \
+ http://pypi.python.org/packages/source/C/Cheetah/
CONFLICTS= Cheetah-[0-9]*
@@ -12,10 +13,11 @@
HOMEPAGE= http://cheetahtemplate.sourceforge.net/
COMMENT= Python-powered template engine and code-generator
+DEPENDS+=
${PYPKGPREFIX}-markdown>=2.0.1:../../textproc/py-markdown
+
PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
-PYSETUP= setup.py
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.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-2.4.2.1.tar.gz) = 7eaec816e681136604c7709a1f320692da23810f
+RMD160 (Cheetah-2.4.2.1.tar.gz) = 4dc748334f5fb20b6f5ccf064897ca9741f9dd59
+Size (Cheetah-2.4.2.1.tar.gz) = 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$
bin/cheetah
+bin/cheetah-analyze
bin/cheetah-compile
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/Cheetah/CacheRegion.py
${PYSITELIB}/Cheetah/CacheRegion.pyc
${PYSITELIB}/Cheetah/CacheRegion.pyo
@@ -13,6 +19,12 @@
${PYSITELIB}/Cheetah/Compiler.py
${PYSITELIB}/Cheetah/Compiler.pyc
${PYSITELIB}/Cheetah/Compiler.pyo
+${PYSITELIB}/Cheetah/DirectiveAnalyzer.py
+${PYSITELIB}/Cheetah/DirectiveAnalyzer.pyc
+${PYSITELIB}/Cheetah/DirectiveAnalyzer.pyo
+${PYSITELIB}/Cheetah/Django.py
+${PYSITELIB}/Cheetah/Django.pyc
+${PYSITELIB}/Cheetah/Django.pyo
${PYSITELIB}/Cheetah/DummyTransaction.py
${PYSITELIB}/Cheetah/DummyTransaction.pyc
${PYSITELIB}/Cheetah/DummyTransaction.pyo
@@ -68,15 +80,33 @@
${PYSITELIB}/Cheetah/Templates/__init__.py
${PYSITELIB}/Cheetah/Templates/__init__.pyc
${PYSITELIB}/Cheetah/Templates/__init__.pyo
+${PYSITELIB}/Cheetah/Tests/Analyzer.py
+${PYSITELIB}/Cheetah/Tests/Analyzer.pyc
+${PYSITELIB}/Cheetah/Tests/Analyzer.pyo
${PYSITELIB}/Cheetah/Tests/CheetahWrapper.py
${PYSITELIB}/Cheetah/Tests/CheetahWrapper.pyc
${PYSITELIB}/Cheetah/Tests/CheetahWrapper.pyo
-${PYSITELIB}/Cheetah/Tests/FileRefresh.py
-${PYSITELIB}/Cheetah/Tests/FileRefresh.pyc
-${PYSITELIB}/Cheetah/Tests/FileRefresh.pyo
+${PYSITELIB}/Cheetah/Tests/Cheps.py
+${PYSITELIB}/Cheetah/Tests/Cheps.pyc
+${PYSITELIB}/Cheetah/Tests/Cheps.pyo
+${PYSITELIB}/Cheetah/Tests/Filters.py
+${PYSITELIB}/Cheetah/Tests/Filters.pyc
+${PYSITELIB}/Cheetah/Tests/Filters.pyo
+${PYSITELIB}/Cheetah/Tests/Misc.py
+${PYSITELIB}/Cheetah/Tests/Misc.pyc
+${PYSITELIB}/Cheetah/Tests/Misc.pyo
${PYSITELIB}/Cheetah/Tests/NameMapper.py
${PYSITELIB}/Cheetah/Tests/NameMapper.pyc
${PYSITELIB}/Cheetah/Tests/NameMapper.pyo
+${PYSITELIB}/Cheetah/Tests/Parser.py
+${PYSITELIB}/Cheetah/Tests/Parser.pyc
+${PYSITELIB}/Cheetah/Tests/Parser.pyo
+${PYSITELIB}/Cheetah/Tests/Performance.py
+${PYSITELIB}/Cheetah/Tests/Performance.pyc
+${PYSITELIB}/Cheetah/Tests/Performance.pyo
+${PYSITELIB}/Cheetah/Tests/Regressions.py
+${PYSITELIB}/Cheetah/Tests/Regressions.pyc
+${PYSITELIB}/Cheetah/Tests/Regressions.pyo
${PYSITELIB}/Cheetah/Tests/SyntaxAndOutput.py
${PYSITELIB}/Cheetah/Tests/SyntaxAndOutput.pyc
${PYSITELIB}/Cheetah/Tests/SyntaxAndOutput.pyo
@@ -86,12 +116,15 @@
${PYSITELIB}/Cheetah/Tests/Test.py
${PYSITELIB}/Cheetah/Tests/Test.pyc
${PYSITELIB}/Cheetah/Tests/Test.pyo
+${PYSITELIB}/Cheetah/Tests/Unicode.py
+${PYSITELIB}/Cheetah/Tests/Unicode.pyc
+${PYSITELIB}/Cheetah/Tests/Unicode.pyo
${PYSITELIB}/Cheetah/Tests/__init__.py
${PYSITELIB}/Cheetah/Tests/__init__.pyc
${PYSITELIB}/Cheetah/Tests/__init__.pyo
-${PYSITELIB}/Cheetah/Tests/unittest_local_copy.py
-${PYSITELIB}/Cheetah/Tests/unittest_local_copy.pyc
-${PYSITELIB}/Cheetah/Tests/unittest_local_copy.pyo
+${PYSITELIB}/Cheetah/Tests/xmlrunner.py
+${PYSITELIB}/Cheetah/Tests/xmlrunner.pyc
+${PYSITELIB}/Cheetah/Tests/xmlrunner.pyo
${PYSITELIB}/Cheetah/Tools/CGITemplate.py
${PYSITELIB}/Cheetah/Tools/CGITemplate.pyc
${PYSITELIB}/Cheetah/Tools/CGITemplate.pyo
@@ -117,9 +150,6 @@
${PYSITELIB}/Cheetah/Utils/Misc.py
${PYSITELIB}/Cheetah/Utils/Misc.pyc
${PYSITELIB}/Cheetah/Utils/Misc.pyo
-${PYSITELIB}/Cheetah/Utils/VerifyType.py
-${PYSITELIB}/Cheetah/Utils/VerifyType.pyc
-${PYSITELIB}/Cheetah/Utils/VerifyType.pyo
${PYSITELIB}/Cheetah/Utils/WebInputMixin.py
${PYSITELIB}/Cheetah/Utils/WebInputMixin.pyc
${PYSITELIB}/Cheetah/Utils/WebInputMixin.pyo
@@ -132,21 +162,9 @@
${PYSITELIB}/Cheetah/Utils/htmlEncode.py
${PYSITELIB}/Cheetah/Utils/htmlEncode.pyc
${PYSITELIB}/Cheetah/Utils/htmlEncode.pyo
-${PYSITELIB}/Cheetah/Utils/memcache.py
-${PYSITELIB}/Cheetah/Utils/memcache.pyc
-${PYSITELIB}/Cheetah/Utils/memcache.pyo
-${PYSITELIB}/Cheetah/Utils/optik/__init__.py
-${PYSITELIB}/Cheetah/Utils/optik/__init__.pyc
-${PYSITELIB}/Cheetah/Utils/optik/__init__.pyo
-${PYSITELIB}/Cheetah/Utils/optik/errors.py
-${PYSITELIB}/Cheetah/Utils/optik/errors.pyc
-${PYSITELIB}/Cheetah/Utils/optik/errors.pyo
-${PYSITELIB}/Cheetah/Utils/optik/option.py
-${PYSITELIB}/Cheetah/Utils/optik/option.pyc
-${PYSITELIB}/Cheetah/Utils/optik/option.pyo
-${PYSITELIB}/Cheetah/Utils/optik/option_parser.py
-${PYSITELIB}/Cheetah/Utils/optik/option_parser.pyc
-${PYSITELIB}/Cheetah/Utils/optik/option_parser.pyo
+${PYSITELIB}/Cheetah/Utils/statprof.py
+${PYSITELIB}/Cheetah/Utils/statprof.pyc
+${PYSITELIB}/Cheetah/Utils/statprof.pyo
${PYSITELIB}/Cheetah/Version.py
${PYSITELIB}/Cheetah/Version.pyc
${PYSITELIB}/Cheetah/Version.pyo
Home |
Main Index |
Thread Index |
Old Index