From: Steffen Mueller Date: Sun, 30 Aug 2009 18:13:58 +0000 (+0200) Subject: Move Text::ParseWords from lib to ext X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6052a374138e04d8688ae89baeabff82e80a71c;p=p5sagit%2Fp5-mst-13.2.git Move Text::ParseWords from lib to ext --- diff --git a/MANIFEST b/MANIFEST index 5a28462..0935005 100644 --- 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 diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index f283b1f..c4e6dfa 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -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, }, diff --git a/ext/.gitignore b/ext/.gitignore index 96e4bce..ead0418 100644 --- a/ext/.gitignore +++ b/ext/.gitignore @@ -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 diff --git a/lib/Text/ParseWords.pm b/ext/Text-ParseWords/ParseWords.pm similarity index 100% rename from lib/Text/ParseWords.pm rename to ext/Text-ParseWords/ParseWords.pm diff --git a/lib/Text/ParseWords.t b/ext/Text-ParseWords/t/ParseWords.t similarity index 94% rename from lib/Text/ParseWords.t rename to ext/Text-ParseWords/t/ParseWords.t index eeee6ee..905ea00 100644 --- a/lib/Text/ParseWords.t +++ b/ext/Text-ParseWords/t/ParseWords.t @@ -1,12 +1,5 @@ #!./perl -BEGIN { - if( $ENV{PERL_CORE} ) { - chdir 't' if -d 't'; - @INC = '../lib'; - } -} - use warnings; use Text::ParseWords; use Test::More tests => 27; diff --git a/lib/Text/ParseWords/taint.t b/ext/Text-ParseWords/t/taint.t similarity index 100% rename from lib/Text/ParseWords/taint.t rename to ext/Text-ParseWords/t/taint.t diff --git a/lib/.gitignore b/lib/.gitignore index 3e7e8fe..1ee1e8c 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -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