r64473 - in /trunk/libmodule-starter-plugin-tt2-perl/debian: ./ patches/ source/
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Mon Nov 1 15:15:34 UTC 2010
Author: periapt-guest
Date: Mon Nov 1 15:14:54 2010
New Revision: 64473
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=64473
Log:
[svn-inject] Applying Debian modifications (0.125-1) to trunk
Added:
trunk/libmodule-starter-plugin-tt2-perl/debian/
trunk/libmodule-starter-plugin-tt2-perl/debian/changelog
trunk/libmodule-starter-plugin-tt2-perl/debian/compat
trunk/libmodule-starter-plugin-tt2-perl/debian/control
trunk/libmodule-starter-plugin-tt2-perl/debian/copyright
trunk/libmodule-starter-plugin-tt2-perl/debian/libmodule-starter-plugin-tt2-perl.examples
trunk/libmodule-starter-plugin-tt2-perl/debian/patches/
trunk/libmodule-starter-plugin-tt2-perl/debian/patches/examples.patch
trunk/libmodule-starter-plugin-tt2-perl/debian/patches/series
trunk/libmodule-starter-plugin-tt2-perl/debian/patches/template_parms.patch
trunk/libmodule-starter-plugin-tt2-perl/debian/rules (with props)
trunk/libmodule-starter-plugin-tt2-perl/debian/source/
trunk/libmodule-starter-plugin-tt2-perl/debian/source/format
trunk/libmodule-starter-plugin-tt2-perl/debian/strip_data.pl (with props)
trunk/libmodule-starter-plugin-tt2-perl/debian/watch
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/changelog?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/changelog (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/changelog Mon Nov 1 15:14:54 2010
@@ -1,0 +1,5 @@
+libmodule-starter-plugin-tt2-perl (0.125-1) UNRELEASED; urgency=low
+
+ * Initial Release. (Closes: #602027)
+
+ -- Nicholas Bamber <nicholas at periapt.co.uk> Mon, 1 Nov 2010 06:54:45 +0000
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/compat?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/compat (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/compat Mon Nov 1 15:14:54 2010
@@ -1,0 +1,1 @@
+7
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/control?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/control (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/control Mon Nov 1 15:14:54 2010
@@ -1,0 +1,26 @@
+Source: libmodule-starter-plugin-tt2-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 7.0.50~)
+Build-Depends-Indep: perl, libtemplate-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Nicholas Bamber <nicholas at periapt.co.uk>
+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}, libtemplate-perl
+Recommends: libmodule-starter-perl, 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.
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/copyright?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/copyright (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/copyright Mon Nov 1 15:14:54 2010
@@ -1,0 +1,28 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Ricardo SIGNES <rjbs at cpan.org>
+Source: http://search.cpan.org/dist/Module-Starter-Plugin-TT2/
+Name: Module-Starter-Plugin-TT2
+
+Files: *
+Copyright: 2004-2006, Ricardo SIGNES <rjbs at cpan.org>
+License: Artistic or GPL-1+
+
+Files: debian/*
+Copyright: 2010, Nicholas Bamber <nicholas at periapt.co.uk>
+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'.
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/libmodule-starter-plugin-tt2-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/libmodule-starter-plugin-tt2-perl.examples?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/libmodule-starter-plugin-tt2-perl.examples (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/libmodule-starter-plugin-tt2-perl.examples Mon Nov 1 15:14:54 2010
@@ -1,0 +1,2 @@
+templates/dir
+templates/inline
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/patches/examples.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/patches/examples.patch?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/patches/examples.patch (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/patches/examples.patch Mon Nov 1 15:14:54 2010
@@ -1,0 +1,21 @@
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+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<templates/dir>, and a file
+ C<templates/inline> 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</usr/share/doc/libmodule-starter-plugin-tt2-perl/examples>. The module
++itself contains default templates for the ModuleStore plugin in its data
+ section.
+
+ =head1 USAGE
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/patches/series?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/patches/series (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/patches/series Mon Nov 1 15:14:54 2010
@@ -1,0 +1,2 @@
+examples.patch
+template_parms.patch
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/patches/template_parms.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/patches/template_parms.patch?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/patches/template_parms.patch (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/patches/template_parms.patch Mon Nov 1 15:14:54 2010
@@ -1,0 +1,36 @@
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+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 at 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<Template> constructor, put them
++in the C<template_parms> parameter to the C<create_distro> method. It must
++be a hash reference.
++
+ =head1 METHODS
+
+ =head2 C<< renderer >>
+@@ -75,7 +79,7 @@
+
+ sub renderer {
+ my ($self) = @_;
+- my $conf = (eval $self->{template_parms})||{};
++ my $conf = $self->{template_parms} || {};
+ my $renderer = Template->new($conf);
+ }
+
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/rules?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/rules (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/rules Mon Nov 1 15:14:54 2010
@@ -1,0 +1,10 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ dh_auto_build
+ cat lib/Module/Starter/Plugin/TT2.pm | debian/strip_data.pl | pod2man --section 3pm --name Module::Starter::Plugin::TT2 > blib/man3/Module\:\:Starter\:\:Plugin\:\:TT2.3pm
+
+
Propchange: trunk/libmodule-starter-plugin-tt2-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/source/format?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/source/format (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/source/format Mon Nov 1 15:14:54 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/strip_data.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/strip_data.pl?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/strip_data.pl (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/strip_data.pl Mon Nov 1 15:14:54 2010
@@ -1,0 +1,10 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+
+while(<>) {
+ exit(0) if $_ =~ /^__DATA__$/;
+ print;
+}
+
+
Propchange: trunk/libmodule-starter-plugin-tt2-perl/debian/strip_data.pl
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libmodule-starter-plugin-tt2-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-plugin-tt2-perl/debian/watch?rev=64473&op=file
==============================================================================
--- trunk/libmodule-starter-plugin-tt2-perl/debian/watch (added)
+++ trunk/libmodule-starter-plugin-tt2-perl/debian/watch Mon Nov 1 15:14:54 2010
@@ -1,0 +1,2 @@
+version=3
+http://search.cpan.org/dist/Module-Starter-Plugin-TT2/ .*/Module-Starter-Plugin-TT2-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
More information about the Pkg-perl-cvs-commits
mailing list