debian/0000755000000000000000000000000011510662662007173 5ustar debian/control0000644000000000000000000000263711510464530010600 0ustar Source: libhtml-template-pluggable-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libhtml-template-perl, libtest-mockobject-perl, libregexp-common-perl, libclass-trigger-perl, pkg-components (>= 0.2), libnumber-format-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/HTML-Template-Pluggable/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhtml-template-pluggable-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libhtml-template-pluggable-perl/ Package: libhtml-template-pluggable-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libhtml-template-perl, libregexp-common-perl, libclass-trigger-perl Recommends: libnumber-format-perl Description: extension of HTML::Template with plugin support By overriding the 'param' and 'output' methods from HTML::Template, HTML::Template::Pluggable provides support for HTML::Template plugins. . HTML::Template::Plugin::Dot adds support for the magic dot notation to HTML::Template. Thus objects can be supplied to the template via the 'param' method and object methods can be accessed in the template. . HTML::Template::Plugin::Dot::Helpers adds a number of convenience methods to handle strings and numbers. debian/copyright0000644000000000000000000000233411510464530011122 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Rhesa Rozendaal Source: http://search.cpan.org/dist/HTML-Template-Pluggable/ Name: HTML-Template-Pluggable Files: * Copyright: 2006, Mark Stosberg, (partial) 2006, Rhesa Rozendaal, (partial) License: Artistic or GPL-1+ Files: helpers/* Copyriight 2005, Rhesa Rozendaal, License: Artistic or GPL-1+ Files: debian/* Copyright: 2011, 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 GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/update.sh0000755000000000000000000000136311510464530011011 0ustar #!/bin/sh set -e DESTDIR=${DESTDIR:-../tarballs} MODULE=HTML-Template-Pluggable PACKAGE=libhtml-template-pluggable-perl VERSION=0.17 HELPERS_VERS=0.04 FD=--force-download NS=--no-symlink RE=--rename DD="--destdir ${DESTDIR}" RS=--report-status DC=-"-watch debian/components" US=--upstream-version if [ $1 ] then echo update; rm -f ${DESTDIR}/${MODULE}*.tar.gz uscan ${FD} ${RE} ${DD} && true; uscan ${DC}/helpers/watch ${FD} ${NS} ${DD} ${US} ${HELPERS_VERS} && true; cd ${DESTDIR} HELPERS=`ls HTML-Template-Plugin-Dot-Helpers*.tar.gz` mv ${HELPERS} ${PACKAGE}_${VERSION}.orig-helpers.tar.gz cd - else echo report; uscan ${RS} && true; uscan ${DC}/helpers/watch ${RS} ${DD} ${US} ${HELPERS_VERS} && true; fi debian/watch0000644000000000000000000000021311510464530010212 0ustar version=3 http://search.cpan.org/dist/HTML-Template-Pluggable/ .*/HTML-Template-Pluggable-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011510662625010621 5ustar debian/patches/disable_us_test.patch0000644000000000000000000000117611510464530015013 0ustar Author: Nicholas Bamber Last-Update: 2010-01-03 Subject: one test only works in the US locale Bug: http://rt.cpan.org/Ticket/Display.html?id=64434 --- a/helpers/t/number.t +++ b/helpers/t/number.t @@ -57,6 +57,8 @@ # diag("output: ", $o4); like( $o4, qr/Yes/ ); +SKIP: { + skip "test dependent on locale", 1; my $t4 = HTML::Template::Pluggable->new( scalarref => \q{ }, global_vars => 1, @@ -67,6 +69,7 @@ my $o5 = $t4->output; # diag("output: ", $o4); like( $o5, qr/USD 2.25/ ); +}; __END__ debian/patches/series0000644000000000000000000000002611510464530012027 0ustar disable_us_test.patch debian/compat0000644000000000000000000000000211510464530010363 0ustar 8 debian/README.source0000644000000000000000000000214011510464530011341 0ustar For most purposes this package is a standard Debian Perl Group package. The aspect in which it is special is that some related modules are bundled together with the package. So long as you have the appropriate tar balls in the correct place you can build using dpkg-buildpackage or svn-buildpackage as you would normally. If you have a fresh checkout from the svn repository and you wish to download all the tarballs to build under svn-buildpackage, then from the package root directory run: ./debian/update.sh update To check for new updates drop the "update" argument. If you are building under dpkg-buildpackage you need to tell the script about the alternative build directory so run DESTDIR=.. ./debian/update.sh update There are a couple of important caveats about the update.sh script. First of all when used in update mode it will DELETE the existing tarballs. Secondly when you do update one of the components, the update.sh script will need to be updated. These limitations arise because it is a temporary work around until pkg-components (or even uscan) provides something more substantial. debian/changelog0000644000000000000000000000026611510464530011043 0ustar libhtml-template-pluggable-perl (0.17-1) unstable; urgency=low * Initial Release. (Closes: #608838) -- Nicholas Bamber Mon, 03 Jan 2011 23:47:29 +0000 debian/source/0000755000000000000000000000000011510662625010472 5ustar debian/source/format0000644000000000000000000000001411510464530011673 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000006011510464530010241 0ustar #!/usr/bin/make -f %: dh $@ --with components debian/components/0000755000000000000000000000000011510662625011357 5ustar debian/components/helpers/0000755000000000000000000000000011510662625013021 5ustar debian/components/helpers/watch0000644000000000000000000000023511510464530014045 0ustar version=3 http://search.cpan.org/dist/HTML-Template-Plugin-Dot-Helpers/ .*/HTML-Template-Plugin-Dot-Helpers-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$