This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 8a68817b799073f661b3e7b92fe93f45e145be52
Author: Tatsuhiko Miyagawa <miyag...@bulknews.net>
Date:   Fri May 31 14:27:45 2013 +0900

    remove unused build_dep
---
 lib/Carton.pm | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/lib/Carton.pm b/lib/Carton.pm
index 0109b7e..c0c2b50 100644
--- a/lib/Carton.pm
+++ b/lib/Carton.pm
@@ -139,24 +139,6 @@ sub merge_prereqs {
     return \%requires;
 }
 
-sub build_deps {
-    my($self, $meta, $idx) = @_;
-
-    my $requires = $self->merge_prereqs($meta->{mymeta}{prereqs});
-
-    my @deps;
-    for my $module (keys %$requires) {
-        next if $module eq 'perl';
-        if (exists $idx->{$module}) {
-            push @deps, $idx->{$module}{meta}{name};
-        } else {
-            push @deps, $module;
-        }
-    }
-
-    return @deps;
-}
-
 sub run_cpanm {
     my($self, @args) = @_;
     local $ENV{PERL_CPANM_OPT};

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/carton.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to