Move ExtUtils::ParseXS from lib to ext.
authorNicholas Clark <nick@ccl4.org>
Thu, 10 Sep 2009 13:09:23 +0000 (14:09 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 10 Sep 2009 13:10:37 +0000 (14:10 +0100)
14 files changed:
MANIFEST
Porting/Maintainers.pl
ext/.gitignore
ext/ExtUtils-ParseXS/Changes [moved from lib/ExtUtils/ParseXS/Changes with 100% similarity]
ext/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm [moved from lib/ExtUtils/ParseXS.pm with 100% similarity]
ext/ExtUtils-ParseXS/lib/ExtUtils/xsubpp [moved from lib/ExtUtils/xsubpp with 100% similarity]
ext/ExtUtils-ParseXS/t/XSTest.pm [moved from lib/ExtUtils/ParseXS/t/XSTest.pm with 100% similarity]
ext/ExtUtils-ParseXS/t/XSTest.xs [moved from lib/ExtUtils/ParseXS/t/XSTest.xs with 100% similarity]
ext/ExtUtils-ParseXS/t/XSUsage.pm [moved from lib/ExtUtils/ParseXS/t/XSUsage.pm with 100% similarity]
ext/ExtUtils-ParseXS/t/XSUsage.xs [moved from lib/ExtUtils/ParseXS/t/XSUsage.xs with 100% similarity]
ext/ExtUtils-ParseXS/t/basic.t [moved from lib/ExtUtils/ParseXS/t/basic.t with 91% similarity]
ext/ExtUtils-ParseXS/t/usage.t [moved from lib/ExtUtils/ParseXS/t/usage.t with 93% similarity]
lib/.gitignore
utils/xsubpp.PL

index cb21681..f8c1592 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1066,6 +1066,15 @@ ext/ExtUtils-Install/t/Packlist.t                        See if Packlist works
 ext/ExtUtils-Manifest/lib/ExtUtils/Manifest.pm         Utilities to write MANIFEST files
 ext/ExtUtils-Manifest/lib/ExtUtils/MANIFEST.SKIP       The default MANIFEST.SKIP
 ext/ExtUtils-Manifest/t/Manifest.t                     See if ExtUtils::Manifest works
+ext/ExtUtils-ParseXS/Changes                   ExtUtils::ParseXS change log
+ext/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm   converts Perl XS code into C code
+ext/ExtUtils-ParseXS/lib/ExtUtils/xsubpp       External subroutine preprocessor
+ext/ExtUtils-ParseXS/t/basic.t                 See if ExtUtils::ParseXS works
+ext/ExtUtils-ParseXS/t/usage.t                 ExtUtils::ParseXS tests
+ext/ExtUtils-ParseXS/t/XSTest.pm               Test file for ExtUtils::ParseXS tests
+ext/ExtUtils-ParseXS/t/XSTest.xs               Test file for ExtUtils::ParseXS tests
+ext/ExtUtils-ParseXS/t/XSUsage.pm              ExtUtils::ParseXS tests
+ext/ExtUtils-ParseXS/t/XSUsage.xs              ExtUtils::ParseXS tests
 ext/Fcntl/Fcntl.pm     Fcntl extension Perl module
 ext/Fcntl/Fcntl.xs     Fcntl extension external subroutines
 ext/Fcntl/Makefile.PL  Fcntl extension makefile writer
@@ -2611,14 +2620,6 @@ lib/ExtUtils/MM_Win32.pm MakeMaker methods for Win32
 lib/ExtUtils/MM_Win95.pm       MakeMaker methods for Win95
 lib/ExtUtils/MY.pm             MakeMaker user override class
 lib/ExtUtils/NOTES             Notes about MakeMaker internals
-lib/ExtUtils/ParseXS/Changes   ExtUtils::ParseXS change log
-lib/ExtUtils/ParseXS.pm                converts Perl XS code into C code
-lib/ExtUtils/ParseXS/t/basic.t See if ExtUtils::ParseXS works
-lib/ExtUtils/ParseXS/t/usage.t ExtUtils::ParseXS tests
-lib/ExtUtils/ParseXS/t/XSTest.pm       Test file for ExtUtils::ParseXS tests
-lib/ExtUtils/ParseXS/t/XSTest.xs       Test file for ExtUtils::ParseXS tests
-lib/ExtUtils/ParseXS/t/XSUsage.pm      ExtUtils::ParseXS tests
-lib/ExtUtils/ParseXS/t/XSUsage.xs      ExtUtils::ParseXS tests
 lib/ExtUtils/PATCHING          Suggestions for patching MakeMaker
 lib/ExtUtils/README            MakeMaker README
 lib/ExtUtils/t/00compile.t     See if MakeMaker modules compile
@@ -2683,7 +2684,6 @@ lib/ExtUtils/t/writemakefile_args.t       See if WriteMakefile works
 lib/ExtUtils/t/xs.t            Part of MakeMaker's test suite
 lib/ExtUtils/typemap           Extension interface types
 lib/ExtUtils/XSSymSet.pm       on VMS, manage linker symbols when building extensions
-lib/ExtUtils/xsubpp            External subroutine preprocessor
 lib/fastcwd.pl                 a faster but more dangerous getcwd
 lib/feature.pm                 Pragma to enable new syntax
 lib/feature.t                  See if features work
index 0db52a1..6740f08 100755 (executable)
@@ -657,10 +657,7 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'kwilliams',
        'DISTRIBUTION'  => 'DAGOLDEN/ExtUtils-ParseXS-2.2002.tar.gz',
-       'FILES'         => q[lib/ExtUtils/ParseXS.pm
-                            lib/ExtUtils/ParseXS
-                            lib/ExtUtils/xsubpp
-                           ],
+       'FILES'         => q[ext/ExtUtils-ParseXS],
        'CPAN'          => 1,
        'UPSTREAM'      => 'cpan',
        },
index 8d01105..82134c9 100644 (file)
@@ -31,6 +31,7 @@ ppport.h
 /ExtUtils-Constant/Makefile.PL
 /ExtUtils-Install/Makefile.PL
 /ExtUtils-Manifest/Makefile.PL
+/ExtUtils-ParseXS/Makefile.PL
 /FileCache/Makefile.PL
 /File-Fetch/Makefile.PL
 /Filter-Simple/Makefile.PL
similarity index 91%
rename from lib/ExtUtils/ParseXS/t/basic.t
rename to ext/ExtUtils-ParseXS/t/basic.t
index 241ab19..39e1ca9 100644 (file)
@@ -1,13 +1,5 @@
 #!/usr/bin/perl
 
-BEGIN {
-  if ($ENV{PERL_CORE}) {
-    chdir 't' if -d 't';
-    chdir '../lib/ExtUtils/ParseXS'
-      or die "Can't chdir to lib/ExtUtils/ParseXS: $!";
-    @INC = qw(../.. ../../.. .);
-  }
-}
 use strict;
 use Test::More;
 use Config;
similarity index 93%
rename from lib/ExtUtils/ParseXS/t/usage.t
rename to ext/ExtUtils-ParseXS/t/usage.t
index 39a6e41..3d6ed79 100644 (file)
@@ -1,13 +1,5 @@
 #!/usr/bin/perl
 
-BEGIN {
-  if ($ENV{PERL_CORE}) {
-    chdir 't' if -d 't';
-    chdir '../lib/ExtUtils/ParseXS'
-      or die "Can't chdir to lib/ExtUtils/ParseXS: $!";
-    @INC = qw(../.. ../../.. .);
-  }
-}
 use strict;
 use Test::More;
 use Config;
index b8515c4..2cb6675 100644 (file)
 /ExtUtils/Manifest.pm
 /ExtUtils/Miniperl.pm
 /ExtUtils/Packlist.pm
+/ExtUtils/ParseXS.pm
 /Fatal.pm
 /Fcntl.pm
 /FileCache.pm
index 86c4393..c857df4 100644 (file)
@@ -33,7 +33,9 @@ $Config{startperl}
 
 use File::Spec;
 
-my $xsubpp = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, "lib", "ExtUtils"), "xsubpp");
+my $xsubpp = File::Spec->catfile(File::Spec->catdir(File::Spec->updir,
+                                                   qw(ext ExtUtils-ParseXS
+                                                      lib ExtUtils xsubpp)));
 
 if (open(XSUBPP, $xsubpp)) {
     print OUT <XSUBPP>;