[Catalyst-commits] r9967 - Catalyst-Devel/1.00/trunk
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Thu Apr 30 20:11:57 GMT 2009
Author: caelum
Date: 2009-04-30 21:11:57 +0100 (Thu, 30 Apr 2009)
New Revision: 9967
Modified:
Catalyst-Devel/1.00/trunk/Changes
Catalyst-Devel/1.00/trunk/Makefile.PL
Log:
Catalyst::Devel - kill C3 warnings on 5.10
Modified: Catalyst-Devel/1.00/trunk/Changes
===================================================================
--- Catalyst-Devel/1.00/trunk/Changes 2009-04-30 19:18:45 UTC (rev 9966)
+++ Catalyst-Devel/1.00/trunk/Changes 2009-04-30 20:11:57 UTC (rev 9967)
@@ -1,5 +1,7 @@
This file documents the revision history for Perl extension Catalyst-Devel.
+ - kill C3 warning on 5.10, add resources to META.yml (caelum)
+
1.12 2009-04-26 15:42
- Remove the deprecated BindLex from the _create.pl help message (rafl)
Modified: Catalyst-Devel/1.00/trunk/Makefile.PL
===================================================================
--- Catalyst-Devel/1.00/trunk/Makefile.PL 2009-04-30 19:18:45 UTC (rev 9966)
+++ Catalyst-Devel/1.00/trunk/Makefile.PL 2009-04-30 20:11:57 UTC (rev 9967)
@@ -57,6 +57,27 @@
}
}
+# kill warning from older versions of Class::C3
+if ($] >= 5.009_005 && can_use('Class::C3') && !can_use('Class::C3', 0.20)) {
+ requires 'Class::C3' => '0.20';
+}
+
auto_install;
WriteAll;
+
+if ($Module::Install::AUTHOR) {
+ Meta->{values}{resources} = [
+ [ 'MailingList' => 'http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst' ],
+ [ 'IRC' => 'irc://irc.perl.org/#catalyst' ],
+ [ 'license', => 'http://dev.perl.org/licenses/' ],
+ [ 'homepage', => 'http://dev.catalyst.perl.org/'],
+ [ 'repository', => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Devel/' ],
+ ];
+
+ Meta->{values}{requires} = [ grep {
+ $_->[0] ne 'Class::C3'
+ } @{ Meta->{values}{requires} } ];
+
+ Meta->write;
+}
More information about the Catalyst-commits
mailing list