scancpan: skip Dist::Zilla
PATCH 4/4 scancpan: skip Dist::Zilla
skip Dist::Zilla when finding dependancies
---
Dist::Zilla will pull in lots of unneeded dependancies ./utils/scancpan Class-Load will bring in ~250 perl-foo packages
--- utils/scancpan | 1 + 1 file changed, 1 insertion(+)
utils/scancpan +1 -0
@@ -590,6 +590,7 @@ sub fetch { next if $modname eq q{perl}; next if $modname =~ m|^Alien|; next if $modname =~ m|^Win32|; + next if $modname =~ m|^Dist::Zilla|; next if !($test && $top) && $modname =~ m|^Test|; next if Module::CoreList::is_core( $modname, undef, $] ); # we could use the host Module::CoreList data, because host perl and
Signature · 1 line
2.14.4
PATCH 4/4 scancpan: skip Dist::Zilla
2018-08-10 17:13 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 8 lines
skip
Dist::Zillawhen finding dependancies---
Dist::Zillawill pull in lots of unneeded dependancies ./utils/scancpan Class-Load will bring in ~250 perl-foo packages
A better job will be done by :
utils/scancpan +0 -0
@@ -595,6 +595,7 @@ sub fetch { # we could use the host Module::CoreList data, because host
perl and
# target perl have the same major version
next if ${$dep}{phase} eq q{develop};
+ next if ${$dep}{phase} eq q{x_Dist_Zilla};
next if !($test && $top) && ${$dep}{phase} eq q{test};
my $distname = $mcpan->module( $modname )->{distribution};
if (${$dep}{phase} eq q{runtime}) {Signature · 1 line
Fran?ois
Quoted 17 lines
Signed-off-by Christopher McCrory <[email protected]>--- utils/scancpan | 1 + 1 file changed, 1 insertion(+)utils/scancpan +1
-0@@ -590,6 +590,7 @@ sub fetch { next if $modname eq q{perl}; next if $modname =~ m|^Alien|; next if $modname =~ m|^Win32|; + next if $modname =~ m|^Dist::Zilla|; next if !($test && $top) && $modname =~ m|^Test|; next if Module::CoreList::is_core( $modname, undef, $] ); # we could use the host Module::CoreList data, because host
Quoted 5 lines
perl and
--
2.14.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180810/bd026bf7/attachment-0001.html>
PATCH 4/4 scancpan: skip Dist::Zilla
Quoted 19 lines · Fran?ois Perrad
2018-08-10 17:13 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 8 lines
skip
Dist::Zillawhen finding dependancies---
Dist::Zillawill pull in lots of unneeded dependancies ./utils/scancpan Class-Load will bring in ~250 perl-foo packagesA better job will be done by :
utils/scancpan +0
-0@@ -595,6 +595,7 @@ sub fetch { # we could use the host Module::CoreList data, because hostperl and
Quoted 8 lines
# target perl have the same major version
next if ${$dep}{phase} eq q{develop};
+ next if ${$dep}{phase} eq q{x_Dist_Zilla};
next if !($test && $top) && ${$dep}{phase} eq q{test};
my $distname = $mcpan->module( $modname )->{distribution};
if (${$dep}{phase} eq q{runtime}) {
--I'm far from a perl expert, I'll redo it this way. Thanks
Fran?ois
Quoted 25 lines
Quoted 24 lines
Signed-off-by Christopher McCrory <[email protected]>--- utils/scancpan | 1 + 1 file changed, 1 insertion(+)utils/scancpan +1
-0@@ -590,6 +590,7 @@ sub fetch { next if $modname eq q{perl}; next if $modname =~ m|^Alien|; next if $modname =~ m|^Win32|; + next if $modname =~ m|^Dist::Zilla|; next if !($test && $top) && $modname =~ m|^Test|; next if Module::CoreList::is_core( $modname, undef, $] ); # we could use the host Module::CoreList data, because hostperl and
--
2.14.4
Signature · 7 lines
Christopher McCrory To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180810/2fc0c4fc/attachment.html>