debian/0000755000000000000000000000000012234007142007161 5ustar debian/rules0000755000000000000000000000003612234007142010240 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000354512234007142010573 0ustar Source: libhtml-widget-perl Maintainer: Debian Perl Group Uploaders: Krzysztof Krzyzaniak (eloy) , Ansgar Burchardt , gregor herrmann Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libclass-accessor-chained-perl, libclass-accessor-perl, libclass-data-accessor-perl, libdate-calc-perl, libemail-valid-perl, libhtml-scrubber-perl, libhtml-tree-perl (>= 4), libmodule-pluggable-fast-perl, libtest-deep-perl, libtest-mockobject-perl, libtest-nowarnings-perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libhtml-widget-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libhtml-widget-perl.git Homepage: https://metacpan.org/release/HTML-Widget/ Package: libhtml-widget-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libclass-accessor-chained-perl, libclass-accessor-perl, libclass-data-accessor-perl, libdate-calc-perl, libemail-valid-perl, libhtml-scrubber-perl, libhtml-tree-perl, libmodule-pluggable-fast-perl Suggests: libtest-mockobject-perl Description: HTML widget and validation framework HTML::Widget makes creating and maintaining HTML widgets easy. . Everything is optional, use validation only or just generate forms, you can embed and merge them later. . The API was designed similar to other popular modules like Data::FormValidator and FormValidator::Simple, HTML::FillInForm is also built in (and much faster). debian/source/0000755000000000000000000000000012234007142010461 5ustar debian/source/format0000644000000000000000000000001412234007142011667 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001206112234007142011033 0ustar libhtml-widget-perl (1.11-4) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * debian/watch: remove obsolete comment. [ Axel Beckert ] * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- copyright" [ gregor herrmann ] * Add patch to fix hash randomisation issue with perl 5.18 in tests. Add build dependency on libtest-deep-perl. (Closes: #711572) * Update years of packaging copyright. * Bump debhelper compatibility level to 8. * Drop build dependency on libmodule-install-perl. * Stop explicitly enabling POD test. Meant for authors at release time. * Declare compliance with Debian Policy 3.9.5. -- gregor herrmann Tue, 29 Oct 2013 20:34:52 +0100 libhtml-widget-perl (1.11-3) unstable; urgency=low [ Ansgar Burchardt ] * Update my email address. [ gregor herrmann ] * New patch to make tests compatible with libhtml-tree-perl >= 4; make build dependency versioned (closes: #605809). * Set Standards-Version to 3.9.1; remove perl version from build deps. * Add /me to Uploaders. * Switch to source format 3.0 (quilt). * Refresh debian/rules. * debian/copyright: update formatting. * debian/control: move libmodule-pluggable-fast-perl from Depends to Suggests (only used in an example). * Add a patch to fix a spelling mistake. -- gregor herrmann Wed, 19 Jan 2011 18:49:45 +0100 libhtml-widget-perl (1.11-2) unstable; urgency=low [ Ryan Niebur ] * Take over for the Debian Perl Group * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza); ${misc:Depends} to Depends: field. Changed: Maintainer set to Debian Perl Group (was: Debian Catalyst Maintainers ); Debian Catalyst Maintainers moved to Uploaders. * debian/watch: use dist-based URL. * Remove Florian Ragwitz from Uploaders (Closes: #523383) [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ansgar Burchardt ] * Refresh rules for debhelper 7. * Do no longer install README (no useful content). * Add myself to Uploaders. * Bump Standards-Version to 3.8.2. * Convert debian/copyright to proposed machine-readable format. * Disable POD tests for now: coverage tests fail. * Add patch to fix whatis entry for HTML::Widget::Manual::Developer + Add quilt framework, add README.source [ gregor herrmann ] * debian/control: slightly change short and long description. * New patch pod-coverage-test.patch: use a different environment variable for pod and pod coverage tests, so we can enable them separately. -- Ansgar Burchardt Mon, 20 Jul 2009 15:09:59 +0200 libhtml-widget-perl (1.11-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyzaniak (eloy) Fri, 9 Mar 2007 23:04:01 +0100 libhtml-widget-perl (1.10-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyzaniak (eloy) Mon, 2 Oct 2006 12:16:05 +0200 libhtml-widget-perl (1.09-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyzaniak (eloy) Fri, 22 Sep 2006 11:33:45 +0200 libhtml-widget-perl (1.08-1) unstable; urgency=low * New upstream release * debian/control: + Standards-Version: updated to 3.7.2.1 * debian/compat: + Updated to 5 -- Krzysztof Krzyzaniak (eloy) Wed, 16 Aug 2006 19:10:55 +0200 libhtml-widget-perl (1.07-2) unstable; urgency=low * debian/control: Updated dependencies, libclass-data-accessor-perl added (closes: #365169) -- Krzysztof Krzyzaniak (eloy) Fri, 28 Apr 2006 15:23:18 +0200 libhtml-widget-perl (1.07-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyzaniak (eloy) Thu, 27 Apr 2006 12:44:06 +0200 libhtml-widget-perl (1.06-1) unstable; urgency=low * New upstream release * debian/control: libmodule-pluggable-fast-perl and libtest-nowarnings-perl added to dependencies -- Krzysztof Krzyzaniak (eloy) Tue, 11 Apr 2006 20:09:27 +0200 libhtml-widget-perl (1.05-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyzaniak (eloy) Mon, 13 Mar 2006 16:41:53 +0100 libhtml-widget-perl (1.04-1) unstable; urgency=low * New upstream release * debian/rules - some cleaning with make test -- Krzysztof Krzyzaniak (eloy) Wed, 8 Feb 2006 23:28:51 +0100 libhtml-widget-perl (1.03-1) unstable; urgency=low * New upstream release (closes: #351640) -- Krzysztof Krzyzaniak (eloy) Fri, 3 Feb 2006 20:10:15 +0100 libhtml-widget-perl (1.01-1) unstable; urgency=low * Initial release. -- Krzysztof Krzyzaniak (eloy) Wed, 11 Jan 2006 16:47:53 +0100 debian/compat0000644000000000000000000000000212234007142010357 0ustar 8 debian/patches/0000755000000000000000000000000012234007142010610 5ustar debian/patches/html-tree-4.patch0000644000000000000000000000404612234007142013677 0ustar Description: make test compatible with HTML::Tree >= 4 Origin: vendor Bug: https://rt.cpan.org/Public/Bug/Display.html?id=63583 Bug-Debian: http://bugs.debian.org/605809 Forwarded: no Author: gregor herrmann Last-Update: 2011-01-19 --- a/t/04basic.t +++ b/t/04basic.t @@ -82,13 +82,14 @@ is( $c->error_xml, <Contains digit characters. EOF - is( $c->javascript_xml, < EOF + is( $c->javascript_xml, $js, 'JavScript XML output is ok' ); is( $c->as_xml, <Age Contains digit characters. --- a/t/07custom_render.t +++ b/t/07custom_render.t @@ -119,13 +119,14 @@ is( $c->error_xml, <Contains digit characters. EOF - is( $c->javascript_xml, < EOF + is( $c->javascript_xml, $js, 'JavScript XML output is ok' ); is( $c->as_xml, <Age
--- a/t/06bugs_xml_escape.t +++ b/t/06bugs_xml_escape.t @@ -23,5 +23,5 @@ like( "$f", qr'value="é"', 'utf-8 character ok' ); - like( "$f", qr'value="" foo >"', '' ); + like( "$f", qr'value="" foo >"', '' ); } debian/patches/spelling.patch0000644000000000000000000000217012234007142013446 0ustar Description: spelling fix Origin: vendor Forwarded: no Author: gregor herrmann Last-Update: 2011-01-19 --- a/lib/HTML/Widget.pm +++ b/lib/HTML/Widget.pm @@ -268,7 +268,7 @@ As a special case, if no arguments are passed, the return value is a hash-ref of attributes instead of the object reference. This provides -backwards compatability to support: +backwards compatibility to support: $w->attributes->{key} = $value; --- a/lib/HTML/Widget/Accessor.pm +++ b/lib/HTML/Widget/Accessor.pm @@ -52,7 +52,7 @@ As a special case, if no arguments are passed, the return value is a hash-ref of attributes instead of the object reference. This provides -backwards compatability to support: +backwards compatibility to support: $w->attributes->{key} = $value; --- a/lib/HTML/Widget/Element.pm +++ b/lib/HTML/Widget/Element.pm @@ -62,7 +62,7 @@ As a special case, if no arguments are passed, the return value is a hash-ref of attributes instead of the object reference. This provides -backwards compatability to support: +backwards compatibility to support: $e->attributes->{key} = $value; debian/patches/pod-coverage-test.patch0000644000000000000000000000073412234007142015165 0ustar Author: gregor herrmann Description: use a separate variable to en/disable pod coverage tests --- a/t/03podcoverage.t +++ b/t/03podcoverage.t @@ -5,6 +5,6 @@ eval "use Test::Pod::Coverage 1.04"; plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@; -plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD}; +plan skip_all => 'set TEST_POD_COVERAGE to enable this test' unless $ENV{TEST_POD_COVERAGE}; all_pod_coverage_ok(); debian/patches/series0000644000000000000000000000014712234007142012027 0ustar whatis-entries.patch pod-coverage-test.patch html-tree-4.patch spelling.patch hash-randomisation.patch debian/patches/whatis-entries.patch0000644000000000000000000000062312234007142014600 0ustar From: Ansgar Burchardt Subject: Fix whatis entries in POD documentation Date: Mon, 20 Jul 2009 15:06:36 +0200 --- libhtml-widget-perl.orig/lib/HTML/Widget/Manual/Developer.pod +++ libhtml-widget-perl/lib/HTML/Widget/Manual/Developer.pod @@ -1,6 +1,6 @@ =head1 NAME -HTML::Widget::Manual::Developer +HTML::Widget::Manual::Developer - information for developers =head1 perltidy debian/patches/hash-randomisation.patch0000644000000000000000000000254212234007142015424 0ustar Description: use Test::Deep against hash randomisation causing test failures Origin: vendor Bug: http://rt.cpan.org/Public/Bug/Display.html?id=85970 Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=85970 Bug-Debian: http://bugs.debian.org/711572 Author: gregor herrmann Last-Update: 2013-10-29 --- a/t/06bugs_select_zero_key_constraint.t +++ b/t/06bugs_select_zero_key_constraint.t @@ -1,7 +1,8 @@ use strict; use warnings; -use Test::More tests => 3; +use Test::More tests => 2; +use Test::Deep; use HTML::Widget; use lib 't/lib'; @@ -20,7 +21,5 @@ my $keys = $constraints[0]->in; -is( $keys->[0], 1, 'constraint value' ); - -is( $keys->[1], 0, 'constraint value' ); +cmp_bag( $keys, [0, 1], 'constraint values' ); --- a/t/get_errors.t +++ b/t/get_errors.t @@ -2,6 +2,7 @@ use warnings; use Test::More tests => 6; +use Test::Deep; use HTML::Widget; use lib 't/lib'; @@ -27,7 +28,7 @@ type => 'OtherType' } ); - is_deeply( [ + cmp_bag( [ new HTML::Widget::Error( { type => 'OtherType', name => 'baz', @@ -85,7 +86,7 @@ "Errors correct with name provided" ); - is_deeply( [ + cmp_bag( [ new HTML::Widget::Error( { type => 'OtherType', name => 'baz', debian/copyright0000644000000000000000000000247612234007142011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: HTML-Widget Upstream-Contact: Carl Franks Source: https://metacpan.org/release/HTML-Widget/ Files: * Copyright: 2005-2007, Sebastian Riedel License: Artistic or GPL-1+ Files: inc/Module/* Copyright: 2002-2010, Adam Kennedy 2002-2010, Audrey Tang 2002-2010, Brian Ingerson License: Artistic or GPL-1+ Files: debian/* Copyright: 2006, 2007, Krzysztof Krzyzaniak (eloy) 2009, Ansgar Burchardt 2010, 2011, 2013, gregor herrmann 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/watch0000644000000000000000000000016312234007142010212 0ustar version=3 https://metacpan.org/release/HTML-Widget/ .*/HTML-Widget-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/libhtml-widget-perl.examples0000644000000000000000000000001312234007142014567 0ustar examples/*