Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 47015
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.09
Fixed in: (no value)

Attachments
0001-Add-resource-information-to-the-META.yml.patch



Subject: [PATCH] Add resource info to the META.yml
Download (untitled) / with headers
text/plain 220b
Attached is a patch to add resource information (repository, mailing list, etc...) to NYTProf's META.yml. This will be picked up by search.cpan.org and used to link to the correct locations rather than the default ones.
Subject: 0001-Add-resource-information-to-the-META.yml.patch
From f3605a40aafc19f5cf4fed44c7b2e425e9001a38 Mon Sep 17 00:00:00 2001 From: Michael G. Schwern <schwern@pobox.com> Date: Tue, 16 Jun 2009 10:27:25 -0700 Subject: [PATCH] Add resource information to the META.yml --- Makefile.PL | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 729803e..d62d684 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -86,6 +86,18 @@ $mm_opts{LICENSE} = 'perl' if $ExtUtils::MakeMaker::VERSION >= 6.3002; $mm_opts{OPTIMIZE} = '-g' if $opt_g; $mm_opts{CCFLAGS} = "-pg" if $opt_pg; +if( $ExtUtils::MakeMaker::VERSION >= 6.45 ) { + $mm_opts{META_MERGE} = { + resources => { + license => 'http://dev.perl.org/licenses/', + homepage => 'http://perl-devel-nytprof.googlecode.com', + bugtracker => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-NYTProf', + repository => 'http://perl-devel-nytprof.googlecode.com/svn', + MailingList => 'http://groups.google.com/group/develnytprof-dev', + } + } +} + if (my $gccversion = $Config{gccversion}) { # ask gcc to be more pedantic print "Your perl was compiled with gcc (version $Config{gccversion}), okay.\n"; $gccversion =~ s/[^\d\.]//g; # just a number please -- 1.6.2.4
Applied as r772. Thanks!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.