In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/0d9b03172bb075c23d58712774b3950345d80841?hp=d4e5761f09914534fd578d2190584cfc1e91b253>

- Log -----------------------------------------------------------------
commit 0d9b03172bb075c23d58712774b3950345d80841
Author: Karen Etheridge <et...@cpan.org>
Date:   Fri Aug 5 10:16:40 2016 -0700

    add "provides" metadata for XSLoader (RT#138836)
    
    This avoids confusing tools like cpanm and carton which use 'provides'
    metadata, and are not able to infer the correct data here because
    XSLoader_pm.PL is used to generate XSLoader.pm, but then XSLoader.pm is
    deleted before cpanm can see it.
-----------------------------------------------------------------------

Summary of changes:
 dist/XSLoader/Makefile.PL | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/dist/XSLoader/Makefile.PL b/dist/XSLoader/Makefile.PL
index 899cc89..bc35843 100644
--- a/dist/XSLoader/Makefile.PL
+++ b/dist/XSLoader/Makefile.PL
@@ -45,13 +45,26 @@ WriteMakefile(
         'Test::More' => '0.47',
     },
     META_MERGE      => {
-        resources   => {
-            repository  => 'git://perl5.git.perl.org/perl.git',
-            license     => 'http://dev.perl.org/licenses/',
+        'meta-spec'     => { version => 2 },
+        dynamic_config  => 0,
+        resources       => {
+            repository  => {
+                type        => 'git',
+                url         => 'git://perl5.git.perl.org/perl.git',
+            },
             homepage    => 'https://metacpan.org/module/XSLoader',
-            irc         => 'irc://irc.perl.org/#p5p',
-            mailinglist => 'http://lists.perl.org/list/perl5-porters.html',
-            bugtracker  => 
"https://rt.perl.org/rt3/Search/Results.html?Query=Queue='perl5' AND Content 
LIKE 'module=XSLoader' AND (Status='open' OR Status='new' OR Status='stalled')",
+            x_IRC       => 'irc://irc.perl.org/#p5p',
+            x_MailingList => 'http://lists.perl.org/list/perl5-porters.html',
+            bugtracker => {
+                mailto      => 'perl...@perl.org',
+                web         => 
"https://rt.perl.org/rt3/Search/Results.html?Query=Queue='perl5' AND Content 
LIKE 'module=XSLoader' AND (Status='open' OR Status='new' OR Status='stalled')",
+            },
+        },
+        provides    => {
+            'XSLoader'  => {
+                file        => 'XSLoader_pm.PL',
+                version     => ${$PACKAGE.'::VERSION'},
+            },
         },
     },
     dist            => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },

--
Perl5 Master Repository

Reply via email to