[Catalyst-commits] r6366 - trunk/Catalyst-Model-TextLinkAds

matthewt at dev.catalyst.perl.org matthewt at dev.catalyst.perl.org
Sun May 6 17:41:16 GMT 2007


Author: matthewt
Date: 2007-05-06 17:41:15 +0100 (Sun, 06 May 2007)
New Revision: 6366

Added:
   trunk/Catalyst-Model-TextLinkAds/Build.PL.disabled
   trunk/Catalyst-Model-TextLinkAds/Makefile.PL
Removed:
   trunk/Catalyst-Model-TextLinkAds/Build.PL
Log:
converted TextLinkAds model to Module::Install; Module::Build is *DEPRECATED* vfor Catalyst::* namespace and must not be used for new dists

Deleted: trunk/Catalyst-Model-TextLinkAds/Build.PL
===================================================================
--- trunk/Catalyst-Model-TextLinkAds/Build.PL	2007-05-06 16:30:37 UTC (rev 6365)
+++ trunk/Catalyst-Model-TextLinkAds/Build.PL	2007-05-06 16:41:15 UTC (rev 6366)
@@ -1,26 +0,0 @@
-use strict;
-use warnings;
-
-use Module::Build;
-
-my $builder = Module::Build->new(
-    add_to_cleanup     => [qw/ Catalyst-Model-TextLinkAds-*
-                               Catalyst-Helper-Model-TextLinkAds-* /],
-    build_requires     => {
-        'Test::More' => '0',
-    },
-    create_makefile_pl => 'passthrough',
-    create_readme      => 1,
-    dist_version_from  => 'lib/Catalyst/Model/TextLinkAds.pm',
-    license            => 'perl',
-    module_name        => 'Catalyst::Model::TextLinkAds',
-    requires           => {
-        'Carp'            => '0',
-        'Catalyst::Model' => '0',
-        'Catalyst::Utils' => '0',
-        'Class::C3'       => '0',
-        'TextLinkAds'     => '0',
-    },
-);
-
-$builder->create_build_script();

Copied: trunk/Catalyst-Model-TextLinkAds/Build.PL.disabled (from rev 6282, trunk/Catalyst-Model-TextLinkAds/Build.PL)
===================================================================
--- trunk/Catalyst-Model-TextLinkAds/Build.PL.disabled	                        (rev 0)
+++ trunk/Catalyst-Model-TextLinkAds/Build.PL.disabled	2007-05-06 16:41:15 UTC (rev 6366)
@@ -0,0 +1,29 @@
+# left for reference only, Module::Build deprecated for Catalyst:: namespace
+#   - mst
+
+use strict;
+use warnings;
+
+use Module::Build;
+
+my $builder = Module::Build->new(
+    add_to_cleanup     => [qw/ Catalyst-Model-TextLinkAds-*
+                               Catalyst-Helper-Model-TextLinkAds-* /],
+    build_requires     => {
+        'Test::More' => '0',
+    },
+    create_makefile_pl => 'passthrough',
+    create_readme      => 1,
+    dist_version_from  => 'lib/Catalyst/Model/TextLinkAds.pm',
+    license            => 'perl',
+    module_name        => 'Catalyst::Model::TextLinkAds',
+    requires           => {
+        'Carp'            => '0',
+        'Catalyst::Model' => '0',
+        'Catalyst::Utils' => '0',
+        'Class::C3'       => '0',
+        'TextLinkAds'     => '0',
+    },
+);
+
+$builder->create_build_script();

Added: trunk/Catalyst-Model-TextLinkAds/Makefile.PL
===================================================================
--- trunk/Catalyst-Model-TextLinkAds/Makefile.PL	                        (rev 0)
+++ trunk/Catalyst-Model-TextLinkAds/Makefile.PL	2007-05-06 16:41:15 UTC (rev 6366)
@@ -0,0 +1,16 @@
+use strict;
+use warnings;
+use inc::Module::Install 0.65;
+
+name 'Catalyst-Model-TextLinkAds';
+all_from 'lib/Catalyst/Model/TextLinkAds.pm';
+license 'perl';
+
+build_requires 'Test::More';
+
+requires 'Carp';
+requires 'Catalyst::Runtime' => '5.70';
+requires 'Class::C3';
+requires 'TextLinkAds';
+
+WriteAll;




More information about the Catalyst-commits mailing list