--- libtemplate-plugin-class-perl-0.13.orig/debian/control +++ libtemplate-plugin-class-perl-0.13/debian/control @@ -0,0 +1,22 @@ +Source: libtemplate-plugin-class-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Krzysztof Krzyzaniak (eloy) , + Ansgar Burchardt +Build-Depends: debhelper (>= 7), quilt, perl-modules (>= 5.10) | libmodule-build-perl +Build-Depends-Indep: perl (>= 5.6.0-16), libtemplate-perl +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/Template-Plugin-Class/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtemplate-plugin-class-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtemplate-plugin-class-perl/ + +Package: libtemplate-plugin-class-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, libtemplate-perl +Description: Call methods of arbitrary classes in perl Template Toolkit + This is a plugin for the perl Template Toolkit. + . + Template::Plugin::Class allows you to call class methods on arbitrary + classes. One particularly good use for this is in Class::DBI style + applications. --- libtemplate-plugin-class-perl-0.13.orig/debian/copyright +++ libtemplate-plugin-class-perl-0.13/debian/copyright @@ -0,0 +1,30 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Richard Clamp +Upstream-Source: http://search.cpan.org/dist/Template-Plugin-Class/ +Upstream-Name: Template-Plugin-Class + +Files: * +Copyright: 2003, 2004, 2006, Richard Clamp +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: + 2004-2006, Stephen Quinney + 2006-2009, various members of the Debian Perl Group, cf. debian/changelog +License: Artistic | 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 GNU/Linux 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 GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libtemplate-plugin-class-perl-0.13.orig/debian/watch +++ libtemplate-plugin-class-perl-0.13/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=3 +http://search.cpan.org/dist/Template-Plugin-Class/ .*/Template-Plugin-Class-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libtemplate-plugin-class-perl-0.13.orig/debian/compat +++ libtemplate-plugin-class-perl-0.13/debian/compat @@ -0,0 +1 @@ +7 --- libtemplate-plugin-class-perl-0.13.orig/debian/README.source +++ libtemplate-plugin-class-perl-0.13/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. --- libtemplate-plugin-class-perl-0.13.orig/debian/changelog +++ libtemplate-plugin-class-perl-0.13/debian/changelog @@ -0,0 +1,62 @@ +libtemplate-plugin-class-perl (0.13-3) unstable; urgency=low + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * debian/watch: use dist-based URL. + * Move libmodule-build-perl to Build-Depends, add alternative build + dependency on perl-modules (>= 5.10). + * Set Standards-Version to 3.8.0 (no changes). + * debian/control: Changed: Switched Vcs-Browser field to ViewSVN + (source stanza). + * debian/control: Added: ${misc:Depends} to Depends: field. + + [ Ansgar Burchardt ] + * Add myself to Uploaders. + * Do not check value of $tt->error in t/class.t: It's value is undocumented + in case $tt->process returns no error and has changed in version 2.20 + of Template::Toolkit (Closes: #518859) + + debian/rules: Add quilt framework. + * Refresh debian/rules for debhelper 7. + + [ gregor herrmann ] + * Add debian/README.source to document quilt usage, as required by + Debian Policy since 3.8.0. + * debian/copyright: switch to new format. + + -- Ansgar Burchardt Mon, 09 Mar 2009 02:14:43 +0100 + +libtemplate-plugin-class-perl (0.13-2) unstable; urgency=low + + * Adopted for Debian Perl Group + * debian/control: debhelper (>= 5) + * debian/compat: increased to 5 + + -- Krzysztof Krzyzaniak (eloy) Thu, 23 Nov 2006 13:43:36 +0100 + +libtemplate-plugin-class-perl (0.13-1) unstable; urgency=low + + * New upstream release + * Switched to my debian.org email address. + + -- Stephen Quinney Fri, 26 May 2006 18:33:11 +0100 + +libtemplate-plugin-class-perl (0.12-2) unstable; urgency=low + + * debian/watch - Updated URL to stop lookups randomly failing. + + -- Stephen Quinney Sat, 11 Jun 2005 14:07:53 +0100 + +libtemplate-plugin-class-perl (0.12-1) unstable; urgency=low + + * New upstream release, small bug fixes. + * Uploaded for first time, closes: #226902. + + -- Stephen Quinney Fri, 23 Jan 2004 10:44:25 +0000 + +libtemplate-plugin-class-perl (0.11-1) unstable; urgency=low + + * Inital release. + + -- Stephen Quinney Fri, 9 Jan 2004 10:57:22 +0000 --- libtemplate-plugin-class-perl-0.13.orig/debian/rules +++ libtemplate-plugin-class-perl-0.13/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh build + touch $@ + +clean: unpatch + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build --- libtemplate-plugin-class-perl-0.13.orig/debian/patches/series +++ libtemplate-plugin-class-perl-0.13/debian/patches/series @@ -0,0 +1 @@ +do-not-check-error.diff --- libtemplate-plugin-class-perl-0.13.orig/debian/patches/do-not-check-error.diff +++ libtemplate-plugin-class-perl-0.13/debian/patches/do-not-check-error.diff @@ -0,0 +1,28 @@ +Subject: Do not check value of $tt->error +From: Ansgar Burchardt +Date: Mon, 09 Mar 2009 02:02:22 +0100 + +We already check if $tt->process returns an error, so do not check the value +of $tt->error as well. The value of the latter is undocumented in case there is +no error and has changed from undef to '' in Template::Toolkit 2.20. + +See http://bugs.debian.org/518859 + +--- libtemplate-plugin-class-perl.orig/t/class.t ++++ libtemplate-plugin-class-perl/t/class.t +@@ -1,13 +1,13 @@ + #!perl -w + use strict; +-use Test::More tests => 3; ++use Test::More tests => 2; + use Template; + my $tt = Template->new; + + my $template = "[% USE foo=Class('Foo') %][% foo.bar %]"; + my $out; + ok( $tt->process(\$template, {}, \$out), "processed ok" ); +-is( $tt->error, undef, "no error" ); ++#is( $tt->error, undef, "no error" ); + + is( $out, Foo->bar, "method was called" ); +