Move Text::ParseWords from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 18:13:58 +0000 (20:13 +0200)]
MANIFEST
Porting/Maintainers.pl
ext/.gitignore
ext/Text-ParseWords/ParseWords.pm [moved from lib/Text/ParseWords.pm with 100% similarity]
ext/Text-ParseWords/t/ParseWords.t [moved from lib/Text/ParseWords.t with 94% similarity]
ext/Text-ParseWords/t/taint.t [moved from lib/Text/ParseWords/taint.t with 100% similarity]
lib/.gitignore

index 5a28462..0935005 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1565,6 +1565,9 @@ ext/Text-Balanced/t/06_extqlk.t           See if Text::Balanced works
 ext/Text-Balanced/t/07_exttag.t                See if Text::Balanced works
 ext/Text-Balanced/t/08_extvar.t                See if Text::Balanced works
 ext/Text-Balanced/t/09_gentag.t                See if Text::Balanced works
+ext/Text-ParseWords/ParseWords.pm      Perl module to split words on arbitrary delimiter
+ext/Text-ParseWords/t/ParseWords.t     See if Text::ParseWords works
+ext/Text-ParseWords/t/taint.t          See if Text::ParseWords works with tainting
 ext/Text-Soundex/Changes       Changelog for Text::Soundex
 ext/Text-Soundex/README                README for Text::Soundex
 ext/Text-Soundex/Soundex.pm    Text::Soundex extension Perl module
@@ -3291,9 +3294,6 @@ lib/Test/t/todo.t         See if Test works
 lib/Test/Tutorial.pod          A tutorial on writing tests
 lib/Text/Abbrev.pm             An abbreviation table builder
 lib/Text/Abbrev.t              Test Text::Abbrev
-lib/Text/ParseWords.pm         Perl module to split words on arbitrary delimiter
-lib/Text/ParseWords.t          See if Text::ParseWords works
-lib/Text/ParseWords/taint.t    See if Text::ParseWords works with tainting
 lib/Text/Tabs.pm               Do expand and unexpand
 lib/Text/TabsWrap/CHANGELOG    ChangeLog for Tabs+Wrap
 lib/Text/TabsWrap/t/37000.t    See if Text::Tabs is working
index f283b1f..c4e6dfa 100755 (executable)
@@ -1725,12 +1725,8 @@ package Maintainers;
        {
        'MAINTAINER'    => 'chorny',
        'DISTRIBUTION'  => 'CHORNY/Text-ParseWords-3.27.zip',
-       'FILES'         => q[lib/Text/ParseWords{.pm,.t,}],
+       'FILES'         => q[ext/Text-ParseWords],
        'EXCLUDED'      => [ qw( t/pod.t ) ],
-       'MAP'           => { ''               => 'lib/Text/',
-                            't/ParseWords.t' => 'lib/Text/ParseWords.t',
-                            't/taint.t'      => 'lib/Text/ParseWords/taint.t',
-                          },
        'CPAN'          => 1,
        'UPSTREAM'      => undef,
        },
index 96e4bce..ead0418 100644 (file)
@@ -38,6 +38,7 @@ ppport.h
 /Term-UI/Makefile.PL
 /Test-Harness/Makefile.PL
 /Text-Balanced/Makefile.PL
+/Text-ParseWords/Makefile.PL
 /Text-Soundex/Makefile.PL
 
 # ignore all vim swap files but the one bundled in Module::Pluggable for testing
similarity index 94%
rename from lib/Text/ParseWords.t
rename to ext/Text-ParseWords/t/ParseWords.t
index eeee6ee..905ea00 100644 (file)
@@ -1,12 +1,5 @@
 #!./perl\r
 \r
-BEGIN {\r
-    if( $ENV{PERL_CORE} ) {\r
-        chdir 't' if -d 't';\r
-        @INC = '../lib';\r
-    }\r
-}\r
-\r
 use warnings;\r
 use Text::ParseWords;\r
 use Test::More tests => 27;\r
index 3e7e8fe..1ee1e8c 100644 (file)
@@ -79,6 +79,7 @@
 /Term/UI/History.pm
 /Term/UI.pm
 /Text/Balanced.pm
+/Text/ParseWords.pm
 /Text/Soundex.pm
 /Time/HiRes.pm
 /Time/Piece.pm