--- libmoosex-clone-perl-0.05.orig/debian/control +++ libmoosex-clone-perl-0.05/debian/control @@ -0,0 +1,22 @@ +Source: libmoosex-clone-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7) +Build-Depends-Indep: perl (>= 5.10), libdata-visitor-perl (>= 0.24), + libmoose-perl (>= 0.74), libnamespace-clean-perl, libtest-use-ok-perl +Maintainer: Debian Perl Group +Uploaders: Jonathan Yu +Standards-Version: 3.8.3 +Homepage: http://search.cpan.org/dist/MooseX-Clone/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmoosex-clone-perl +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmoosex-clone-perl + +Package: libmoosex-clone-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, libdata-visitor-perl (>= 0.24), + libmoose-perl (>= 0.74), libnamespace-clean-perl, perl (>= 5.10) +Description: Moose extension providing fine-grained cloning support + MooseX::Clone extends Moose's low level cloning functionality by providing + selective deep cloning using introspection. Attributes with the Clone trait + will handle cloning of data within the object, typically delegating to the + attribute value's own clone method. --- libmoosex-clone-perl-0.05.orig/debian/copyright +++ libmoosex-clone-perl-0.05/debian/copyright @@ -0,0 +1,30 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Yuval Kogman +Upstream-Author: Yuval Kogman +Upstream-Source: http://search.cpan.org/dist/MooseX-Clone/ +Upstream-Name: MooseX-Clone + +Files: * +Copyright: 2008, Yuval Kogman +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: 2009, franck cuny + 2009, Jonathan Yu +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' --- libmoosex-clone-perl-0.05.orig/debian/watch +++ libmoosex-clone-perl-0.05/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/MooseX-Clone/ .*/MooseX-Clone-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libmoosex-clone-perl-0.05.orig/debian/compat +++ libmoosex-clone-perl-0.05/debian/compat @@ -0,0 +1 @@ +7 --- libmoosex-clone-perl-0.05.orig/debian/README.source +++ libmoosex-clone-perl-0.05/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. \ No newline at end of file --- libmoosex-clone-perl-0.05.orig/debian/changelog +++ libmoosex-clone-perl-0.05/debian/changelog @@ -0,0 +1,15 @@ +libmoosex-clone-perl (0.05-1) unstable; urgency=low + + [ Jonathan Yu ] + * New upstream release + + [ gregor herrmann ] + * Refresh patch use_hash-util-fieldhash.patch. + + -- Jonathan Yu Wed, 13 Jan 2010 15:41:37 -0500 + +libmoosex-clone-perl (0.04-1) unstable; urgency=low + + * Initial Release (Closes: #531401). + + -- Jonathan Yu Thu, 31 Dec 2009 19:42:43 -0500 --- libmoosex-clone-perl-0.05.orig/debian/rules +++ libmoosex-clone-perl-0.05/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh --with quilt $@ --- libmoosex-clone-perl-0.05.orig/debian/patches/use_hash-util-fieldhash.patch +++ libmoosex-clone-perl-0.05/debian/patches/use_hash-util-fieldhash.patch @@ -0,0 +1,43 @@ +Description: Don't require Hash::Util::FieldHash::Compat + This module requires Hash::Util::FieldHash::Compat, which just + loads Hash::Util::FieldHash if available or provides a slower + alternate implementation otherwise. Since Perl 5.10 has the + Hash::Util::FieldHash module already, we can use it directly. +Author: franck cuny +Reviewed-by: Jonathan Yu +Origin: vendor +Forwarded: not-needed +--- a/META.yml ++++ b/META.yml +@@ -11,7 +11,7 @@ + ExtUtils::MakeMaker: 0 + requires: + Data::Visitor: 0.24 +- Hash::Util::FieldHash::Compat: 0 ++ Hash::Util::FieldHash: 0 + Moose: 0.74 + namespace::clean: 0.08 + Test::use::ok: 0 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -12,8 +12,8 @@ + PL_FILES => { }, + PREREQ_PM => { + 'Test::use::ok' => 0, +- 'Hash::Util::FieldHash::Compat' => 0, + 'Moose' => "0.74", ++ 'Hash::Util::FieldHash' => 0, + 'Data::Visitor' => '0.24', + 'namespace::clean' => '0.08', + }, +--- a/lib/MooseX/Clone.pm ++++ b/lib/MooseX/Clone.pm +@@ -5,7 +5,7 @@ + + our $VERSION = "0.05"; + +-use Hash::Util::FieldHash::Compat qw(idhash); ++use Hash::Util::FieldHash qw(idhash); + + use MooseX::Clone::Meta::Attribute::Trait::Clone; + use MooseX::Clone::Meta::Attribute::Trait::StorableClone; --- libmoosex-clone-perl-0.05.orig/debian/patches/series +++ libmoosex-clone-perl-0.05/debian/patches/series @@ -0,0 +1 @@ +use_hash-util-fieldhash.patch