./textproc/p5-Text-Template, Perl5 library for generating form letters

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.53nb1, Package name: p5-Text-Template-1.53nb1, Maintainer: pkgsrc-users

This is a library for generating form letters, building HTML pages,
or filling in templates generally. A `template' is a piece of text
that has little Perl programs embedded in it here and there. When
you `fill in' a template, you evaluate the little programs and
replace them with their values. Here's an example of a template:

Dear {$title} {$lastname},

It has come to our attention that you are delinquent in your
{$monthname[$last_paid_month]} payment. Please remit
${sprintf("%.2f", $amount)} immediately, or your patellae may
be needlessly endangered.


The result of filling in this template is a string, which might look
something like this:

Dear Mr. Gates,

It has come to our attention that you are delinquent in your
February payment. Please remit
$392.12 immediately, or your patellae may
be needlessly endangered.


Required to run:
[lang/perl5]

Required to build:
[devel/p5-Test-Warnings] [pkgtools/cwrappers] [devel/p5-Test-More-UTF8]

Master sites: (Expand)

SHA1: 845feff9291c4ca241bba995d589176b78b9dd01
RMD160: 3a8198330fedc3fbae16fcbb1fccee94562389ca
Filesize: 47.718 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2018-05-06 09:00:52 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Text-Template: update to 1.53.

1.53  2018-05-02
    - Add support for decoding template files via ENCODING constructor arg
      [github #11]
    - Docs cleanup: replace indirect-object style examples and use class method
      style constructor calls in the POD docs
    - Docs cleanup: remove hard tabs from POD, replace dated, unfair synopsis
      [github #5], convert "THANKS" section to a POD list
   2018-03-21 13:43:14 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Text-Template: update to 1.52.

1.52  2018-03-19
    - Fix possible 'Subroutine ... redefined' warning (Github #10)
   2018-03-08 14:07:19 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Text-Template: update to 1.51.

1.51  2018-03-04
    - Add test for nested tags breakage that happened in v1.46
    - Turn off strict+warnings in sections where template code is eval'ed
      [github #9]
   2018-02-20 11:07:47 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.50

Upstream changes:
1.50  2018-02-10
  *** Revert support for identical start/end delimiters (e.g.: @@foo@@, XXfooXX)
      due to breakage with nested tags (see
      https://github.com/mschout/perl-text-template/issues/8).  Will revisit
      this in a future release.

1.49  2018-02-07
    - Fix failing tests in v1.48 under perl < 5.8.9

1.48  2018-02-07
    - remove COPYING and Artistic files from the dist.  These are replaced by
      the Dist::Zilla generated LICENSE file.
    - use strict/warnings (thanks Mohammad S Anwar)
    - remove $VERSION checks from tests. This makes it easier to run the test
      with Dist::Zilla and avoids maintenance issue of updating the tests for
      each release (Thanks Andrew Ruder).
    - Allow precompiled templates to work with preprocessing [#29928] (Thanks
      Nik LaBelle)
    - Add "strict" option to fill_in().  This adds "use \ 
strict" and "use vars
      (...)" to the prepend section, and only the keys of the HASH option are
      allowed in the template.  (Thanks Desmond Daignault, Kivanc Yazan, CJM)
      [55696]
    - Fix templates with inline comments without newline after comment for perl
      < 5.18 [34292]
    - Don't use bareword file handles
    - use three arg form of open()
    - Fix BROKEN behaviour so that it returns the text accumulated so far on
      undef as documented [28974]
    - Source code cleanups
    - Minimum perl version is now 5.8.0
    - Allow start/end delimiters to be identical (e.g.: @@foo@@, XXfooXX)
      (Thanks mirod) [46639]
    - Fix + document the FILENAME parameter to fill_in() (Thanks VDB) [106093]
    - Test suite cleanups:
        + turn on strict/warnings for all tests
        + run tests through perltidy and formatting cleanup
        + remove number prefixes from test names
        + use Test::More instead of generating TAP by hand
        + use three-arg form of open()
        + don't use indirect object syntax
        + don't use bareword file handles
        + use File::Temp to generate temporary files
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-03-01 08:24:19 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Text-Template to 1.47.

1.47  2017-02-27
    - Fix longstanding memory leak in _scrubpkg() [#22031]
    - Fix various spelling errors [#86872]
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.