[Catalyst-commits] r6679 - in branches: .
templated_conversion/Catalyst-View-MicroMason
jrockway at dev.catalyst.perl.org
jrockway at dev.catalyst.perl.org
Fri Aug 17 15:51:28 GMT 2007
Author: jrockway
Date: 2007-08-17 15:51:28 +0100 (Fri, 17 Aug 2007)
New Revision: 6679
Modified:
branches/
branches/templated_conversion/Catalyst-View-MicroMason/Build.PL
branches/templated_conversion/Catalyst-View-MicroMason/Changes
branches/templated_conversion/Catalyst-View-MicroMason/Makefile.PL
Log:
r28459 at foo: jon | 2007-08-17 08:33:18 -0500
switch to Module::Install
Property changes on: branches
___________________________________________________________________
Name: svk:merge
- d7608cd0-831c-0410-93c0-e5b306c3c028:/local/Catalyst-branches:28427
+ d7608cd0-831c-0410-93c0-e5b306c3c028:/local/Catalyst-branches:28459
Modified: branches/templated_conversion/Catalyst-View-MicroMason/Build.PL
===================================================================
--- branches/templated_conversion/Catalyst-View-MicroMason/Build.PL 2007-08-17 14:51:17 UTC (rev 6678)
+++ branches/templated_conversion/Catalyst-View-MicroMason/Build.PL 2007-08-17 14:51:28 UTC (rev 6679)
@@ -1,12 +1 @@
-use strict;
-use Module::Build;
-
-my $build = Module::Build->new(
- create_makefile_pl => 'passthrough',
- license => 'perl',
- module_name => 'Catalyst::View::MicroMason',
- requires => { Catalyst => 5.7, 'Text::MicroMason' => 1.99 },
- create_makefile_pl => 'passthrough',
- test_files => [ glob('t/*.t') ]
-);
-$build->create_build_script;
+link Makefile.PL
\ No newline at end of file
Property changes on: branches/templated_conversion/Catalyst-View-MicroMason/Build.PL
___________________________________________________________________
Name: svn:special
+ *
Modified: branches/templated_conversion/Catalyst-View-MicroMason/Changes
===================================================================
--- branches/templated_conversion/Catalyst-View-MicroMason/Changes 2007-08-17 14:51:17 UTC (rev 6678)
+++ branches/templated_conversion/Catalyst-View-MicroMason/Changes 2007-08-17 14:51:28 UTC (rev 6679)
@@ -1,5 +1,8 @@
Revision history for Perl extension Catalyst::View::MicroMason
-0.04 Sat Oct 7 07:16:55 CDT 2006
+0.05 Fri Aug 17 07:47:44 CDT 2007
+ - use View::Templated API
+
+0.04_01 Sat Oct 7 07:16:55 CDT 2006
- Works more like C::V::TT now, with process/render
- Accepts config properly (via a config file)
- Added a simple test
Modified: branches/templated_conversion/Catalyst-View-MicroMason/Makefile.PL
===================================================================
--- branches/templated_conversion/Catalyst-View-MicroMason/Makefile.PL 2007-08-17 14:51:17 UTC (rev 6678)
+++ branches/templated_conversion/Catalyst-View-MicroMason/Makefile.PL 2007-08-17 14:51:28 UTC (rev 6679)
@@ -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 inc::Module::Install;
+
+name('Catalyst-View-MicroMason');
+all_from('lib/Catalyst/View/MicroMason.pm');
+
+requires 'Catalyst::View::Templated';
+requires 'Text::MicroMason';
+
+build_requires 'Catalyst::Runtime' => 5.7;
+build_requires 'Test::More';
+
+WriteAll();
More information about the Catalyst-commits
mailing list