[Catalyst-commits] r6844 - in trunk/Text-Markdown: . lib/Text

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Thu Sep 6 02:03:55 GMT 2007


Author: bricas
Date: 2007-09-06 02:03:54 +0100 (Thu, 06 Sep 2007)
New Revision: 6844

Added:
   trunk/Text-Markdown/MANIFEST.SKIP
Removed:
   trunk/Text-Markdown/Build.PL
Modified:
   trunk/Text-Markdown/Changes
   trunk/Text-Markdown/Makefile.PL
   trunk/Text-Markdown/lib/Text/Markdown.pm
Log:
switch to module::install

Deleted: trunk/Text-Markdown/Build.PL
===================================================================
--- trunk/Text-Markdown/Build.PL	2007-09-06 00:45:26 UTC (rev 6843)
+++ trunk/Text-Markdown/Build.PL	2007-09-06 01:03:54 UTC (rev 6844)
@@ -1,11 +0,0 @@
-use strict;
-use Module::Build;
-
-my $build = Module::Build->new(
-    create_makefile_pl => 'passthrough',
-    license            => 'perl',
-    module_name        => 'Text::Markdown',
-    create_readme      => 1,
-    test_files         => [ glob('t/*.t t/*/*.t') ]
-);
-$build->create_build_script;

Modified: trunk/Text-Markdown/Changes
===================================================================
--- trunk/Text-Markdown/Changes	2007-09-06 00:45:26 UTC (rev 6843)
+++ trunk/Text-Markdown/Changes	2007-09-06 01:03:54 UTC (rev 6844)
@@ -1,5 +1,7 @@
 This file documents the revision history for Perl extension Text::Markdown.
 
+1.04  2007-09-05
+        - Switch to Module::Install
         - Fixed bug preventing single quotes from being used to delimit
             link titles
         - Fixed bug where </code> is rendered in the wrong place when an escaped

Added: trunk/Text-Markdown/MANIFEST.SKIP
===================================================================
--- trunk/Text-Markdown/MANIFEST.SKIP	                        (rev 0)
+++ trunk/Text-Markdown/MANIFEST.SKIP	2007-09-06 01:03:54 UTC (rev 6844)
@@ -0,0 +1,29 @@
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+,v$
+\B\.svn\b
+
+# Avoid Makemaker generated and utility files.
+\bMakefile$
+\bblib
+\bMakeMaker-\d
+\bpm_to_blib$
+\bblibdirs$
+^MANIFEST\.SKIP$
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build
+
+# Avoid temp and backup files.
+~$
+\.tmp$
+\.old$
+\.bak$
+\#$
+\b\.#
+\.DS_Store$
+
+# No tarballs!
+\.gz$

Modified: trunk/Text-Markdown/Makefile.PL
===================================================================
--- trunk/Text-Markdown/Makefile.PL	2007-09-06 00:45:26 UTC (rev 6843)
+++ trunk/Text-Markdown/Makefile.PL	2007-09-06 01:03:54 UTC (rev 6844)
@@ -1,31 +1,11 @@
-# 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 0.67;
+
+name 'Text-Markdown';
+all_from 'lib/Text/Markdown.pm';
+
+requires 'Test::More';
+
+tests_recursive;
+
+auto_install;
+WriteAll;

Modified: trunk/Text-Markdown/lib/Text/Markdown.pm
===================================================================
--- trunk/Text-Markdown/lib/Text/Markdown.pm	2007-09-06 00:45:26 UTC (rev 6843)
+++ trunk/Text-Markdown/lib/Text/Markdown.pm	2007-09-06 01:03:54 UTC (rev 6844)
@@ -14,7 +14,7 @@
 use Digest::MD5 qw(md5_hex);
 use base 'Exporter';
 
-our $VERSION   = '1.0.3';
+our $VERSION   = '1.0.4';
 our @EXPORT_OK = qw/markdown/;
 
 # Tue 14 Dec 2004




More information about the Catalyst-commits mailing list