[Catalyst-commits] r6340 - in trunk/Catalyst-View-Petal: .
lib/Catalyst/View
marcus at dev.catalyst.perl.org
marcus at dev.catalyst.perl.org
Sun Apr 29 01:36:30 GMT 2007
Author: marcus
Date: 2007-04-29 01:36:30 +0100 (Sun, 29 Apr 2007)
New Revision: 6340
Removed:
trunk/Catalyst-View-Petal/Build.PL
Modified:
trunk/Catalyst-View-Petal/Changes
trunk/Catalyst-View-Petal/MANIFEST
trunk/Catalyst-View-Petal/Makefile.PL
trunk/Catalyst-View-Petal/lib/Catalyst/View/Petal.pm
Log:
Switch Petal view to M-I
Deleted: trunk/Catalyst-View-Petal/Build.PL
===================================================================
--- trunk/Catalyst-View-Petal/Build.PL 2007-04-29 00:35:37 UTC (rev 6339)
+++ trunk/Catalyst-View-Petal/Build.PL 2007-04-29 00:36:30 UTC (rev 6340)
@@ -1,12 +0,0 @@
-use strict;
-use Module::Build;
-
-my $build = Module::Build->new(
- create_makefile_pl => 'passthrough',
- license => 'perl',
- module_name => 'Catalyst::View::Petal',
- requires => { Catalyst => 5, 'Petal' => 0 },
- create_makefile_pl => 'passthrough',
- test_files => [ glob('t/*.t') ]
-);
-$build->create_build_script;
Modified: trunk/Catalyst-View-Petal/Changes
===================================================================
--- trunk/Catalyst-View-Petal/Changes 2007-04-29 00:35:37 UTC (rev 6339)
+++ trunk/Catalyst-View-Petal/Changes 2007-04-29 00:36:30 UTC (rev 6340)
@@ -1,4 +1,7 @@
Revision history for Perl extension Catalyst::View::Petal
+0.02 29-04-2007 01:30:00
+ - Switch to Module::Install
+
0.01 Wed Apr 27 01:00:00 2005
- original version.
Modified: trunk/Catalyst-View-Petal/MANIFEST
===================================================================
--- trunk/Catalyst-View-Petal/MANIFEST 2007-04-29 00:35:37 UTC (rev 6339)
+++ trunk/Catalyst-View-Petal/MANIFEST 2007-04-29 00:36:30 UTC (rev 6340)
@@ -1,4 +1,3 @@
-Build.PL
Changes
lib/Catalyst/View/Petal.pm
lib/Catalyst/Helper/View/Petal.pm
Modified: trunk/Catalyst-View-Petal/Makefile.PL
===================================================================
--- trunk/Catalyst-View-Petal/Makefile.PL 2007-04-29 00:35:37 UTC (rev 6339)
+++ trunk/Catalyst-View-Petal/Makefile.PL 2007-04-29 00:36:30 UTC (rev 6340)
@@ -1,31 +1,12 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
-
- unless (eval "use Module::Build::Compat 0.02; 1" ) {
- print "This module requires Module::Build to install itself.\n";
-
- require ExtUtils::MakeMaker;
- my $yn = ExtUtils::MakeMaker::prompt
- (' Install Module::Build now from CPAN?', 'y');
-
- unless ($yn =~ /^y/i) {
- die " *** Cannot install without Module::Build. Exiting ...\n";
- }
-
- require Cwd;
- require File::Spec;
- require CPAN;
-
- # Save this 'cause CPAN will chdir all over the place.
- my $cwd = Cwd::cwd();
- my $makefile = File::Spec->rel2abs($0);
-
- CPAN::Shell->install('Module::Build::Compat')
- or die " *** Cannot install without Module::Build. Exiting ...\n";
-
- chdir $cwd or die "Cannot chdir() back to $cwd: $!";
- }
- eval "use Module::Build::Compat 0.02; 1" or die $@;
- use lib '_build/lib';
- Module::Build::Compat->run_build_pl(args => \@ARGV);
- require Module::Build;
- Module::Build::Compat->write_makefile(build_class => 'Module::Build');
+use strict;
+use warnings;
+use inc::Module::Install 0.65;
+
+name 'Catalyst-View-Petal';
+all_from 'lib/Catalyst/View/Petal.pm';
+
+requires 'Catalyst::Runtime' => '5.7006';
+requires 'Petal';
+
+auto_install;
+WriteAll;
Modified: trunk/Catalyst-View-Petal/lib/Catalyst/View/Petal.pm
===================================================================
--- trunk/Catalyst-View-Petal/lib/Catalyst/View/Petal.pm 2007-04-29 00:35:37 UTC (rev 6339)
+++ trunk/Catalyst-View-Petal/lib/Catalyst/View/Petal.pm 2007-04-29 00:36:30 UTC (rev 6340)
@@ -5,7 +5,7 @@
use Petal;
-our $VERSION = '0.01';
+our $VERSION = '0.02';
=head1 NAME
More information about the Catalyst-commits
mailing list