Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/5] utils/scancpan: warn when a module is a perl core module
@ 2020-01-08 15:10 Francois Perrad
  2020-01-08 15:10 ` [Buildroot] [PATCH v2 2/5] package/perl-digest-md5: remove it Francois Perrad
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Francois Perrad @ 2020-01-08 15:10 UTC (permalink / raw)
  To: buildroot

we don't want create new BR package with perl core module,
because core modules are already included in perl distribution,
and built with the BR package perl.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 utils/scancpan | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utils/scancpan b/utils/scancpan
index ac5fd5159..dbd8dab6d 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -611,6 +611,9 @@ sub fetch {
     unless ($dist{$name} && !$top) {
         say qq{fetch ${name}} unless $quiet;
         my $result = $mcpan->release( distribution => $name );
+        my $main_module = $result->{main_module};
+        push @info, qq{[$name] $main_module is a core module}
+            if $top && Module::CoreList::is_core( $main_module, undef, $] );
         $dist{$name} = $result;
         $license_files{$name} = {};
         eval {
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-08 17:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-08 15:10 [Buildroot] [PATCH v2 1/5] utils/scancpan: warn when a module is a perl core module Francois Perrad
2020-01-08 15:10 ` [Buildroot] [PATCH v2 2/5] package/perl-digest-md5: remove it Francois Perrad
2020-01-08 15:10 ` [Buildroot] [PATCH v2 3/5] package/perl-math-bigint: " Francois Perrad
2020-01-08 15:10 ` [Buildroot] [PATCH v2 4/5] package/perl-mime-base64: " Francois Perrad
2020-01-08 15:10 ` [Buildroot] [PATCH v2 5/5] package/perl-net-ping: " Francois Perrad
2020-01-08 17:27 ` [Buildroot] [PATCH v2 1/5] utils/scancpan: warn when a module is a perl core module Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox