debian/0000755000000000000000000000000011414141355007165 5ustar debian/control0000644000000000000000000000305311414134256010573 0ustar Source: libclass-dbi-loader-relationship-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Ansgar Burchardt Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl, libclass-dbi-loader-perl, liblingua-en-inflect-number-perl (>= 1) Standards-Version: 3.9.0 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-dbi-loader-relationship-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libclass-dbi-loader-relationship-perl/ Homepage: http://search.cpan.org/dist/Class-DBI-Loader-Relationship/ Package: libclass-dbi-loader-relationship-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libclass-dbi-loader-perl, liblingua-en-inflect-number-perl (>= 1) Description: Easier relationship specification in Class::DBI::Loader The Class::DBI::Loader::Relationship module acts as a mix-in, adding the relationship() method to Class::DBI::Loader. Since Class::DBI::Loader knows how to map between table names and class names, there ought to be no need to replicate the names. . In addition, it is common (but not universal) to want reverse relationships defined for has-many relationships, and for has-a relationships to be defined for the linkages surrounding a many-to-many table. . The aim of this module is to simplify the declaration of common database relationships by providing both of these features. . The relationship takes a string. It recognises table names (singular or plural, for convenience) and extracts them from the "sentence". debian/copyright0000644000000000000000000000316011414134256011122 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Simon Cozens Source: http://search.cpan.org/dist/Class-DBI-Loader-Relationship/ Name: Class-DBI-Loader-Relationship Copyright: 2003-2004, Simon Cozens License: Artistic or GPL-1+ X-Comment: The license grant below is taken from http://bugs.debian.org/563519#46 . From: Simon Cozens Subject: Re: cpan module Date: Sun, 04 Jul 2010 12:53:42 +0100 . On 03/07/2010 14:01, Ben Hutchings wrote: > Simon, could you please give us permission to distribute version 1.2 > under GPL/AL? . Yes, I am happy for you to distribute under those terms. . Thanks, Simon Files: debian/* Copyright: © 2004-2005, Stephen Quinney © 2006-2008, Bart Martens © 2010, Ansgar Burchardt 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 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' debian/watch0000644000000000000000000000022711414134256010221 0ustar version=3 http://search.cpan.org/dist/Class-DBI-Loader-Relationship/ .*/Class-DBI-Loader-Relationship-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011414141315010610 5ustar debian/patches/01_camel_case_bug_330088.diff0000644000000000000000000000123011414134256015502 0ustar From: Stephen Quinney Date: Wed, 12 Oct 2005 09:55:45 +0100 Origin: vendor Bug-Debian: http://bugs.debian.org/330088 Subject: Problem with CamelCase classes and underscores in table names --- libclass-dbi-loader-relationship-perl.orig/Relationship.pm +++ libclass-dbi-loader-relationship-perl/Relationship.pm @@ -93,8 +93,8 @@ return "$from_c->$method($mapper => $to_c);\n". ($method ne "has_a" && "$to_c->has_a(".to_S($from)." => $from_c);\n") if $DEBUG; - $from_c->$method($mapper => $to_c); $to_c->has_a(to_S($from) => $from_c) unless $method eq "has_a"; + $from_c->$method($mapper => $to_c); } 1; debian/patches/series0000644000000000000000000000003611320137620012024 0ustar 01_camel_case_bug_330088.diff debian/compat0000644000000000000000000000000211320137620010357 0ustar 7 debian/changelog0000644000000000000000000000552511414141121011035 0ustar libclass-dbi-loader-relationship-perl (1:1.2-4) unstable; urgency=low [ Ansgar Burchardt ] * Re-introduce version 1.2 to Debian. (Closes: #566303, #587972) + We now have a license to distribute this module. (Closes: #563519) + Bump epoch; use -4 as -1 to -3 were already seen in the archive. * Use source format 3.0 (quilt). * Use debhelper instead of CDBS. * Convert debian/copyright to proposed machine-readable format. * Add myself to Uploaders. * Bump Standards-Version to 3.9.0. * debian/control: Mention module name in description. * debian/control: Remove build-dep on libtest-simple-perl. Test::More is provided by perl. * debian/control: Homepage field now points to official module, not the unofficial 1.3 release. * No longer install README. [ Ryan Niebur ] * moved with permission from Bart (Closes: #531512) * 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. [ 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 Mon, 05 Jul 2010 02:16:34 +0900 libclass-dbi-loader-relationship-perl (1.3-2) unstable; urgency=low * debian/control: Standards-Version, Homepage. * debian/rules: Removed obsolete part about empty directories. -- Bart Martens Sat, 09 Aug 2008 08:23:12 +0200 libclass-dbi-loader-relationship-perl (1.3-1) unstable; urgency=low * New maintainer, as agreed with Stephen. * New upstream release. * debian/*: Repackaged with cdbs. * debian/copyright: Updated. * debian/watch: Updated to version 3. -- Bart Martens Fri, 17 Nov 2006 10:03:59 +0100 libclass-dbi-loader-relationship-perl (1.2-3) unstable; urgency=low * Fixed small problem with declaring has_many before has_a relationships, closes: #330088. * Added build-dependency on dpatch. * Switched to my debian.org email address. -- Stephen Quinney Wed, 12 Oct 2005 09:55:45 +0100 libclass-dbi-loader-relationship-perl (1.2-2) unstable; urgency=low * debian/watch - Updated URL so lookups do not randomly fail. -- Stephen Quinney Sat, 11 Jun 2005 11:58:57 +0100 libclass-dbi-loader-relationship-perl (1.2-1) unstable; urgency=low * Initial Release, closes: #264644. -- Stephen Quinney Wed, 11 Aug 2004 20:41:36 +0100 debian/source/0000755000000000000000000000000011414141315010461 5ustar debian/source/format0000644000000000000000000000001411320137620011667 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003511320137620010237 0ustar #!/usr/bin/make -f %: dh $@