develooper Front page | perl.perl5.porters | Postings from June 2013

Re: dual-life and Test::NoWarnings

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
June 5, 2013 12:55
Subject:
Re: dual-life and Test::NoWarnings
Message ID:
20130605145510.35bdab8e@pc09.procura.nl
On Mon, 3 Jun 2013 22:01:50 +0200, Leon Timmermans <fawaka@gmail.com>
wrote:

> On Mon, Jun 3, 2013 at 9:44 PM, H.Merijn Brand <h.m.brand@xs4all.nl> wrote:
> > This bug report is from a cpan client. Are they not supposed to prefer
> > META.* over Makefile.PL?
> 
> It's looking at the MYMETA, which is containing the same information
> as the Makefile.PL.

I'm lost. This section in Makefile.PL =>
--8<---
my %wm = (
    NAME	  =>   "Config::Perl::V",
    DISTNAME	  =>   "Config-Perl-V",
    AUTHOR        =>   "H.Merijn Brand <h.m.brand\@xs4all.nl>",
    VERSION_FROM  =>   "V.pm",
    ABSTRACT_FROM =>   "V.pm",

    PREREQ_PM	  => { "Config"	=> 0,				},
    macro         => { TARFLAGS => "--format=ustar -c -v -f",	},
    );
$eummv > 6.30 and $wm{LICENSE} = "perl";
my $section = $eummv > 6.63 ? "TEST_REQUIRES" : "PREREQ_PM";
$wm{$section}{$_} = 0 for qw( Test::More Test::NoWarnings );

my $rv = WriteMakefile (%wm);
-->8---

results with ExtUtils::MakeMaker-6.66, in a MYMETA.json with
--8<---
   "prereqs" : {
      "build" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0",
            "Test::More" : "0",
            "Test::NoWarnings" : "0"
            }
         },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
            }
         },
      "runtime" : {
         "requires" : {
            "Config" : "0"
            }
         }
      },
-->8---

which prettymuch requires Test::NoWarnings.

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.19   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About