Make porting tests pass after Locale::Codes removal
authorJames E Keenan <jkeenan@cpan.org>
Sun, 19 Aug 2018 03:08:34 +0000 (23:08 -0400)
committerKarl Williamson <khw@cpan.org>
Wed, 22 Aug 2018 21:36:00 +0000 (15:36 -0600)
And remove references to it.  This consists of:

1. Run ./perl -Ilib regen/lib_cleanup.pl.

2. Add links to Locale::Codes for podcheck

    This distribution is now removed from the core, so podcheck can't
    determine if they are valid or not without being told to do so.
    This was accomplished by:

    perl porting/podcheck.t --add_link Locale::Language
    perl porting/podcheck.t --add_link Locale::Country

3.  t/TEST: Remove Locale::Codes reference as it is no longer in core

4.  Porting/corelist-perldelta.pl: Remove Locale::Codes, as it is no
    longer in core

Makefile.SH
Porting/corelist-perldelta.pl
t/TEST
t/porting/known_pod_issues.dat

index 8ec17c8..43662e9 100755 (executable)
@@ -1443,16 +1443,15 @@ _cleaner2:
        -rmdir lib/Parse/CPAN lib/Parse lib/Params lib/Net/FTP lib/Module/Load
        -rmdir lib/Module/CoreList lib/Module lib/Memoize lib/Math/BigInt
        -rmdir lib/Math/BigFloat lib/Math lib/MIME lib/Locale/Maketext
-       -rmdir lib/Locale/Codes lib/Locale lib/List/Util lib/List lib/JSON/PP
-       -rmdir lib/JSON lib/IPC lib/IO/Uncompress/Adapter lib/IO/Uncompress
-       -rmdir lib/IO/Socket lib/IO/Compress/Zlib lib/IO/Compress/Zip
-       -rmdir lib/IO/Compress/Gzip lib/IO/Compress/Base
-       -rmdir lib/IO/Compress/Adapter lib/IO/Compress lib/IO
-       -rmdir lib/I18N/LangTags lib/I18N lib/Hash/Util lib/Hash lib/HTTP
-       -rmdir lib/Filter/Util lib/Filter lib/File/Spec lib/ExtUtils/Typemaps
-       -rmdir lib/ExtUtils/ParseXS lib/ExtUtils/MakeMaker/version
-       -rmdir lib/ExtUtils/MakeMaker lib/ExtUtils/Liblist
-       -rmdir lib/ExtUtils/Constant lib/ExtUtils/Command
+       -rmdir lib/Locale lib/List/Util lib/List lib/JSON/PP lib/JSON lib/IPC
+       -rmdir lib/IO/Uncompress/Adapter lib/IO/Uncompress lib/IO/Socket
+       -rmdir lib/IO/Compress/Zlib lib/IO/Compress/Zip lib/IO/Compress/Gzip
+       -rmdir lib/IO/Compress/Base lib/IO/Compress/Adapter lib/IO/Compress
+       -rmdir lib/IO lib/I18N/LangTags lib/I18N lib/Hash/Util lib/Hash
+       -rmdir lib/HTTP lib/Filter/Util lib/Filter lib/File/Spec
+       -rmdir lib/ExtUtils/Typemaps lib/ExtUtils/ParseXS
+       -rmdir lib/ExtUtils/MakeMaker/version lib/ExtUtils/MakeMaker
+       -rmdir lib/ExtUtils/Liblist lib/ExtUtils/Constant lib/ExtUtils/Command
        -rmdir lib/ExtUtils/CBuilder/Platform/Windows
        -rmdir lib/ExtUtils/CBuilder/Platform lib/ExtUtils/CBuilder
        -rmdir lib/Exporter lib/Encode/Unicode lib/Encode/MIME/Header
index 5290d77..c8a1429 100755 (executable)
@@ -174,13 +174,6 @@ sub corelist_delta {
         'data'         => $changes{'Net::Cmd'}
       }
     ],
-    'Locale-Codes' => [
-      {
-        'name'         => 'Locale::Codes',
-        'modification' => $getModifyType->( $changes{'Locale::Codes'} ),
-        'data'         => $changes{'Locale::Codes'}
-      }
-    ],
     'PathTools' => [
       {
         'name'         => 'File::Spec',
diff --git a/t/TEST b/t/TEST
index 9a4b4e7..f8f338f 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -49,7 +49,6 @@ my %abs = (
           '../cpan/File-Fetch' => 1,
           '../cpan/IPC-Cmd' => 1,
           '../cpan/IPC-SysV' => 1,
-          '../cpan/Locale-Codes' => 1,
           '../cpan/Module-Load' => 1,
           '../cpan/Module-Load-Conditional' => 1,
           '../cpan/Pod-Simple' => 1,
index 9237c57..baff048 100644 (file)
@@ -161,6 +161,8 @@ Lingua::ZH::Romanize::Pinyin
 List::Gather
 listen(2)
 local::lib
+Locale::Country
+Locale::Language
 localeconv(3)
 lockf(3)
 Log::Message