[dh-make-perl] 02/03: Replace usage of Module::Build::ModuleInfo (dropped in perl 5.22) with Module::Metadata

Damyan Ivanov dmn at moszumanska.debian.org
Tue Jun 16 19:04:04 UTC 2015


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

dmn pushed a commit to branch master
in repository dh-make-perl.

commit f7d24276c84c889dd9896d7dd0c4aa5dce2fb569
Author: Damyan Ivanov <dmn at debian.org>
Date:   Tue Jun 16 18:44:51 2015 +0000

    Replace usage of Module::Build::ModuleInfo (dropped in perl 5.22) with Module::Metadata
    
    Closes: #788893
---
 lib/DhMakePerl/Command/make.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index 7c21233..c2c9fa6 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -53,7 +53,7 @@ use File::Copy qw( copy move );
 use File::Path ();
 use File::Spec::Functions qw( catdir catfile updir );
 use Module::Depends            ();
-use Module::Build::ModuleInfo;
+use Module::Metadata;
 use Text::Wrap qw( wrap );
 
 sub check_deprecated_overrides {
@@ -675,7 +675,7 @@ sub modules_already_packaged {
                 return;
             }
             if (/.+\.pm$/) {
-                my $mi = Module::Build::ModuleInfo->new_from_file($_);
+                my $mi = Module::Metadata->new_from_file($_);
                 push @modules, $mi->packages_inside;
             }
         },

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



More information about the Pkg-perl-cvs-commits mailing list