Redo moving Text::ParseWords from lib to ext
Nicholas Clark [Thu, 10 Sep 2009 09:10:24 +0000 (10:10 +0100)]
This reverts commit 3fcda861606b23c12f4356df2a20543dc1c1779b, but adds
ext/Text-ParseWords to the list of directories that make_ext.pl should put
into $ENV{PERL5LIB}.

Conflicts:

MANIFEST

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
make_ext.pl

index 18d67a2..240189b 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -2060,6 +2060,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
@@ -3381,9 +3384,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/Thread.pm                  Thread extensions frontend
 lib/Thread.t                   Thread extensions frontend tests
 lib/Tie/Array.pm               Base class for tied arrays
index eb62920..6309e4c 100755 (executable)
@@ -1655,12 +1655,8 @@ use File::Glob qw(:case);
        {
        '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 df7d738..76dda53 100644 (file)
@@ -64,6 +64,7 @@ ppport.h
 /Term-UI/Makefile.PL
 /Test-Harness/Makefile.PL
 /Text-Balanced/Makefile.PL
+/Text-ParseWords/Makefile.PL
 /Text-Soundex/Makefile.PL
 /Text-Tabs/Makefile.PL
 /Thread-Queue/Makefile.PL
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 956f44b..7f50914 100644 (file)
 /Term/UI/History.pm
 /Term/UI.pm
 /Text/Balanced.pm
+/Text/ParseWords.pm
 /Text/Soundex.pm
 /Text/Tabs.pm
 /Text/Wrap.pm
index a9988ac..e475c4e 100644 (file)
@@ -11,7 +11,8 @@ use Cwd;
 # After which, all nonxs modules are in lib, which was always sufficient to
 # allow miniperl to build everything else.
 
-my @toolchain = qw(ext/constant/lib ext/ExtUtils-Command/lib);
+my @toolchain = qw(ext/constant/lib ext/ExtUtils-Command/lib
+                  ext/Text-ParseWords);
 
 # This script acts as a simple interface for building extensions.