debian/0000755000000000000000000000000011510152672007166 5ustar debian/control0000644000000000000000000000250611510152266010573 0ustar Source: libclass-dbi-asform-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Ansgar Burchardt , gregor herrmann Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl, libclass-dbi-perl, libclass-dbi-plugin-type-perl, libdbd-sqlite3-perl, libdbi-perl, libhtml-tree-perl (>= 4), libtest-pod-coverage-perl, libtest-pod-perl Standards-Version: 3.9.1 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-dbi-asform-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libclass-dbi-asform-perl/ Homepage: http://search.cpan.org/dist/Class-DBI-AsForm/ Package: libclass-dbi-asform-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libclass-dbi-perl, libclass-dbi-plugin-type-perl, libdbi-perl, libhtml-tree-perl Description: module to produce HTML form elements for database columns using Class::DBI The Class::DBI::AsForm module helps to generate HTML forms for creating new database rows or editing existing rows. It maps column names in a database table to HTML form elements which fit the schema. Large text fields are turned into textareas, and fields with a has-a relationship to other Class::DBI tables are turned into select drop-downs populated with objects from the joined class. debian/clean0000644000000000000000000000001011231126130010150 0ustar test.db debian/copyright0000644000000000000000000000233211510152532011114 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Tony Bowden Source: http://search.cpan.org/dist/Class-DBI-AsForm/ Name: Class-DBI-AsForm Files: * Copyright: 2003-2004, Simon Cozens 2003-2004, Tony Bowden License: Artistic or GPL-1+ Files: debian/* Copyright: 2004, 2005, Stephen Quinney 2006-2008, Bart Martens 2009, Ansgar Burchardt 2009, Salvatore Bonaccorso 2011, 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/watch0000644000000000000000000000017311212352145010214 0ustar version=3 http://search.cpan.org/dist/Class-DBI-AsForm/ .*/Class-DBI-AsForm-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/patches/0000755000000000000000000000000011510152637010616 5ustar debian/patches/02_libhtml-tree-perl_4.0.diff0000644000000000000000000000221111510151523015647 0ustar Description: adjust test to HTML::Tree 4.0 Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=63623 Bug-Debian: http://bugs.debian.org/605793 Forwarded: no Author: gregor herrmann Last-Update: 2011-01-02 --- a/t/01.t +++ b/t/01.t @@ -40,15 +40,12 @@ "Ordinary text field OK"); Foo->has_a(bar => Bar); -is(Foo->to_field("bar"), "\n", +is(Foo->to_field("bar"), "", "Select OK"); my $x = bless({id => 1, bar => Bar->retrieve_all(), baz => "Hello there"}, "Foo"); -my %cgi = ( id => ' -', - bar => ' -', - baz => ' -' +my %cgi = ( id => '', + bar => '', + baz => '' ); is_deeply({$x->to_cgi}, \%cgi, "All correct as an object method"); debian/patches/series0000644000000000000000000000007711510151523012030 0ustar 01_libhtml-tree-perl_3.23-1.diff 02_libhtml-tree-perl_4.0.diff debian/patches/01_libhtml-tree-perl_3.23-1.diff0000644000000000000000000000243611476207572016122 0ustar Description: This patch contains the modifications needed to build with libhtml-tree-perl (>= 3.23-1). Origin: vendor Bug: https://rt.cpan.org/Public/Bug/Display.html?id=19802 Bug-Debian: http://bugs.debian.org/414745 Forwarded: yes Author: Niko Tyni Reviewed-by: gregor herrmann Last-Update: 2010-12-03 --- libclass-dbi-asform-perl-2.42.orig/t/01.t +++ libclass-dbi-asform-perl-2.42/t/01.t @@ -40,15 +40,15 @@ "Ordinary text field OK"); Foo->has_a(bar => Bar); -is(Foo->to_field("bar"), "\n", +is(Foo->to_field("bar"), "\n", "Select OK"); my $x = bless({id => 1, bar => Bar->retrieve_all(), baz => "Hello there"}, "Foo"); -my %cgi = ( id => ' +my %cgi = ( id => ' ', - bar => ' + bar => ' ', - baz => ' + baz => ' ' ); is_deeply({$x->to_cgi}, \%cgi, "All correct as an object method"); debian/compat0000644000000000000000000000000211231126130010352 0ustar 7 debian/changelog0000644000000000000000000000765711510152625011055 0ustar libclass-dbi-asform-perl (2.42-6) unstable; urgency=low [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). [ Ansgar Burchardt ] * Update my email address. [ gregor herrmann ] * debian/rules: switch order of arguments to dh. * Add DEP3 headers to 01_libhtml-tree-perl_3.23-1.diff. * New patch 02_libhtml-tree-perl_4.0.diff to make the tests work with libhtml-tree-perl >= 4; tighten build dependency (closes: #605793). * Switch to source format 3.0 (quilt). * Set Standards-Version to 3.9.1 (no changes). * Add /me to Uploaders. * debian/control: remove ancient versions from (build) dependencies. * Refresh debian/copyright formatting. -- gregor herrmann Sun, 02 Jan 2011 20:44:06 +0100 libclass-dbi-asform-perl (2.42-5) unstable; urgency=low [ Ryan Niebur ] * moved with permission from Bart (Closes: #531510) * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); ${misc:Depends} to Depends: field. Changed: Maintainer set to Debian Perl Group (was: Bart Martens ); Bart Martens moved to Uploaders. * debian/watch: use dist-based URL. * remove Bart from Uploaders [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ansgar Burchardt ] * Mention module name in description. * Use debhelper 7 and quilt instead of cdbs. * Bump Standards-Version to 3.8.2. * Add myself to Uploaders. * Do no longer install README (copy of POD documentation). * Convert debian/copyright to proposed machine-readable format. * Add README.source. [ gregor herrmann ] * debian/control: make short description a noun phrase. -- Ansgar Burchardt Mon, 20 Jul 2009 19:41:19 +0200 libclass-dbi-asform-perl (2.42-4) unstable; urgency=low * debian/control: Standards-Version, Homepage, changed my e-mail address, and fixed build-depends-on-1-revision. -- Bart Martens Sat, 30 Aug 2008 17:26:49 +0200 libclass-dbi-asform-perl (2.42-3) unstable; urgency=low * debian/patches/01_libhtml-tree-perl_3.23-1.diff: Added. Closes: #414745. Patch by Niko Tyni , thanks. -- Bart Martens Tue, 24 Apr 2007 20:24:31 +0200 libclass-dbi-asform-perl (2.42-2) unstable; urgency=low * New maintainer, as agreed with Stephen. * debian/*: Use cdbs. * debian/control: Added libtest-pod-perl and libtest-pod-coverage-perl to Build-Depends-Indep for "make test". * debian/watch: Updated to version 3. -- Bart Martens Sun, 19 Nov 2006 09:59:07 +0100 libclass-dbi-asform-perl (2.42-1) unstable; urgency=low * New upstream release, closes: #329512. * Switched to my debian.org email address. -- Stephen Quinney Thu, 22 Sep 2005 20:25:41 +0100 libclass-dbi-asform-perl (2.41-2) unstable; urgency=high * Build depend against libdbd-sqlite2-perl instead of libdbd-sqlite-perl, fixes FTBFS in Sarge so urgency is high. When this fix reaches Sarge it will close #301659. * Remove the test.db in the debian/rules "clean" stage -- Stephen Quinney Fri, 1 Apr 2005 16:05:19 +0100 libclass-dbi-asform-perl (2.41-1) unstable; urgency=low * New upstream release - new maintainer. * Updated debian/copyright and debian/watch to reflect change of upstream maintainer. -- Stephen Quinney Wed, 29 Dec 2004 12:41:03 +0000 libclass-dbi-asform-perl (2.3-1) unstable; urgency=low * New upstream release - first upload, closes: #271975. -- Stephen Quinney Fri, 17 Sep 2004 10:40:45 +0100 libclass-dbi-asform-perl (2.2-1) unstable; urgency=low * Initial Release. -- Stephen Quinney Fri, 28 May 2004 12:05:59 +0100 debian/source/0000755000000000000000000000000011510152637010467 5ustar debian/source/format0000644000000000000000000000001411510151717011673 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611510151717010244 0ustar #!/usr/bin/make -f %: dh $@