pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/p5-Template-Extract Update to 0.40:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba01665338e4
branches:  trunk
changeset: 526040:ba01665338e4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Feb 27 13:36:42 2007 +0000

description:
Update to 0.40:

[Changes for 0.40 - 2005-09-17]

* Support for capturing matched regular expressions into variables,
  Contributed by "woremacx".  For example, this captures an nonempty
  header text into the "heading" variable:

    <h2>[% heading =~ /((?!<\/h2).+?)/ %]</h2>

[Changes for 0.39 - 2005-07-15]

* Allow passing Template::Parser options directly into
  Template::Extract->new().  Suggested by brian d foy.

* Factored out the parser into Template::Extract::Parser to
  allow use of alternate parsers with the PARSE_CLASS class method.

[Changes for 0.38 - 2004-10-25]

* Fix test failure with pre-5.8.4's regex optimizer.
  Reported by CPAN testers.

[Changes for 0.37 - 2004-10-20]

* Move under SVK for version management.
* If the template ends with a capturing variable, make it
  greedy instead of nongreedy, so it won't always match the
  empty string.  Reported by LTJake on IRC.

[Changes for 0.36 - 2004-02-16]

* Separate the compilation and run parts into two
  modules, for ease of deployment (::Run may be put
  on a machine without TT2) and marginally faster
  execution.  Suggested by Bruno De Fraine.

[Changes for 0.35 - 2004-01-09]

* Fixes regression caused by newer TT2 versions,
  which adds the extra "#line" directives into the
  regular expressions.  Spotted by Yi-Ming Cao
  and Sam Smith.

* Implement suggestion from Luis Oliveira: embedded
  non-capturing regexes, such as [% /\s*/ %].

* Add implicit optional newlines around [% FOREACH %]
  blocks, so it can intuitively work.

[Changes for 0.33 - 2003-12-13]

* Adds MANIFEST.SKIP that takes care of Module::Build
  files, so older versions of Module::Build/MakeMaker
  won't trip Module::Signature over.  Thanks to CPAN
  smoker Jost Krieger for the report.

[Changes for 0.32 - 2003-12-13]

* Improved build intrastructure, suggested by Mark Fowler,
  to automatically check and download nmake.exe on Windows,
  as well as supporting a Module::Build-compatible Build.PL.

* Clarify documents; add links to Simon and Mark's articles.

[Changes for 0.31 - 2003-10-21]

* New flag $EXACT to control whether partial documents
  should match. (defaults to 0 for backward compatibility)

* Tatsuhiko Miyagawa pointed out that [% FOREACH %] blocks
  fail to match prematurely because it can match zero times.
  Now outermost foreach blocks must match at least once.

[Changes for 0.30 - 2003-10-20]

* This module is no longer experimental. :)
* Russell Matbouli reports that extract did not properly
  set \%values.  Fixed.
* [% SET key = "value" %] now works inside FOREACHs.
* [% SET nested.key = "value" %] now works.
* Much more robust validating code inside FOREACHs.
* Refactored the common context walking code from "get",
  "set" and "validate" into _ext, and improved readability.

diffstat:

 www/p5-Template-Extract/Makefile |  5 ++---
 www/p5-Template-Extract/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r d96e5a9e95e8 -r ba01665338e4 www/p5-Template-Extract/Makefile
--- a/www/p5-Template-Extract/Makefile  Tue Feb 27 13:30:49 2007 +0000
+++ b/www/p5-Template-Extract/Makefile  Tue Feb 27 13:36:42 2007 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2006/08/10 03:21:40 minskim Exp $
+# $NetBSD: Makefile,v 1.16 2007/02/27 13:36:42 wiz Exp $
 
-DISTNAME=              Template-Extract-0.25
+DISTNAME=              Template-Extract-0.40
 PKGNAME=               p5-${DISTNAME}
-PKGREVISION=           6
 SVR4_PKGNAME=          p5tex
 CATEGORIES=            www perl5
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Template/}
diff -r d96e5a9e95e8 -r ba01665338e4 www/p5-Template-Extract/distinfo
--- a/www/p5-Template-Extract/distinfo  Tue Feb 27 13:30:49 2007 +0000
+++ b/www/p5-Template-Extract/distinfo  Tue Feb 27 13:36:42 2007 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:08:37 wiz Exp $
+$NetBSD: distinfo,v 1.3 2007/02/27 13:36:42 wiz Exp $
 
-SHA1 (Template-Extract-0.25.tar.gz) = 9e5a99ee3076e130ce601f50c672b3baf05510b5
-RMD160 (Template-Extract-0.25.tar.gz) = 6a43614f13a4ba58169fa029b010e42818023219
-Size (Template-Extract-0.25.tar.gz) = 19323 bytes
+SHA1 (Template-Extract-0.40.tar.gz) = ceb375c98846a3e99361b973c6e356c1b3ed7877
+RMD160 (Template-Extract-0.40.tar.gz) = 6b37b096dd6d0f1022e4131d1f3b6abd33eec524
+Size (Template-Extract-0.40.tar.gz) = 27960 bytes



Home | Main Index | Thread Index | Old Index