pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/p5-Template-Toolkit Update from version 2.19nb1 to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5797c5c77e6
branches:  trunk
changeset: 550191:a5797c5c77e6
user:      he <he%pkgsrc.org@localhost>
date:      Mon Nov 17 02:17:09 2008 +0000

description:
Update from version 2.19nb1 to 2.20.

Pkgsrc changes:
 o Accept default TT options, don't set them explicitly.
 o Add commented-out additional HOMEPAGE using search.cpan.org.
 o Add a patch related to module bug
   http://rt.cpan.org/Public/Bug/Display.html?id=39100

Thanks to Jens Rehsack for the update, provided in PR pkg/39600!

Upstream changes:

#------------------------------------------------------------------------
# Version 2.20 - 13th August 2008
#------------------------------------------------------------------------

* Updated all the documentation.

* Restored the GIF images that got mangled in the switch from CVS to
  Subversion.

* Fixed the Makefile.PL to pre-glob the tests to keep things working
  smoothly in Win32.
  http://rt.cpan.org/Ticket/Display.html?id=25573

* Applied a patch to Template::Directives from Ben Morrow to fix the
  SWITCH/CASE directive when matching strings containing regex metacharacters.
  http://rt.cpan.org/Ticket/Display.html?id=24183

* Applied a patch to Template::Parser from Koichi Taniguchi to make it
  treat TAGS with case sensitivity.
  http://rt.cpan.org/Ticket/Display.html?id=19975

* Changed html_entity_filter_factory() in Template::Filters to only look for
  Apache::Utils and HTML::Entities once.
  http://rt.cpan.org/Ticket/Display.html?id=19837


Template::Stash
---------------

* Applied a patch to Template::Stash from Jess Robinson which allows you
  to call a list method on a single object and have it automatically
  upgraded to a single item list.  Changed the XS Stash to do the same.
  http://lists.tt2.org/pipermail/templates/2006-November/009115.html

* Fixed a minor bug in the XS Stash which prevented it from updating
  hash entries with empty, but defined keys.  Thanks to Yitzchak
  Scott-Thoennes for reporting the problem.
  http://lists.tt2.org/pipermail/templates/2007-November/009819.html

* Applied a patch from Alexandr Ciornii  to make the XS Stash compile
  cleanly under VC++ 6.0 and with Sun's C compiler.
  http://rt.cpan.org/Ticket/Display.html?id=20291


Template::Provider
------------------

* Fixed a minor bug in the Template::Provider code added in 2.19 that
  caused errors in templates to only be reported once.  Subsequent
  fetches incorrectly returned 'not found' instead of repeating the
  error.

* Made Template::Provider use File::Spec->catfile instead of using '/'
  and letting Perl worry about Doing The Right Thing.
  http://rt.cpan.org/Ticket/Display.html?id=34489

* Applied patch from Lyle Brooks to add binmode to the _template_content()
  method in Template::Provider.
  http://rt.cpan.org/Ticket/Display.html?id=38075

* Applied patch from Ted Carnahan to silence UNIVERSAL::isa warnings in
  Template::Provider.
  http://rt.cpan.org/Ticket/Display.html?id=25468

* Applied patch to Template::Provider from Andrew Hamlin which works around
  a bug in Strawberry Perl on Win32.
  http://rt.cpan.org/Ticket/Display.html?id=34578


Template::VMethods
------------------

* Applied a patch from Paul "LeoNerd" Evans to make the list.slice vmethod
  work properly with negative indices.
  http://lists.tt2.org/pipermail/templates/2008-March/010105.html


Plugins
-------

* Added the Math plugin and related files to the MANIFEST so they
  actually get shipped out as part of the distribution.  D'Oh!
  http://rt.cpan.org/Ticket/Display.html?id=27375

* Added the Scalar plugin which adds the .scalar vmethod for calling
  object methods and subroutines in scalar context.

* Added Template::Plugin::Assert which allows you to assert that values
  are defined.

* Changed Template::Plugin::Filter to weaken the $self reference to avoid
  circular references and memory leaks.  Thanks to Masahiro Honma for
  reporting the problem and suggesting the fix.

* Applied patch from Ronald J Kimball to make Template::Plugin::Date accept
  dates with the year coming first.
  http://lists.tt2.org/pipermail/templates/2007-July/009540.html

* Added C<1;> to the end of a few plugin modules that were missing it.

ttree
-----

* Changed the --accept option in ttree to match against the full file
  path (relative to --src dir) rather than just the file name.  This
  makes it behave the same way as the --ignore option.

* Applied patch from Lyle Brooks to add binmode to the process()
  call in ttree.
  http://rt.cpan.org/Ticket/Display.html?id=38076

* Added a patch from Nigel Metheringham also to set binmode in ttree
  but via a configuration option.
  https://rt.cpan.org/Ticket/Display.html?id=30760

diffstat:

 www/p5-Template-Toolkit/Makefile         |    16 +-
 www/p5-Template-Toolkit/PLIST            |  1352 ------------------------------
 www/p5-Template-Toolkit/distinfo         |     9 +-
 www/p5-Template-Toolkit/patches/patch-aa |   591 +++++++++++++
 4 files changed, 603 insertions(+), 1365 deletions(-)

diffs (truncated from 2003 to 300 lines):

diff -r 4d6ccc5cd205 -r a5797c5c77e6 www/p5-Template-Toolkit/Makefile
--- a/www/p5-Template-Toolkit/Makefile  Sun Nov 16 23:53:49 2008 +0000
+++ b/www/p5-Template-Toolkit/Makefile  Mon Nov 17 02:17:09 2008 +0000
@@ -1,27 +1,25 @@
-# $NetBSD: Makefile,v 1.27 2008/10/19 19:19:17 he Exp $
+# $NetBSD: Makefile,v 1.28 2008/11/17 02:17:09 he Exp $
 #
 
-DISTNAME=      Template-Toolkit-2.19
+DISTNAME=      Template-Toolkit-2.20
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
 SVR4_PKGNAME=  p5tto
 CATEGORIES=    www perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Template/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.template-toolkit.org/
+#HOMEPAGE=     http://search.cpan.org/dist/Template-Toolkit/
 COMMENT=       Perl5 text template and dynamic web page integration toolkit
 
 DEPENDS+=      p5-AppConfig>=1.52:../../devel/p5-AppConfig
 
 PERL5_PACKLIST=        auto/Template/.packlist
 
-MAKE_PARAMS=   TT_PREFIX=${PREFIX}/share/tt2
-MAKE_PARAMS+=  TT_LATEX=y
-MAKE_PARAMS+=  TT_LATEX_PATH=${LOCALBASE}/bin/latex
-MAKE_PARAMS+=  TT_PDFLATEX_PATH=${LOCALBASE}/bin/pdflatex
-MAKE_PARAMS+=  TT_DVIPS_PATH=${LOCALBASE}/bin/dvips
-MAKE_PARAMS+=  TT_ACCEPT=y
+MAKE_PARAMS=   TT_ACCEPT=y
+#MAKE_PARAMS+= TT_PREFIX=${PREFIX}/share/tt2
+#MAKE_PARAMS+= TT_BUILD_DOCS=y
+#MAKE_PARAMS+= TT_EXAMPLES=y
 
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4d6ccc5cd205 -r a5797c5c77e6 www/p5-Template-Toolkit/PLIST
--- a/www/p5-Template-Toolkit/PLIST     Sun Nov 16 23:53:49 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1352 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2007/06/09 23:54:01 abs Exp $
-share/tt2/docs/README
-share/tt2/docs/html/FAQ/FAQ.html
-share/tt2/docs/html/FAQ/index.html
-share/tt2/docs/html/Library/HTML.html
-share/tt2/docs/html/Library/PostScript.html
-share/tt2/docs/html/Library/Splash.html
-share/tt2/docs/html/Library/index.html
-share/tt2/docs/html/Manual/Config.html
-share/tt2/docs/html/Manual/Credits.html
-share/tt2/docs/html/Manual/Directives.html
-share/tt2/docs/html/Manual/Filters.html
-share/tt2/docs/html/Manual/Internals.html
-share/tt2/docs/html/Manual/Intro.html
-share/tt2/docs/html/Manual/Plugins.html
-share/tt2/docs/html/Manual/Refs.html
-share/tt2/docs/html/Manual/Syntax.html
-share/tt2/docs/html/Manual/VMethods.html
-share/tt2/docs/html/Manual/Variables.html
-share/tt2/docs/html/Manual/Views.html
-share/tt2/docs/html/Manual/index.html
-share/tt2/docs/html/Modules/Template.html
-share/tt2/docs/html/Modules/Template/Base.html
-share/tt2/docs/html/Modules/Template/Config.html
-share/tt2/docs/html/Modules/Template/Constants.html
-share/tt2/docs/html/Modules/Template/Context.html
-share/tt2/docs/html/Modules/Template/Document.html
-share/tt2/docs/html/Modules/Template/Exception.html
-share/tt2/docs/html/Modules/Template/Filters.html
-share/tt2/docs/html/Modules/Template/Iterator.html
-share/tt2/docs/html/Modules/Template/Namespace/Constants.html
-share/tt2/docs/html/Modules/Template/Parser.html
-share/tt2/docs/html/Modules/Template/Plugin.html
-share/tt2/docs/html/Modules/Template/Plugin/Autoformat.html
-share/tt2/docs/html/Modules/Template/Plugin/CGI.html
-share/tt2/docs/html/Modules/Template/Plugin/Datafile.html
-share/tt2/docs/html/Modules/Template/Plugin/Date.html
-share/tt2/docs/html/Modules/Template/Plugin/Directory.html
-share/tt2/docs/html/Modules/Template/Plugin/Dumper.html
-share/tt2/docs/html/Modules/Template/Plugin/File.html
-share/tt2/docs/html/Modules/Template/Plugin/Filter.html
-share/tt2/docs/html/Modules/Template/Plugin/Format.html
-share/tt2/docs/html/Modules/Template/Plugin/HTML.html
-share/tt2/docs/html/Modules/Template/Plugin/Image.html
-share/tt2/docs/html/Modules/Template/Plugin/Iterator.html
-share/tt2/docs/html/Modules/Template/Plugin/Pod.html
-share/tt2/docs/html/Modules/Template/Plugin/Procedural.html
-share/tt2/docs/html/Modules/Template/Plugin/String.html
-share/tt2/docs/html/Modules/Template/Plugin/Table.html
-share/tt2/docs/html/Modules/Template/Plugin/URL.html
-share/tt2/docs/html/Modules/Template/Plugin/View.html
-share/tt2/docs/html/Modules/Template/Plugin/Wrap.html
-share/tt2/docs/html/Modules/Template/Plugins.html
-share/tt2/docs/html/Modules/Template/Provider.html
-share/tt2/docs/html/Modules/Template/Service.html
-share/tt2/docs/html/Modules/Template/Stash.html
-share/tt2/docs/html/Modules/Template/Stash/Context.html
-share/tt2/docs/html/Modules/Template/Stash/XS.html
-share/tt2/docs/html/Modules/Template/Test.html
-share/tt2/docs/html/Modules/Template/Toolkit.html
-share/tt2/docs/html/Modules/index.html
-share/tt2/docs/html/README
-share/tt2/docs/html/Release/Changes.html
-share/tt2/docs/html/Release/HACKING.html
-share/tt2/docs/html/Release/INSTALL.html
-share/tt2/docs/html/Release/README.html
-share/tt2/docs/html/Release/TODO.html
-share/tt2/docs/html/Release/index.html
-share/tt2/docs/html/Tools/index.html
-share/tt2/docs/html/Tools/tpage.html
-share/tt2/docs/html/Tools/ttree.html
-share/tt2/docs/html/Tutorial/Datafile.html
-share/tt2/docs/html/Tutorial/Web.html
-share/tt2/docs/html/Tutorial/index.html
-share/tt2/docs/html/index.html
-share/tt2/docs/lib/config
-share/tt2/docs/lib/docset/config
-share/tt2/docs/lib/footer
-share/tt2/docs/lib/header
-share/tt2/docs/lib/link
-share/tt2/docs/lib/ndx
-share/tt2/docs/lib/ndxitem
-share/tt2/docs/lib/section
-share/tt2/docs/lib/subsection
-share/tt2/docs/lib/toc
-share/tt2/docs/lib/tocitem
-share/tt2/docs/src/FAQ/FAQ.html
-share/tt2/docs/src/FAQ/index.html
-share/tt2/docs/src/Library/HTML.html
-share/tt2/docs/src/Library/PostScript.html
-share/tt2/docs/src/Library/Splash.html
-share/tt2/docs/src/Library/index.html
-share/tt2/docs/src/Manual/Config.html
-share/tt2/docs/src/Manual/Credits.html
-share/tt2/docs/src/Manual/Directives.html
-share/tt2/docs/src/Manual/Filters.html
-share/tt2/docs/src/Manual/Internals.html
-share/tt2/docs/src/Manual/Intro.html
-share/tt2/docs/src/Manual/Plugins.html
-share/tt2/docs/src/Manual/Refs.html
-share/tt2/docs/src/Manual/Syntax.html
-share/tt2/docs/src/Manual/VMethods.html
-share/tt2/docs/src/Manual/Variables.html
-share/tt2/docs/src/Manual/Views.html
-share/tt2/docs/src/Manual/index.html
-share/tt2/docs/src/Modules/Template.html
-share/tt2/docs/src/Modules/Template/Base.html
-share/tt2/docs/src/Modules/Template/Config.html
-share/tt2/docs/src/Modules/Template/Constants.html
-share/tt2/docs/src/Modules/Template/Context.html
-share/tt2/docs/src/Modules/Template/Document.html
-share/tt2/docs/src/Modules/Template/Exception.html
-share/tt2/docs/src/Modules/Template/Filters.html
-share/tt2/docs/src/Modules/Template/Iterator.html
-share/tt2/docs/src/Modules/Template/Namespace/Constants.html
-share/tt2/docs/src/Modules/Template/Parser.html
-share/tt2/docs/src/Modules/Template/Plugin.html
-share/tt2/docs/src/Modules/Template/Plugin/Autoformat.html
-share/tt2/docs/src/Modules/Template/Plugin/CGI.html
-share/tt2/docs/src/Modules/Template/Plugin/Datafile.html
-share/tt2/docs/src/Modules/Template/Plugin/Date.html
-share/tt2/docs/src/Modules/Template/Plugin/Directory.html
-share/tt2/docs/src/Modules/Template/Plugin/Dumper.html
-share/tt2/docs/src/Modules/Template/Plugin/File.html
-share/tt2/docs/src/Modules/Template/Plugin/Filter.html
-share/tt2/docs/src/Modules/Template/Plugin/Format.html
-share/tt2/docs/src/Modules/Template/Plugin/HTML.html
-share/tt2/docs/src/Modules/Template/Plugin/Image.html
-share/tt2/docs/src/Modules/Template/Plugin/Iterator.html
-share/tt2/docs/src/Modules/Template/Plugin/Pod.html
-share/tt2/docs/src/Modules/Template/Plugin/Procedural.html
-share/tt2/docs/src/Modules/Template/Plugin/String.html
-share/tt2/docs/src/Modules/Template/Plugin/Table.html
-share/tt2/docs/src/Modules/Template/Plugin/URL.html
-share/tt2/docs/src/Modules/Template/Plugin/View.html
-share/tt2/docs/src/Modules/Template/Plugin/Wrap.html
-share/tt2/docs/src/Modules/Template/Plugins.html
-share/tt2/docs/src/Modules/Template/Provider.html
-share/tt2/docs/src/Modules/Template/Service.html
-share/tt2/docs/src/Modules/Template/Stash.html
-share/tt2/docs/src/Modules/Template/Stash/Context.html
-share/tt2/docs/src/Modules/Template/Stash/XS.html
-share/tt2/docs/src/Modules/Template/Test.html
-share/tt2/docs/src/Modules/Template/Toolkit.html
-share/tt2/docs/src/Modules/index.html
-share/tt2/docs/src/Release/Changes.html
-share/tt2/docs/src/Release/HACKING.html
-share/tt2/docs/src/Release/INSTALL.html
-share/tt2/docs/src/Release/README.html
-share/tt2/docs/src/Release/TODO.html
-share/tt2/docs/src/Release/index.html
-share/tt2/docs/src/Tools/index.html
-share/tt2/docs/src/Tools/tpage.html
-share/tt2/docs/src/Tools/ttree.html
-share/tt2/docs/src/Tutorial/Datafile.html
-share/tt2/docs/src/Tutorial/Web.html
-share/tt2/docs/src/Tutorial/index.html
-share/tt2/docs/src/index.html
-share/tt2/docs/style/plain/booktabs
-share/tt2/docs/style/plain/footer
-share/tt2/docs/style/plain/header
-share/tt2/docs/style/plain/navigate
-share/tt2/docs/style/plain/pagemenu
-share/tt2/docs/style/plain/section
-share/tt2/docs/style/splash/booktabs
-share/tt2/docs/style/splash/footer
-share/tt2/docs/style/splash/header
-share/tt2/docs/style/splash/menu
-share/tt2/docs/style/splash/navigate
-share/tt2/docs/style/splash/pagemenu
-share/tt2/docs/style/splash/section
-share/tt2/docs/ttree.cfg
-share/tt2/examples/README
-share/tt2/examples/html/README
-share/tt2/examples/html/html/bars.html
-share/tt2/examples/html/html/headers.html
-share/tt2/examples/html/html/index.html
-share/tt2/examples/html/html/links.html
-share/tt2/examples/html/html/lists.html
-share/tt2/examples/html/html/menus.html
-share/tt2/examples/html/html/rgb.html
-share/tt2/examples/html/html/tables.html
-share/tt2/examples/html/ps/index.html
-share/tt2/examples/html/ps/marks.html
-share/tt2/examples/html/splash/bar.html
-share/tt2/examples/html/splash/box.html
-share/tt2/examples/html/splash/button.html
-share/tt2/examples/html/splash/colours.html
-share/tt2/examples/html/splash/config.html
-share/tt2/examples/html/splash/dropbox.html
-share/tt2/examples/html/splash/frame.html
-share/tt2/examples/html/splash/hair.html
-share/tt2/examples/html/splash/icon.html
-share/tt2/examples/html/splash/index.html
-share/tt2/examples/html/splash/menu.html
-share/tt2/examples/html/splash/menubar.html
-share/tt2/examples/html/splash/panel.html
-share/tt2/examples/html/splash/pulldown.html
-share/tt2/examples/html/splash/tab.html
-share/tt2/examples/html/splash/tabbox.html
-share/tt2/examples/html/splash/tabsbox.html
-share/tt2/examples/html/splash/tabset.html
-share/tt2/examples/html/splash/text.html
-share/tt2/examples/lib/README
-share/tt2/examples/lib/config
-share/tt2/examples/lib/example/README
-share/tt2/examples/lib/example/break
-share/tt2/examples/lib/example/html
-share/tt2/examples/lib/example/output
-share/tt2/examples/lib/example/source
-share/tt2/examples/lib/example/split2
-share/tt2/examples/lib/example/split2ps
-share/tt2/examples/lib/example/split3
-share/tt2/examples/lib/example/split50
-share/tt2/examples/lib/example/switch50
-share/tt2/examples/lib/example/tbreak
-share/tt2/examples/lib/example/vsplit2
-share/tt2/examples/lib/example/vsplit2s
-share/tt2/examples/lib/example/vsplit3
-share/tt2/examples/lib/example/vsplit50
-share/tt2/examples/lib/examples/README
-share/tt2/examples/lib/examples/html/bars/1
-share/tt2/examples/lib/examples/html/bars/10
-share/tt2/examples/lib/examples/html/bars/11
-share/tt2/examples/lib/examples/html/bars/2
-share/tt2/examples/lib/examples/html/bars/3
-share/tt2/examples/lib/examples/html/bars/4
-share/tt2/examples/lib/examples/html/bars/5
-share/tt2/examples/lib/examples/html/bars/6
-share/tt2/examples/lib/examples/html/bars/7
-share/tt2/examples/lib/examples/html/bars/8
-share/tt2/examples/lib/examples/html/bars/9
-share/tt2/examples/lib/examples/html/headers/1
-share/tt2/examples/lib/examples/html/headers/2
-share/tt2/examples/lib/examples/html/headers/3
-share/tt2/examples/lib/examples/html/headers/4
-share/tt2/examples/lib/examples/html/headers/5
-share/tt2/examples/lib/examples/html/headers/6
-share/tt2/examples/lib/examples/html/headers/7
-share/tt2/examples/lib/examples/html/links/1
-share/tt2/examples/lib/examples/html/links/2
-share/tt2/examples/lib/examples/html/links/3
-share/tt2/examples/lib/examples/html/links/4
-share/tt2/examples/lib/examples/html/links/5
-share/tt2/examples/lib/examples/html/links/6
-share/tt2/examples/lib/examples/html/links/7
-share/tt2/examples/lib/examples/html/lists/1
-share/tt2/examples/lib/examples/html/lists/2
-share/tt2/examples/lib/examples/html/lists/3
-share/tt2/examples/lib/examples/html/lists/4
-share/tt2/examples/lib/examples/html/lists/5
-share/tt2/examples/lib/examples/html/lists/6
-share/tt2/examples/lib/examples/html/lists/7
-share/tt2/examples/lib/examples/html/lists/8
-share/tt2/examples/lib/examples/html/menus/1
-share/tt2/examples/lib/examples/html/menus/2
-share/tt2/examples/lib/examples/html/menus/3
-share/tt2/examples/lib/examples/html/menus/4



Home | Main Index | Thread Index | Old Index