Commit graph

50 commits

Author SHA1 Message Date
wiz
e8647fedbb Remove SVR4_PKGNAME, per discussion on tech-pkg. 2014-10-09 13:44:32 +00:00
wiz
3c1c60554f Update to 2.26:
#-----------------------------------------------------------------------
# Version 2.26 - 17th September 2014
#------------------------------------------------------------------------

* Andy Wardley added outline directives. See Template::Manual::Syntax and
  Template::Manual::Config for details of the OUTLINE_TAG option and new
  'outline' TAG_STYLE.  See t/outline.t for examples.

* Andy Wardley improved the handling of keywords when the ANYCASE option
  is in use.  See t/anycase.t for examples.

* Chromatic fixed UTF-8 encoding in URLs in URL plugin.
  https://github.com/abw/Template2/pull/31

* Brian Fraser added support for platforms without LC_ALL/setlocale.
  https://github.com/abw/Template2/pull/34

* Amiri Barksdale fixed RT46691 to plug filter memory leaks
  https://github.com/abw/Template2/pull/36

* John Lightsey fixed RT59208 to improve SET
  https://github.com/abw/Template2/pull/38
  UPDATE: This had to be reverted as it cause a subtle breakage elsewhere
2014-10-01 11:02:33 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
wiz
a8c8135f74 Update to 2.25:
#-----------------------------------------------------------------------
# Version 2.25 - 24th July 2013
#------------------------------------------------------------------------

* Jon Jensen fixed the behaviour of split() which changed in Perl 5.18.0

* Jay Hannah added repository information for metacpan.org et. al.

* Colin Keith fixed Template::Provider's handling of directories

* Kevin Goess made the date plugin accept the ISO8601 "T" separator

* David Steinbrunner fixed various typos.

* Andreas Koenig silenced recent Pod::Simple warnings

* Slaven Rezic silenced warnings in the replace vmethod.

* Ricardo Signes made the Image plugin emit extra tags in a predictable order

* Johan Vromans added the --link option to ttree.

* Smylers added documentation for the ENCODING option.

* Andy Wardley made some minor documentation changes relating to github.
2013-09-05 19:53:01 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
asau
5eae6a18a3 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-28 06:30:00 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
sno
912594556e Updating package for CPAN distribution Template in www/p5-Template-Toolkit
from 2.23 to 2.24.

Upstream changes:
#-----------------------------------------------------------------------
# Version 2.24 - 8th February 2012
#------------------------------------------------------------------------

* Added text virtual methods: upper, lower, ucfirst, lcfirst, squote,
  dquote, trim, collapse, html and xml.

* Fixed bug RT#67918 - Bug in Makefile.PL command line parsing when 2 =
  signs were in an arguement.

* Fixed bug RT#74335 - Added documentation for some methods that were
  lacking it to keep Pod::Coverage happy.
2012-03-05 13:44:51 +00:00
hans
906ba7c681 Use ${RM} -f to avoid failure if no files are found to be removed. 2012-02-02 09:48:42 +00:00
abs
b40074eeb4 Updated www/p5-Template-Toolkit to 2.23
patch-aa covered upstream

#-----------------------------------------------------------------------
# Version 2.23 - 21st January 2012
#------------------------------------------------------------------------

* Fixed bug RT#47929 which caused the XS Stash to die mysteriously when
  calling code that used string evaluation (e.g. DateTime).

* Fixed bug RT#68722 so that list.defined('alpha') always returns false.

* Added the TRACE_VARS option to keep track of what variables are used
  in a template.  It's not documented yet.  See t/trace_vars.t for an
  example of use.

* Applied patch from RT#48989 to avoid Template::Plugin::Procedural
  from adding target class' methods AUTOLOAD and new methods multiple
  times (Jens Rehsack)

* Applied patch from RT#53451 to accept negative epoch times in
  Template::Plugin::Date.

* Applied patch from Marc Remy to add $Template::Directive::WHILE_MAX
  option to tpage.
2012-01-22 19:38:54 +00:00
obache
84fa8bcd7c Revision bump after updating perl5 to 5.14.1. 2011-08-14 16:05:39 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
sno
6d95bb047a Fixing PLIST by removing '*.orig' relics from patch stage 2010-02-16 15:22:44 +00:00
sno
4b52eff706 Adding a bug-fix which supresses same function is installed multiple times.
See http://rt.cpan.org/Ticket/Display.html?id=48989 for details.
2009-08-26 17:39:01 +00:00
sno
8a86ad1cca Adding a bug-fix which supresses same function is installed multiple times.
See http://rt.cpan.org/Ticket/Display.html?id=48989 for details.
2009-08-26 17:36:53 +00:00
sno
d61421bc6e Updating package for p5 module Template::Toolkit from 2.21 to 2.22
pkgsrc changes:
  - Add dependency to textproc/p5-Pod-POM for Template::Plugin::Pod and
    graphics/p5-Image-Info for Template::Plugin::Image

Upstream changes:
#-----------------------------------------------------------------------
# Version 2.22 - 21st July 2009
#------------------------------------------------------------------------

* Changed pod coverage and kwalitee tests to only run when release
  testing.

#-----------------------------------------------------------------------
# Version 2.21_02 - 4th July 2009
#------------------------------------------------------------------------

* Added UTF8 support to the XS Stash.
  https://rt.cpan.org/Ticket/Display.html?id=45842

* Fixed the truncate filter to handle lengths shorter than the '...'
  string being appended on the end.
  https://rt.cpan.org/Ticket/Display.html?id=45617

* Fixed a bug in the parser/grammar to make NEXT/LAST work correctly
  inside nested loops.
  https://rt.cpan.org/Ticket/Display.html?id=40887

* Fixed a bug in Template::Plugin::Filter that was causing the weakened
  $self reference in a dynamic filter closure to be garbage collected
  too soon.  (NOTE: this has probably un-fixed a previous bug)
  https://rt.cpan.org/Ticket/Display.html?id=46691

* Applied patch to allow list.sort to sort on multiple fields.
  https://rt.cpan.org/Ticket/Display.html?id=40637

#-----------------------------------------------------------------------
# Version 2.21_01 - 4th July 2009
#------------------------------------------------------------------------

* Removed Template::Plugin::Autoformat and t/autoform.t.  They're now
  available as a separate distribution.

* Fixed some Win32 test failures and XS Stash compilation problems.
2009-08-08 13:19:08 +00:00
sno
973708113c pkgsrc changes:
- Updated package for p5 module Template::Toolkit from 2.20 to 2.21
  - Set license to perl license according to META.yml
  - Adjusting dependencies according to META.yml

Upstream changes:
#-----------------------------------------------------------------------
# Version 2.21 - 30th June 2009
#------------------------------------------------------------------------

* Fixed a PRE_CHOMP bug that left \r characters lying around when
  confronted with templates with DOS \r\n line endings.
  https://rt.cpan.org/Ticket/Display.html?id=43345

* Applied patch from Bradley Baetz to fix defblock #line numbers
  http://rt.cpan.org/Public/Bug/Display.html?id=47024


#-----------------------------------------------------------------------
# Version 2.20_4 (2.21 candidate) - 21st May 2009
#------------------------------------------------------------------------

* Added the even(), odd() and parity() methods to Template::Iterator to
  assist in making zebra tables.

* Removed a post-5.6 perlism in Template::Context that broke on 5.6.2
  https://rt.cpan.org/Ticket/Display.html?id=46250

* Replaced a whole bunch of UNIVERSAL::isa() calls with blessed/isa

* Applied a patch from Norbert Buchm"uller to prevent the #line markers
  from being whitespaced away from the first column.
  https://rt.cpan.org/Ticket/Display.html?id=46269

* Applied a patch from Denis F. Latypoff to fix uri/url filters with
  utf8 text
  https://rt.cpan.org/Ticket/Display.html?id=41173


#-----------------------------------------------------------------------
# Version 2.20_3 (2.21 candidate) - 20th May 2009
#------------------------------------------------------------------------

* Fixed the XS Stash to compile properly in threaded Perls.
  https://rt.cpan.org/Public/Bug/Display.html?id=46240

* Applied a patch to the XS Stash from Alexey A. Kiritchun to make the
  scalar.length vmethod work correctly with utf8 strings.
  http://lists.tt2.org/pipermail/templates/2009-May/010803.html


#-----------------------------------------------------------------------
# Version 2.20_2 (2.21 candidate) - 17th May 2009
#------------------------------------------------------------------------

* Applied a patch to Template::Test from Andrew Ford to make it skip
  properly.
  http://lists.tt2.org/pipermail/templates/2009-March/010678.html

* Changed the ttree -v/--verbose option so be less verbose and only
  report on things that have changed.  To make it more verbose (like
  previous versions), add a second -v/--verbose flag, e.g.

    $ ttree -v -v

* Also added the --summary option to tree to print a summary of what it
  did, and the --color/--colour option to make it print its verbose
  messages in colour (on ANSI terminals).

* Applied a ttree patch from Lyle Brooks to allow ttree to accept a
  directory name as a command line argument.

* Added the define_view() and define_views() method to Template::Context
  and added the VIEWS option to pre-define views when the Template object
  is created.  Thanks to Timmy Chan for providing the groundwork on this.
  http://lists.tt2.org/pipermail/templates/2009-April/010689.html

* Retrospectively fixed the Changes for 2.20 to mention the ttree
  --encoding option.

* Applied a patch from Chisel Wright, changing uses of UNIVERSAL::can()
  to use blessed() and ->can().
  http://lists.tt2.org/pipermail/templates/2009-May/010790.html

* Fixed a memory leak in the XS Stash introduced in 2.20.
  Thanks to Breno G. de Oliveira for reporting the problem and helping to
  narrow it down.
  https://rt.cpan.org/Public/Bug/Display.html?id=46058


#------------------------------------------------------------------------
# Version 2.20_1 (2.21 candidate) - 7th April 2009
#------------------------------------------------------------------------

* Deleted all the old HTML documentation (now available separately from
  http://tt2.org/download/index.html#html_docs), examples, libraries and
  other cruft that was way out of date and badly unloved.

* Tweaked Template::Parser to work better with the ANYCASE option.  It
  now knows that anything following a dotop cannot be a keyword so that
  you can write data.last without the 'last' bit being interpreted as the
  LAST keyword.  Thanks to Sean McAfee for the post that inspired it.
  http://lists.tt2.org/pipermail/templates/2008-September/010462.html

* Fixed a broken test for Apache::Util in the html_entity filter.  Added
  the use_html_entities() and use_apache_util() class methods to
  Template::Filters to allow end-user selection of one or the other.
  http://rt.cpan.org/Public/Bug/Display.html?id=40870
  http://template-toolkit.org/svnweb/Template2/revision/?rev=1177

* Tweaked Template::Context to recognise Badger::Exception objects and
  convert them to Template::Exception objects.  This is a temporary
  measure to keep things working during the transition to Badger-based
  modules.

* Added the STRICT option which will cause the stash to throw an
  exception on encountering an undefined value.  Thanks to Ben Tilly
  for the prod.

* Applied a patch to Template::Iterator from Jonathon Padfield to make
  get_all() do the right thing if get_first() hasn't been called.

* Applied a patch to Template::Stash::Context from Ben Tilly to make
  it easier to subclass.

* Applied a patch from Robin Berjon to add the xml filter.
2009-07-07 19:45:49 +00:00
abs
0d38cf684b +PKG_DESTDIR_SUPPORT 2009-05-18 22:16:14 +00:00
he
aee58a8af6 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
2008-11-17 02:17:09 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
abs
ca519de77e Updated www/p5-Template-Toolkit 2.15 -> 2.19
#------------------------------------------------------------------------
# Version 2.19 - 27th April 2007
#------------------------------------------------------------------------

* Applied a patch to t/fileline.t from Steffen M�ller which fixes the
  problems running on Win32 with backslashes in paths.

  https://rt.cpan.org/Ticket/Display.html?id=20488

* Applied a patch to the XS Stash from Randy Kobes which fixes some other
  Win32 problems.

  http://tt2.org/pipermail/templates/2007-February/009247.html

* Applied another patch to the XS Stash from Steve Peters which fixes
  a problem with tied hashes under more recent version of Perl.

  http://tt2.org/pipermail/templates/2007-January/009181.html

* Fixed a problem in the Perl Stash when using objects that have
  overloaded comparison operators.  Thanks to Randal Schwartz, Tatsuhiko
  Miyagawa and Daisuke Maki for their contributions.

  http://tt2.org/pipermail/templates/2007-March/009265.html

* Applied a patch from Bill Moseley to Template::Provider which adds
  negative caching and moves some functionality into separate methods
  to make subclassing easier.  Also added the STAT_TTL configuration
  parameter.

  http://tt2.org/pipermail/templates/2007-January/009183.html

* Added the url filter as a less aggressive form of the uri filter.
  Whereas the uri filter now (from v2.16 onwards) encodes all the
  reserved characters (@, :, /, etc.) as per RFC2396, the url filter
  leaves them intact and thus behaves just like the uri filter used
  to.

  http://tt2.org/pipermail/templates/2007-March/009277.html

#------------------------------------------------------------------------
# Version 2.18a - 9th February 2007
#------------------------------------------------------------------------

* Applied a patch from Steve Peters to the Stash.xs to allow it to
  compile with bleadperl 5.9.x

  https://rt.cpan.org/Public/Bug/Display.html?id=22506

#------------------------------------------------------------------------
# Version 2.18 - 9th February 2007
#------------------------------------------------------------------------

* Merged in Adam's changes in 2.16 and 2.17 back into the developer CVS
  repository and added his name to the credits.

* Changed the parser grammar to accept expressions as arguments to a
  subroutine, method or virtual method call.  I'm embarrassed to admit
  that it was a one line change that could (and should) have been made
  long ago, if only I had realised just how trivial it was.  Anyway,
  you can now write nested expressions like this:

     [% add(a+5, b < 10 ? c : d + e*5) %]

* Put the t/fileline.t test back in as this was fixed in 2.15a

* Added the Template::Toolkit documentation-only module.

#------------------------------------------------------------------------
# Version 2.17 - 8th Feb 2007
#------------------------------------------------------------------------

Another interim release from Adam Kennedy.

* Change in Makefile.PL to force an upgrade to File::HomeDir 0.64 on darwin.
  This is due to problems caused by changes made to Perl on the new Intel
  versions of Mac OS X.

* skip_all filelines.t on darwin

#------------------------------------------------------------------------
# Version 2.16 - 23rd Jan 2007
#------------------------------------------------------------------------

Interim release from Adam Kennedy.

* Skip fileline.t on Win32, as it has some hard-coded path seperator
  assumptions. This will be fixed more comprehensively later.

* Handle spurious errors in Makefile.PL when a dev version of
  ExtUtils::MakeMaker is installed.

* Don't say "nmake" on Win32 when $Config{make} is 'dmake'.
  This corrects the message on Strawberry Perl.


#------------------------------------------------------------------------
# Version 2.15c - Not released                    ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Fixed a bug in Template::Parser which caused it to get confused about
  block names if it encountered a syntax error inside a BLOCK.  Thanks
  to Bill Moseley for reporting the problem.

  http://tt2.org/pipermail/templates/2006-July/008815.html

* Fixed a minor buglet in Template::Provider which came to light while
  investigating the above problem. If a previously cached template is changed
  on disk and then fails to compile, the provider now invalidates the cache
  entry immediately. Without this fix, the provider would report the error
  once, then reuse the cached good version of the template until $STAT_TTL
  ticked over when it would try to load and compile the disk version again.
  The problem was that error messages were only reported once every $STAT_TTL
  second(s) and any requests for the same template in the interim time would
  mysteriously work. This way errors get reported consistently and immediately
  and no-one has to waste an afternoon trying to figure out where the errors
  went!

#------------------------------------------------------------------------
# Version 2.15b - 30th May 2006                   ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Changed the uri filter to escape all reserved characters as per
  URI::Escape and RFC2396.  This now includes &, @, /, ;, :, =, +, ?
  and $ which were previously not escaped.  Thanks to islue@cpan.org
  for reporting the problem.

  http://rt.cpan.org/Ticket/Display.html?id=19593

* Also changed the uri filter to encode all wide characters as the
  equivalent UTF escapes.  Thanks to Jonathan Rockway for reporting
  the problem.

  http://rt.cpan.org/Ticket/Display.html?id=19354

* Fixed the redirect filter to not support relative paths.  Thanks to
  Paul Seamons for spotting the problem and providing a solution.

* Moved all the virtual methods out of Template::Stash and into
  a new Template::VMethods module.

* Fixed the version number of Template::Stash which had rolled over
  to 2.102 making it appear to predate the 2.86 stash in TT v2.14.
  Thanks to Randal Schwartz for reporting the problem.  Changed all
  version numbers in other modules to be a hard-coded numbers instead
  of grokking it automagically from the CVS revision.

* Changed the _recover() method of Template::Service to check if the
  error thrown is a Template::Exception object rather than just a
  reference.  Thanks to David Wheeler for reporting the problem.

  http://rt.cpan.org/Ticket/Display.html?id=17630

* Fixed the some tests in stash.t and stash-xs.t which were failing
  under Perl 5.6.2 due to a slightly different error message being
  generated.  Thanks to Anton Berezin for reporting the problem.

* Fixed a bug in the Template::Provider _load() method to check that
  $data is a hash ref before trying to mess with its innards.  Thanks
  to barbie@cpan.org for reporting the problem.

  http://rt.cpan.org/Ticket/Display.html?id=18653


#------------------------------------------------------------------------
# Version 2.15a - 29th May 2006                   ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Removed the latex filter from Template::Filters and related config
  variables from Template::Config

* Changed the t/fileline.t test to remove the line number from what Perl
  reports as "(eval $line)".  It appears to get the $line wrong on
  FreeBSD, although the correct line number is reported following that
  so the tests still do the right thing.  Thanks to Anton Berezin for
  reporting the problem.

* Changed the t/compile3.t test to do something similar.
2007-06-09 23:54:01 +00:00
wiz
b89ce3ef82 Fix PLIST, bump PKGREVISION, and close PR 35881. 2007-03-01 12:56:25 +00:00
wiz
a4c22f9502 Update to 2.15:
#------------------------------------------------------------------------
# Version 2.15 - 26th May 2006
#------------------------------------------------------------------------

Chomping Options
----------------

* Added the CHOMP_GREEDY option and '~' chomping flag.  Changed
  CHOMP_COLLAPSE to greedily chomp all whitespace (including multiple
  newlines) and replace it with a single space.  Previously it only
  chomped one line.  Renamed the CHOMP_ALL option to CHOMP_ONE which
  makes more sense.  CHOMP_ALL is still provided as an alias for
  CHOMP_ONE for backwards compatibility.  Thanks to Paul Seamons for
  doing all the hard work on this.

  http://tt2.org/pipermail/templates/2006-February/thread.html#8354

* Added code to the replace text virtual method to use a faster and
  simpler implementation if the replacement text doesn't contain any
  back references.  Thanks to Josh Rosenbaum for all his efforts on
  this.

  http://tt2.org/pipermail/templates/2006-February/008344.html

Stash
-----

* Changed various tests for private/hidden variables (starting '_'
  or '.') to use a regex defined in the $PRIVATE package variable in
  Template::Stash.  This can be redefined or undefined.  Note that
  the XS Stash only looks to see if $PRIVATE is defined or not, and
  currently hard-codes the regex.

Plugins
-------

* Changed the Image plugin tag() method to call the name() method
  instead of accessing the name directly, making it easier for
  subclasses to provide an alternate name.  Thanks to Cees Hek for
  his patch.

  http://tt2.org/pipermail/templates/2006-February/008423.html

* Change the AUTOLOAD regex in the Table plugin to be more robust.

  http://tt2.org/pipermail/templates/2006-May/008602.html

Documentation
-------------

* Added the Template::Toolkit documentation pointing people to
  the right place.

* Updated the Template::Stash::XS documentation to remove the
  "experimental" description and tidy things up a bit.
2007-02-27 12:50:13 +00:00
ghen
a4a48fd24b Remove empty line. 2007-01-02 11:45:30 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
jlam
6ef33b1366 Trim down the dependencies for p5-Template-Toolkit to the mininum
needed to install the module.  Packages that require plugins from the
Template Toolkit should depend on modules needed to make those plugins
function.  Bump the PKGREVISION of p5-Template-Toolkit to 3.

For the packages that depend directly on p5-Template-Toolkit, add as
dependencies all of the packages needed to make the plugins work to
the package Makefiles, and bump their PKGREVISIONs.
2004-12-25 05:00:00 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
erh
1368a35cf7 Remove several unnecessary package dependencies. 2004-11-16 01:50:31 +00:00
erh
866dfafc1a p5-libxml-enno is old and has been split into individual packages.
Change p5-Template-Toolkit to depend on those packages instead.
2004-11-12 06:57:05 +00:00
wiz
49e178efb3 Update to 2.14. Addresses PR 27589.
#------------------------------------------------------------------------
# Version 2.14 - 4th October 2004
#------------------------------------------------------------------------

* Applied patch from Harald Joerg to prevent ttree from spewing warnings
  when copying files.

* Applied a patch from Paul Orrock to fix a couple of missing errors in
  ttree.

* Commented out line 797 of Template::Directive.pm which serves no
  purpose and generates a warning.

* Applied a patch from Mark Fowler to add support for Unicode to TT.

* Changed the fourth argument to process() to accept named IO layers for
  binmode, e.g. process($in, $vars, $out, binmode => ':utf8');

* Added full range of command line options to tpage.

* Applied patches from Tosh Cooey, Simon Wilcox and Kenny Gatdula to fix
  XML::Simple to allow direct access to XMLin() and XMLout() methods.

* Fixed a bug in the 'callers' list maintained by a template component
  which was failing to remove callers from the list after processing.

* Applied a doc patch from Dave Cash documenting caller and callers.


#------------------------------------------------------------------------
# Version 2.13 - 30th January 2004
#------------------------------------------------------------------------

* Applied patch from Dave Cash to add 'caller' and 'callers' to
  'component', see

* Applied patch from Dylan William Hardison to ttree which prevents
  dependencies from interfering with files that are copied.  See


#------------------------------------------------------------------------
# Version 2.12a - 13th January 2004               ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Fixed the bug in test 25 of t/date.t, hopefully for good this time,
  thanks to the efforts of Steve Peters.

* Added the FILE_INFO option to Template::Parser.  Enabled by default,
  this can be set to 0 to prevent the parser from adding file and line
  info to the generated Perl file.  Don't ask me why - Autrijus wanted
  it (which probably means he's up to something twisted again :-).


#------------------------------------------------------------------------
# Version 2.12 - 12th January 2004
#------------------------------------------------------------------------

* Added the module_version() method to Template::Base to report the
  version number of a module.  Added some tests to t/base.t.

* Added the --template_module option to ttree, to allow the user to
  specify a template processing module other than the default 'Template'
  to be used.  Also changed various print statements to send all
  verbose output to stdout, whereas previously it was split across stdout
  and stderr.


#------------------------------------------------------------------------
# Version 2.11b - 7th January 2004                ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Applied patch from Myk Melez to ensure the 'component' variable
  remains correctly set to the current templates.


#------------------------------------------------------------------------
# Version 2.11a - 6th January 2004                ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Fixed bug in t/date.t and corrected version number of
  Template::Grammar.


#------------------------------------------------------------------------
# Version 2.11 - 6th January 2004
#------------------------------------------------------------------------

* Bumped version number and updated documentation for release.


#------------------------------------------------------------------------
# Version 2.10b - 2nd December 2003               ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Changed the Template::Document process() method to pass itself
  to the context visit() method when it calls it.  Similarly, changed
  the context visit() method to expect it.  This is useful when
  subclassing the context but shouldn't have any other effect.

* Modified parser to add the file name and line number of the source
  template to generated Perl code.  This provides useful information
  when warnings and errors are generated by Perl at runtime.  Added
  the t/fileline.t script to test it.


#------------------------------------------------------------------------
# Version 2.10a - 9th October 2003                ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Applied two patches from Axel Gerstmair to fix bugs in Makefile.PL
  and t/date.t.

* Applied patch from Jim Cromie to t/autoform.t to skip tests on all
  versions of Perl from 5.8.0 onwards.

* Changed $OUTPUT in Template::Directive to be a package variable,
  allowing it to be re-defined to permit a flushed output hack.

* Applied a patch from Darren to the 'item' hash vmethod to protect
  against accessing private variables (prefixed '.' or '_')

* Applied a patch from Ivan Adzhubey to template/splash/frame.

* Applied a patch from Bryce Harrington to add the absolute and
  relative options to ttree.  Also applied a patch from Mark Anderson
  to add the 'template_debug'.  Removed the old debug option which was
  as good as useless.

* Applied another patch from Mark to push files named on the command
  line through the process_file() sub to ensure that various options
  like accept checking, pemission preserving and copy processing (but
  not modification time) are applied.

* Applied a variation of yet another ttree patch from Mark to add the
  'suffix' option for changing the suffix of output files created.

* Applied a variation of a patch from Dylan William Hardison which
  adds the 'depend' and 'depend_file' options to ttree.
2004-10-28 10:20:57 +00:00
snj
e317401794 Convert to buildlink3. 2004-05-04 04:26:43 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
snj
7ed3ace3d3 s/intergration/integration/ 2004-02-21 07:45:35 +00:00
jmmv
eeee7fac9f Adjust dependancies and bump PKGREVISION due to:
- teTeX 1.0.x packages have been moved to teTeX1* directories.
- teTeX 2.0.x packages have been moved to teTeX* directories and their base
  name has been changed to teTeX (instead of teTeX2).
2003-12-24 13:02:00 +00:00
kristerw
f6d8743f8c Change MAINTAINER to "tech-pkg" instead of the previous "packages". 2003-12-03 22:14:45 +00:00
wiz
8d03a783dc Update to 2.10; wildcard dependency on tex.
Version 2.10 provides a few trivial new features and applies fixes to
some small bugs.  For example, you can now use IN instead of = in a
loop, e.g. FOREACH item IN list.  The WRAPPER configuration option is
new, and Template::Context and Template::Stash now both implement
define_vmethod() methods which make it easier to define new virtual
methods.

Version 2.09 contained mostly bug fixes and minor enhancements.

Version 2.08 added compile time constant folding which can result in a
significant performance boost when processing templates.  It also
offered several other minor enhancements and bug fixes.
2003-10-03 13:54:00 +00:00
martti
33e2a02324 COMMENT should start with a capital letter. 2003-07-22 04:14:17 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
seb
f7968d6db9 Use buildlink2. Use perl5/module.mk. 2002-10-27 21:20:37 +00:00
wiz
df928bdfda We have databases/p5-Apache-DBI-0.88, so we don't need www/ap-DBI-0.87
[which is an older version of the same source]. Remove it.
Noted by Andrew Brown in connection with PR 18280.
2002-09-25 18:39:36 +00:00
uebayasi
2f177b1663 Updated to 2.07. Provided by Hiramatsu Yoshifumi <hiramatu@boreas.dti.ne.jp>
in pkg/16289 as 2.06, and further update to 2.07 by me.

Some of changes from 2.04 are:

* Add 'valign' as an option to the html/cell template.
* Added the 'uri' filter for URI escaping text.
* Incorporated Doug's XS Stash.
* Modified Template::Plugins fetch() method to accept $factory as a code
  reference.
* 'orange' became valid colour.
* Added 'sorted' as a flag to the HTML plugin.
* Added get_all() and get() to the DBI iterator.

And many bug fixes as usual.
2002-05-29 15:10:59 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
nra
9b62bbc414 Add the p5-Template-Toolkit version 2.04. This package is a perl5 text
template and dynamic web page intergration module.
2001-07-02 18:08:25 +00:00