X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=ad540f1b7a92ed0c12888e2bb483265a8acba359;hb=a2bd379666d729133d65c85dc775627937084b18;hp=e2de85ee16d9b333822c5be857d2f7f392e87b34;hpb=d0435d7535acac7611d188dbaabf63afe33f1dfb;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index e2de85e..ad540f1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -49,30 +49,9 @@ BEGIN { } } -homepage 'http://www.dbix-class.org/'; -resources 'x_IRC' => 'irc://irc.perl.org/#dbix-class'; -resources 'x_WebIRC' => 'https://chat.mibbit.com/#dbix-class@irc.perl.org'; -resources 'license' => 'http://dev.perl.org/licenses/'; -resources 'repository' => 'https://github.com/dbsrgits/DBIx-Class'; -resources 'MailingList' => 'http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class'; -resources 'bugtracker' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=DBIx-Class'; - -name 'DBIx-Class'; +name 'DBIx-Class'; +version_from 'lib/DBIx/Class.pm'; perl_version '5.008001'; -all_from 'lib/DBIx/Class.pm'; -Meta->{values}{x_authority} = 'cpan:RIBASUSHI'; - -# nothing determined at runtime, except for possibly SQLT dep, see -# comment further down -dynamic_config 0; - -tests_recursive (qw| - t -|); - -install_script (qw| - script/dbicadmin -|); ### ### DO NOT ADD OPTIONAL DEPENDENCIES HERE, EVEN AS recommends() @@ -172,6 +151,14 @@ if ($ENV{DBICTEST_SQLT_DEPLOY}) { } } +tests_recursive (qw| + t +|); + +install_script (qw| + script/dbicadmin +|); + # this is so we can order requires alphabetically # copies are needed for potential author requires injection my $reqs = { @@ -219,10 +206,22 @@ for my $mod (sort keys %final_req) { # IFF we are running interactively auto_install(); -WriteAll(); +{ + # M::I understands unicode in meta but does not write with the right + # layers - fhtagn!!! + local $SIG{__WARN__} = sub { warn $_[0] unless $_[0] =~ /Wide character in print/ }; + WriteAll(); +} exit 0; + +### +### Nothing user-serviceable beyond this point +### (none of this executes on regular install) +### + + # needs to be here to keep 5.8 string eval happy # (the include of Makefile.PL.inc loop) my $mm_proto;