This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move version from lib/ to cpan/
authorNicholas Clark <nick@ccl4.org>
Tue, 16 Jul 2013 09:23:50 +0000 (11:23 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 16 Jul 2013 18:17:39 +0000 (20:17 +0200)
Whilst there are still several differences between what's in core and what's
in the CPAN tarball, moving the files in core to their own directory with
the same layout as the CPAN distribution simplifies things.

Somewhat surprisingly, none of the toolchain modules C<use version;> so
there's no need to add to lib/buildcustomize.pl

20 files changed:
MANIFEST
META.json
META.yml
Makefile.SH
Porting/Maintainers.pl
cpan/version/lib/version.pm [moved from lib/version.pm with 100% similarity]
cpan/version/lib/version.pod [moved from lib/version.pod with 100% similarity]
cpan/version/lib/version/Internals.pod [moved from lib/version/Internals.pod with 100% similarity]
cpan/version/t/01base.t [moved from lib/version/t/01base.t with 100% similarity]
cpan/version/t/02derived.t [moved from lib/version/t/02derived.t with 100% similarity]
cpan/version/t/03require.t [moved from lib/version/t/03require.t with 100% similarity]
cpan/version/t/04strict_lax.t [moved from lib/version/t/04strict_lax.t with 100% similarity]
cpan/version/t/05sigdie.t [moved from lib/version/t/05sigdie.t with 100% similarity]
cpan/version/t/06noop.t [moved from lib/version/t/06noop.t with 100% similarity]
cpan/version/t/07locale.t [moved from lib/version/t/07locale.t with 100% similarity]
cpan/version/t/coretests.pm [moved from lib/version/t/coretests.pm with 100% similarity]
lib/.gitignore
t/porting/known_pod_issues.dat
win32/Makefile
win32/makefile.mk

index de8c16f..f0aef1b 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -2770,6 +2770,17 @@ cpan/Unicode-Normalize/t/proto.t Unicode::Normalize
 cpan/Unicode-Normalize/t/split.t       Unicode::Normalize
 cpan/Unicode-Normalize/t/test.t                Unicode::Normalize
 cpan/Unicode-Normalize/t/tie.t         Unicode::Normalize
+cpan/version/lib/version/Internals.pod Description of the internals of version objects
+cpan/version/lib/version.pm            Support for version objects
+cpan/version/lib/version.pod           Documentation of the version module
+cpan/version/t/01base.t                        Tests for version objects`
+cpan/version/t/02derived.t             Tests for version objects
+cpan/version/t/03require.t             Tests for version objects
+cpan/version/t/04strict_lax.t          Tests for version objects
+cpan/version/t/05sigdie.t              Tests for version objects
+cpan/version/t/06noop.t                        Tests for version objects
+cpan/version/t/07locale.t              Tests for version objects
+cpan/version/t/coretests.pm            Tests for version objects
 cpan/Win32API-File/buffers.h   Win32API::File extension
 cpan/Win32API-File/cFile.h     Win32API::File extension
 cpan/Win32API-File/cFile.pc    Win32API::File extension
@@ -4297,17 +4308,6 @@ lib/utf8.t                       See if utf8 operations work
 lib/vars_carp.t                        See if "use vars" doesn't load Carp.pm per default
 lib/vars.pm                    Declare pseudo-imported global variables
 lib/vars.t                     See if "use vars" works
-lib/version/Internals.pod      Description of the internals of version objects
-lib/version.pm                 Support for version objects
-lib/version.pod                        Documentation of the version module
-lib/version/t/01base.t         Tests for version objects`
-lib/version/t/02derived.t      Tests for version objects
-lib/version/t/03require.t      Tests for version objects
-lib/version/t/04strict_lax.t   Tests for version objects
-lib/version/t/05sigdie.t       Tests for version objects
-lib/version/t/06noop.t         Tests for version objects
-lib/version/t/07locale.t       Tests for version objects
-lib/version/t/coretests.pm     Tests for version objects
 lib/vmsish.pm                  Control VMS-specific behavior of Perl core
 lib/vmsish.t                   Tests for vmsish.pm
 lib/warnings.pm                        For "use warnings"
index 810aeee..b1a91fd 100644 (file)
--- a/META.json
+++ b/META.json
@@ -57,7 +57,6 @@
          "dist/threads-shared",
          "dist/Tie-File",
          "dist/XSLoader",
-         "lib/version",
          "mad",
          "win32"
       ],
          "dist/lib/Makefile.PL",
          "dist/lib/t/01lib.t",
          "lib/unicore/mktables",
-         "lib/version.pm",
-         "lib/version.pod",
          "pod/perlfilter.pod",
          "pod/perlpodstyle.pod",
          "Porting/Maintainers.pm",
index 6268d5b..1dfd9f0 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -55,7 +55,6 @@ no_index:
     - dist/threads-shared
     - dist/Tie-File
     - dist/XSLoader
-    - lib/version
     - mad
     - win32
   file:
@@ -104,8 +103,6 @@ no_index:
     - dist/lib/Makefile.PL
     - dist/lib/t/01lib.t
     - lib/unicore/mktables
-    - lib/version.pm
-    - lib/version.pod
     - pod/perlfilter.pod
     - pod/perlpodstyle.pod
     - Porting/Maintainers.pm
index ef30479..3ec2a88 100755 (executable)
@@ -1270,7 +1270,7 @@ _cleaner2:
        -rmdir lib/Sys lib/Scalar/Util lib/Scalar
        -rmdir lib/Term/UI lib/Thread lib/Tie/Hash
        -rmdir lib/Test/Builder/Tester lib/Test/Builder lib/Test
-       -rmdir lib/Unicode/Collate
+       -rmdir lib/Unicode/Collate lib/version
        -rmdir lib/XS/APItest lib/XS
        -rmdir lib/inc/latest lib/inc
        -rmdir lib/autodie/exception lib/autodie lib/encoding lib/threads
index f536ef1..084d72e 100755 (executable)
@@ -1917,7 +1917,7 @@ use File::Glob qw(:case);
     'version' => {
         'MAINTAINER'   => 'jpeacock',
         'DISTRIBUTION' => 'JPEACOCK/version-0.9902.tar.gz',
-        'FILES'        => q[lib/version.pm lib/version.pod lib/version],
+        'FILES'        => q[cpan/version],
         'EXCLUDED' => [
             qr{^t/.*\.t$},
             qr{^vutil/},
@@ -1925,10 +1925,6 @@ use File::Glob qw(:case);
             't/survey_locales',
             'vperl/vpp.pm',
         ],
-        'MAP' => {
-            'lib/'           => 'lib/',
-            't/'             => 'lib/version/t/'
-        },
         'UPSTREAM' => undef,
     },
 
similarity index 100%
rename from lib/version.pm
rename to cpan/version/lib/version.pm
similarity index 100%
rename from lib/version.pod
rename to cpan/version/lib/version.pod
index c9f8bb6..fa25676 100644 (file)
@@ -363,3 +363,5 @@ unicore/TestProp.pl
 /unicore/To
 /unicore/UCD.pl
 /unicore/lib
+/version.pm
+/version/
index 06ff301..cdd5971 100644 (file)
@@ -275,4 +275,3 @@ lib/config.pod      ? Should you be using L<...> instead of -1
 lib/extutils/embed.pm  Verbatim line length including indents exceeds 79 by    2
 lib/perl5db.pl ? Should you be using L<...> instead of 1
 lib/pod/text/overstrike.pm     Verbatim line length including indents exceeds 79 by    1
-lib/version/internals.pod      Verbatim line length including indents exceeds 79 by    1
index eb686fd..55b3d6e 100644 (file)
@@ -1236,6 +1236,7 @@ distclean: realclean
        -if exist $(LIBDIR)\threads rmdir /s /q $(LIBDIR)\threads
        -if exist $(LIBDIR)\Tie\Hash rmdir /s /q $(LIBDIR)\Tie\Hash
        -if exist $(LIBDIR)\Unicode\Collate rmdir /s /q $(LIBDIR)\Unicode\Collate
+       -if exist $(LIBDIR)\version rmdir /s /q $(LIBDIR)\version
        -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS
        -if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API
        -cd $(PODDIR) && del /f *.html *.bat roffitall \
index 77da22c..e03291a 100644 (file)
@@ -1414,6 +1414,7 @@ distclean: realclean
        -if exist $(LIBDIR)\threads rmdir /s /q $(LIBDIR)\threads
        -if exist $(LIBDIR)\Tie\Hash rmdir /s /q $(LIBDIR)\Tie\Hash
        -if exist $(LIBDIR)\Unicode\Collate rmdir /s /q $(LIBDIR)\Unicode\Collate
+       -if exist $(LIBDIR)\version rmdir /s /q $(LIBDIR)\version
        -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS
        -if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API
        -cd $(PODDIR) && del /f *.html *.bat roffitall \