scancpan: skip Dist::Zilla
authorChristopher McCrory <chrismcc@gmail.com>
Mon, 20 Aug 2018 11:16:22 +0000 (04:16 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 20 Sep 2018 22:02:11 +0000 (00:02 +0200)
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/scancpan

index 3b77b21330649527ebdf8213339e36e4d8fd9733..ee547c3e7bddd6b9c12471f3f91c156bb770374b 100755 (executable)
@@ -601,6 +601,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}) {