Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Module-Starter CPAN distribution.

Report information
The Basics
Id: 27304
Status: resolved
Priority: 0/
Queue: Module-Starter

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

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



Subject: [PATCH] license in Makefile.PL
Patch for Module::Starter::Simple. -- Alexandr Ciornii, http://chorny.net
Subject: Simple.pm.patch
--- Simple.pm.dist Wed Nov 9 19:23:49 2005 +++ Simple.pm Sun May 27 16:54:41 2007 @@ -423,6 +423,8 @@ PREREQ_PM => { 'Test::More' => 0, }, + (\$ExtUtils::MakeMaker::VERSION ge '6.30_00'? + ('LICENSE' => '$self->{license}', ) : ()), dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, clean => { FILES => '$self->{distro}-*' }, );
* Add perl version requirements * Add support for license for EUMM -- Alexandr Ciornii, http://chorny.net
--- Simple.pm.dist Mon Oct 22 02:11:50 2007 +++ Simple.pm Mon Oct 22 11:50:41 2007 @@ -1,6 +1,7 @@ package Module::Starter::Simple; # vi:et:sw=4 ts=4 +use 5.006; use strict; use warnings; @@ -243,7 +244,7 @@ sub _reference_links { return ( { nickname => 'RT', - title => 'CPAN\'s request tracker', + title => 'CPAN\'s request tracker (report bugs here)', link => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=%s', }, { nickname => 'AnnoCPAN', @@ -318,6 +319,7 @@ (my $author = "$self->{author} <$self->{email}>") =~ s/'/\'/g; return <<"HERE"; +use 5.006; use strict; use warnings; use ExtUtils::MakeMaker; @@ -328,6 +330,8 @@ VERSION_FROM => '$main_pm_file', ABSTRACT_FROM => '$main_pm_file', PL_FILES => {}, + (\$ExtUtils::MakeMaker::VERSION gt '6.30'? + ('LICENSE' => '$self->{license}', ) : ()), PREREQ_PM => { 'Test::More' => 0, }, @@ -369,7 +373,7 @@ WriteAll; HERE - +#required perl version will be picked by all_from } =head2 create_Build_PL( $main_module ) @@ -410,6 +414,7 @@ (my $author = "$self->{author} <$self->{email}>") =~ s/'/\'/g; return <<"HERE"; +use 5.006; use strict; use warnings; use Module::Build; @@ -419,6 +424,9 @@ license => '$self->{license}', dist_author => '$author', dist_version_from => '$main_pm_file', + requires => { + 'perl' => 5.006, + }, build_requires => { 'Test::More' => 0, }, @@ -666,6 +674,7 @@ $t_files{'boilerplate.t'} = <<"HERE"; #!perl -T +use 5.006; use strict; use warnings; use Test::More tests => $boilerplate_tests; @@ -951,8 +960,9 @@ my $content = <<"HERE"; package $module; -use warnings; +use 5.006; use strict; +use warnings; \=head1 NAME
Long overdue, but it is now in the trunk and will be released in version 1.55. Once it is released, the ticket will be resolved. Thank you. :)