Move Locale-Codes from lib/ to ext/
Chris Williams [Fri, 11 Sep 2009 13:40:24 +0000 (14:40 +0100)]
24 files changed:
MANIFEST
Porting/Maintainers.pl
ext/Locale-Codes/ChangeLog [moved from lib/Locale/Codes/ChangeLog with 100% similarity]
ext/Locale-Codes/Makefile.PL [new file with mode: 0644]
ext/Locale-Codes/README [moved from lib/Locale/Codes/README with 100% similarity]
ext/Locale-Codes/lib/Locale/Constants.pm [moved from lib/Locale/Constants.pm with 100% similarity]
ext/Locale-Codes/lib/Locale/Constants.pod [moved from lib/Locale/Constants.pod with 100% similarity]
ext/Locale-Codes/lib/Locale/Country.pm [moved from lib/Locale/Country.pm with 100% similarity]
ext/Locale-Codes/lib/Locale/Country.pod [moved from lib/Locale/Country.pod with 100% similarity]
ext/Locale-Codes/lib/Locale/Currency.pm [moved from lib/Locale/Currency.pm with 100% similarity]
ext/Locale-Codes/lib/Locale/Currency.pod [moved from lib/Locale/Currency.pod with 100% similarity]
ext/Locale-Codes/lib/Locale/Language.pm [moved from lib/Locale/Language.pm with 100% similarity]
ext/Locale-Codes/lib/Locale/Language.pod [moved from lib/Locale/Language.pod with 100% similarity]
ext/Locale-Codes/lib/Locale/Script.pm [moved from lib/Locale/Script.pm with 100% similarity]
ext/Locale-Codes/lib/Locale/Script.pod [moved from lib/Locale/Script.pod with 100% similarity]
ext/Locale-Codes/t/all.t [moved from lib/Locale/Codes/t/all.t with 100% similarity]
ext/Locale-Codes/t/constants.t [moved from lib/Locale/Codes/t/constants.t with 100% similarity]
ext/Locale-Codes/t/country.t [moved from lib/Locale/Codes/t/country.t with 100% similarity]
ext/Locale-Codes/t/currency.t [moved from lib/Locale/Codes/t/currency.t with 100% similarity]
ext/Locale-Codes/t/language.t [moved from lib/Locale/Codes/t/languages.t with 99% similarity]
ext/Locale-Codes/t/rename.t [moved from lib/Locale/Codes/t/rename.t with 100% similarity]
ext/Locale-Codes/t/script.t [moved from lib/Locale/Codes/t/script.t with 100% similarity]
ext/Locale-Codes/t/uk.t [moved from lib/Locale/Codes/t/uk.t with 100% similarity]
lib/.gitignore

index d70d018..4956f5c 100644 (file)
--- 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
index 0ebe21c..0ed5048 100755 (executable)
@@ -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/ext/Locale-Codes/Makefile.PL b/ext/Locale-Codes/Makefile.PL
new file mode 100644 (file)
index 0000000..e1121eb
--- /dev/null
@@ -0,0 +1,10 @@
+use strict;
+use ExtUtils::MakeMaker;
+
+WriteMakefile (
+    NAME      => 'Locale-Codes',
+    DISTNAME  => 'Locale-Codes',
+    VERSION   => '2.07',
+    AUTHOR    => 'Neil Bowers <neil@bowers.com>',
+    ABSTRACT  => 'modules for ISO codes identifying countries, languages, currencies, and scripts',
+);
similarity index 99%
rename from lib/Locale/Codes/t/languages.t
rename to ext/Locale-Codes/t/language.t
index 92ccf4d..88edcee 100644 (file)
@@ -5,7 +5,7 @@
 
 BEGIN {
        chdir 't' if -d 't';
-       @INC = '../lib';
+       #@INC = '../lib';
 }
 
 use Locale::Language;
index e7f6996..2c6f583 100644 (file)
 /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
 /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