debian/0000755000000000000000000000000011465553703007177 5ustar debian/control0000644000000000000000000000252311465553046010604 0ustar Source: libmodule-starter-plugin-tt2-perl Section: perl Priority: optional Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: perl, libtemplate-perl, libtest-pod-perl, libtest-pod-coverage-perl Maintainer: Debian Perl Group Uploaders: Nicholas Bamber Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/Module-Starter-Plugin-TT2/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/ Package: libmodule-starter-plugin-tt2-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libmodule-starter-perl, libtemplate-perl Recommends: libmodule-starter-plugin-simplestore-perl Description: module providing Template toolkit support for Module::Starter Module::Starter::Plugin::TT2 is intended to be loaded after Module::Starter::Plugin::Template. It implements the renderer and render methods, required by the Template plugin. The methods are implemented with Template Toolkit. . Module::Starter::Plugin::TT2's distribution includes a directory, templates/dir, and a file templates/inline that contain stock templates for use with the InlineStore and DirStore plugins. The module itself contains default templates in its data section. debian/copyright0000644000000000000000000000207111464233556011132 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Ricardo SIGNES Source: http://search.cpan.org/dist/Module-Starter-Plugin-TT2/ Name: Module-Starter-Plugin-TT2 Files: * Copyright: 2004-2006, Ricardo SIGNES License: Artistic or GPL-1+ Files: debian/* Copyright: 2010, Nicholas Bamber License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000021711464233556010230 0ustar version=3 http://search.cpan.org/dist/Module-Starter-Plugin-TT2/ .*/Module-Starter-Plugin-TT2-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011465553636010633 5ustar debian/patches/examples.patch0000644000000000000000000000152711464233556013472 0ustar Author: Nicholas Bamber Subject: Man page should document the location of the examples Forwarded: not-needed Last-Update: 2010-11-01 --- a/lib/Module/Starter/Plugin/TT2.pm +++ b/lib/Module/Starter/Plugin/TT2.pm @@ -32,9 +32,13 @@ methods, required by the Template plugin. The methods are implemented with Template Toolkit. +=head1 EXAMPLES + This module's distribution includes a directory, C, and a file C that contain stock templates for use with the InlineStore -and DirStore plugins. The module itself contains default templates in its data +and DirStore plugins. On Debian systems these files are installed in +C. The module +itself contains default templates for the ModuleStore plugin in its data section. =head1 USAGE debian/patches/series0000644000000000000000000000004411464233556012041 0ustar examples.patch template_parms.patch debian/patches/template_parms.patch0000644000000000000000000000255211464233556014670 0ustar Author: Nicholas Bamber Last-Update: 2010-11-01 Bug: http://rt.cpan.org/Ticket/Display.html?id=46185 Subject: Module author asked for patches for broken code djerius@cpan.org reported that if the template_parms parameter was not set in create_distro an error would be reported, but that the parameter was not used elsewhere in the code. He went on to speculate that it might be orphan code. The module author thinks this might be corrected and requested patches. Code inspection reveals that the parameter does have meaning - it is passed to the Template module where it may do all sorts of stuff. However this usage is broken because of a stray 'eval'. This patch documents the usage and removes the eval. --- a/lib/Module/Starter/Plugin/TT2.pm +++ b/lib/Module/Starter/Plugin/TT2.pm @@ -64,6 +64,10 @@ MODULE_TEMPLATE_MODULE environment variable, or using a different template store altogether (q.v., SimpleStore or other plugins). +If you need to send parameters to the L