From: Chris Williams Date: Fri, 11 Sep 2009 13:40:24 +0000 (+0100) Subject: Move Locale-Codes from lib/ to ext/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4c95a2f580386f7541420f402383c0e39e83a19c;p=p5sagit%2Fp5-mst-13.2.git Move Locale-Codes from lib/ to ext/ --- diff --git a/MANIFEST b/MANIFEST index d70d018..4956f5c 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1610,6 +1610,27 @@ ext/List-Util/t/sum.t List::Util ext/List-Util/t/tainted.t Scalar::Util ext/List-Util/t/weak.t Scalar::Util ext/List-Util/XS.pp List::Util +ext/Locale-Codes/ChangeLog Locale::Codes +ext/Locale-Codes/lib/Locale/Constants.pm Locale::Codes +ext/Locale-Codes/lib/Locale/Constants.pod Locale::Codes documentation +ext/Locale-Codes/lib/Locale/Country.pm Locale::Codes +ext/Locale-Codes/lib/Locale/Country.pod Locale::Codes documentation +ext/Locale-Codes/lib/Locale/Currency.pm Locale::Codes +ext/Locale-Codes/lib/Locale/Currency.pod Locale::Codes documentation +ext/Locale-Codes/lib/Locale/Language.pm Locale::Codes +ext/Locale-Codes/lib/Locale/Language.pod Locale::Codes documentation +ext/Locale-Codes/lib/Locale/Script.pm Locale::Codes +ext/Locale-Codes/lib/Locale/Script.pod Locale::Codes documentation +ext/Locale-Codes/Makefile.PL +ext/Locale-Codes/README Locale::Codes +ext/Locale-Codes/t/all.t See if Locale::Codes work +ext/Locale-Codes/t/constants.t See if Locale::Codes work +ext/Locale-Codes/t/country.t See if Locale::Codes work +ext/Locale-Codes/t/currency.t See if Locale::Codes work +ext/Locale-Codes/t/language.t See if Locale::Codes work +ext/Locale-Codes/t/rename.t See if Locale::Codes work +ext/Locale-Codes/t/script.t See if Locale::Codes work +ext/Locale-Codes/t/uk.t See if Locale::Codes work ext/Locale-Maketext/ChangeLog Locale::Maketext ext/Locale-Maketext/lib/Locale/Maketext/GutsLoader.pm Locale::Maketext ext/Locale-Maketext/lib/Locale/Maketext/Guts.pm Locale::Maketext @@ -2884,27 +2905,7 @@ lib/less.pm For "use less" lib/less.t See if less support works lib/lib_pm.PL For "use lib", produces lib/lib.pm lib/lib.t For "use lib" testing -lib/Locale/Codes/ChangeLog Locale::Codes -lib/Locale/Codes/README Locale::Codes -lib/Locale/Codes/t/all.t See if Locale::Codes work -lib/Locale/Codes/t/constants.t See if Locale::Codes work -lib/Locale/Codes/t/country.t See if Locale::Codes work -lib/Locale/Codes/t/currency.t See if Locale::Codes work -lib/Locale/Codes/t/languages.t See if Locale::Codes work -lib/Locale/Codes/t/rename.t See if Locale::Codes work -lib/Locale/Codes/t/script.t See if Locale::Codes work -lib/Locale/Codes/t/uk.t See if Locale::Codes work -lib/Locale/Constants.pm Locale::Codes -lib/Locale/Constants.pod Locale::Codes documentation -lib/Locale/Country.pm Locale::Codes -lib/Locale/Country.pod Locale::Codes documentation -lib/Locale/Currency.pm Locale::Codes -lib/Locale/Currency.pod Locale::Codes documentation -lib/Locale/Language.pm Locale::Codes -lib/Locale/Language.pod Locale::Codes documentation lib/locale.pm For "use locale" -lib/Locale/Script.pm Locale::Codes -lib/Locale/Script.pod Locale::Codes documentation lib/locale.t See if locale support works lib/look.pl A "look" equivalent lib/Module/Build/API.pod Module::Build diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 0ebe21c..0ed5048 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -860,12 +860,7 @@ use File::Glob qw(:case); { 'MAINTAINER' => 'neilb', 'DISTRIBUTION' => 'NEILB/Locale-Codes-2.07.tar.gz', - 'FILES' => q[lib/Locale/{Codes,Constants,Country,Currency,Language,Script}*], - 'MAP' => { 'lib/' => 'lib/', - '' => 'lib/Locale/Codes/', - #XXX why is this file renamed??? - 't/language.t' => 'lib/Locale/Codes/t/languages.t', - }, + 'FILES' => q[ext/Locale-Codes], 'CPAN' => 1, 'UPSTREAM' => undef, }, diff --git a/lib/Locale/Codes/ChangeLog b/ext/Locale-Codes/ChangeLog similarity index 100% rename from lib/Locale/Codes/ChangeLog rename to ext/Locale-Codes/ChangeLog diff --git a/ext/Locale-Codes/Makefile.PL b/ext/Locale-Codes/Makefile.PL new file mode 100644 index 0000000..e1121eb --- /dev/null +++ b/ext/Locale-Codes/Makefile.PL @@ -0,0 +1,10 @@ +use strict; +use ExtUtils::MakeMaker; + +WriteMakefile ( + NAME => 'Locale-Codes', + DISTNAME => 'Locale-Codes', + VERSION => '2.07', + AUTHOR => 'Neil Bowers ', + ABSTRACT => 'modules for ISO codes identifying countries, languages, currencies, and scripts', +); diff --git a/lib/Locale/Codes/README b/ext/Locale-Codes/README similarity index 100% rename from lib/Locale/Codes/README rename to ext/Locale-Codes/README diff --git a/lib/Locale/Constants.pm b/ext/Locale-Codes/lib/Locale/Constants.pm similarity index 100% rename from lib/Locale/Constants.pm rename to ext/Locale-Codes/lib/Locale/Constants.pm diff --git a/lib/Locale/Constants.pod b/ext/Locale-Codes/lib/Locale/Constants.pod similarity index 100% rename from lib/Locale/Constants.pod rename to ext/Locale-Codes/lib/Locale/Constants.pod diff --git a/lib/Locale/Country.pm b/ext/Locale-Codes/lib/Locale/Country.pm similarity index 100% rename from lib/Locale/Country.pm rename to ext/Locale-Codes/lib/Locale/Country.pm diff --git a/lib/Locale/Country.pod b/ext/Locale-Codes/lib/Locale/Country.pod similarity index 100% rename from lib/Locale/Country.pod rename to ext/Locale-Codes/lib/Locale/Country.pod diff --git a/lib/Locale/Currency.pm b/ext/Locale-Codes/lib/Locale/Currency.pm similarity index 100% rename from lib/Locale/Currency.pm rename to ext/Locale-Codes/lib/Locale/Currency.pm diff --git a/lib/Locale/Currency.pod b/ext/Locale-Codes/lib/Locale/Currency.pod similarity index 100% rename from lib/Locale/Currency.pod rename to ext/Locale-Codes/lib/Locale/Currency.pod diff --git a/lib/Locale/Language.pm b/ext/Locale-Codes/lib/Locale/Language.pm similarity index 100% rename from lib/Locale/Language.pm rename to ext/Locale-Codes/lib/Locale/Language.pm diff --git a/lib/Locale/Language.pod b/ext/Locale-Codes/lib/Locale/Language.pod similarity index 100% rename from lib/Locale/Language.pod rename to ext/Locale-Codes/lib/Locale/Language.pod diff --git a/lib/Locale/Script.pm b/ext/Locale-Codes/lib/Locale/Script.pm similarity index 100% rename from lib/Locale/Script.pm rename to ext/Locale-Codes/lib/Locale/Script.pm diff --git a/lib/Locale/Script.pod b/ext/Locale-Codes/lib/Locale/Script.pod similarity index 100% rename from lib/Locale/Script.pod rename to ext/Locale-Codes/lib/Locale/Script.pod diff --git a/lib/Locale/Codes/t/all.t b/ext/Locale-Codes/t/all.t similarity index 100% rename from lib/Locale/Codes/t/all.t rename to ext/Locale-Codes/t/all.t diff --git a/lib/Locale/Codes/t/constants.t b/ext/Locale-Codes/t/constants.t similarity index 100% rename from lib/Locale/Codes/t/constants.t rename to ext/Locale-Codes/t/constants.t diff --git a/lib/Locale/Codes/t/country.t b/ext/Locale-Codes/t/country.t similarity index 100% rename from lib/Locale/Codes/t/country.t rename to ext/Locale-Codes/t/country.t diff --git a/lib/Locale/Codes/t/currency.t b/ext/Locale-Codes/t/currency.t similarity index 100% rename from lib/Locale/Codes/t/currency.t rename to ext/Locale-Codes/t/currency.t diff --git a/lib/Locale/Codes/t/languages.t b/ext/Locale-Codes/t/language.t similarity index 99% rename from lib/Locale/Codes/t/languages.t rename to ext/Locale-Codes/t/language.t index 92ccf4d..88edcee 100644 --- a/lib/Locale/Codes/t/languages.t +++ b/ext/Locale-Codes/t/language.t @@ -5,7 +5,7 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; + #@INC = '../lib'; } use Locale::Language; diff --git a/lib/Locale/Codes/t/rename.t b/ext/Locale-Codes/t/rename.t similarity index 100% rename from lib/Locale/Codes/t/rename.t rename to ext/Locale-Codes/t/rename.t diff --git a/lib/Locale/Codes/t/script.t b/ext/Locale-Codes/t/script.t similarity index 100% rename from lib/Locale/Codes/t/script.t rename to ext/Locale-Codes/t/script.t diff --git a/lib/Locale/Codes/t/uk.t b/ext/Locale-Codes/t/uk.t similarity index 100% rename from lib/Locale/Codes/t/uk.t rename to ext/Locale-Codes/t/uk.t diff --git a/lib/.gitignore b/lib/.gitignore index e7f6996..2c6f583 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -203,6 +203,15 @@ /IPC/SharedMem.pm /IPC/SysV.pm /List +/Locale +/Locale/Constants.pm +/Locale/Constants.pod +/Locale/Country.pm +/Locale/Country.pod +/Locale/Currency.pm +/Locale/Currency.pod +/Locale/Language.pm +/Locale/Language.pod /Locale/Maketext.pm /Locale/Maketext.pod /Locale/Maketext @@ -210,6 +219,8 @@ /Locale/Maketext/Guts.pm /Locale/Maketext/GutsLoader.pm /Locale/Maketext/Simple.pm +/Locale/Script.pm +/Locale/Script.pod /Log/Message.pm /Log/Message/Config.pm /Log/Message/Handlers.pm