From: Chris Williams Date: Mon, 7 Sep 2009 21:24:58 +0000 (+0100) Subject: Move Parse::CPAN::Meta from lib/ to ext/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5575180d9f9f5d969863240a57a2a6f4e6146f74;p=p5sagit%2Fp5-mst-13.2.git Move Parse::CPAN::Meta from lib/ to ext/ --- diff --git a/MANIFEST b/MANIFEST index ea7f3a3..4e21bb8 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1524,6 +1524,32 @@ ext/Package-Constants/lib/Package/Constants.pm Package::Constants ext/Package-Constants/t/01_list.t Package::Constants tests ext/Params-Check/lib/Params/Check.pm Params::Check ext/Params-Check/t/01_Params-Check.t Params::Check tests +ext/Parse-CPAN-Meta/Changes Parse::CPAN::Meta +ext/Parse-CPAN-Meta/lib/Parse/CPAN/Meta.pm Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/01_compile.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/02_basic.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/03_regression.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/04_scalar.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/05_export.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/11_meta_yml.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/12_plagger.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/13_perl_smith.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/14_yaml_org.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/15_multibyte.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/16_nullrefs.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/17_toolbar.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/18_tap.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/19_errors.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/21_bom.t Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/data/HTML-WebDAO.yml Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/data/multibyte.yml Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/data/sample.yml Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/data/Spreadsheet-Read.yml Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/data/Template-Provider-Unicode-Japanese.yml Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/data/toolbar.yml Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/data/utf_16_le_bom.yml Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/data/vanilla.yml Parse::CPAN::Meta +ext/Parse-CPAN-Meta/t/lib/Parse/CPAN/Meta/Test.pm Parse::CPAN::Meta testing library ext/PerlIO-encoding/encoding.pm PerlIO::encoding ext/PerlIO-encoding/encoding.xs PerlIO::encoding ext/PerlIO-encoding/MANIFEST PerlIO::encoding list of files @@ -2939,31 +2965,6 @@ lib/parent/t/parent-classfromfile.t tests for parent.pm lib/parent/t/parent-pmc.t tests for parent.pm lib/parent/t/parent-returns-false.t tests for parent.pm lib/parent/t/parent.t tests for parent.pm -lib/Parse/CPAN/Meta/Changes Parse::CPAN::Meta -lib/Parse/CPAN/Meta.pm Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/01_compile.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/02_basic.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/03_regression.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/04_scalar.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/05_export.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/11_meta_yml.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/12_plagger.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/13_perl_smith.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/14_yaml_org.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/15_multibyte.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/16_nullrefs.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/17_toolbar.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/18_tap.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/19_errors.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/21_bom.t Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/data/HTML-WebDAO.yml Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/data/multibyte.yml Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/data/sample.yml Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/data/Spreadsheet-Read.yml Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/data/Template-Provider-Unicode-Japanese.yml Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/data/toolbar.yml Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/data/utf_16_le_bom.yml Parse::CPAN::Meta -lib/Parse/CPAN/Meta/t/data/vanilla.yml Parse::CPAN::Meta lib/perl5db.pl Perl debugging routines lib/perl5db.t Tests for the Perl debugger lib/perl5db/t/eval-line-bug Tests for the Perl debugger @@ -4117,7 +4118,6 @@ t/lib/Math/BigRat/Test.pm Math::BigRat test helper t/lib/mypragma.pm An example user pragma t/lib/mypragma.t Test the example user pragma t/lib/no_load.t Test that some modules don't load others -t/lib/Parse/CPAN/Meta/Test.pm Parse::CPAN::Meta testing library t/lib/proxy_constant_subs.t Test that Proxy Constant Subs behave correctly t/lib/Sans_mypragma.pm Test module for t/lib/mypragma.t t/lib/strict/refs Tests of "use strict 'refs'" for strict.t diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 7041c84..b2ce711 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -1246,10 +1246,7 @@ use File::Glob qw(:case); { 'MAINTAINER' => 'smueller', 'DISTRIBUTION' => 'ADAMK/Parse-CPAN-Meta-1.39.tar.gz', - 'FILES' => q[lib/Parse/CPAN/Meta.pm - lib/Parse/CPAN/Meta - t/lib/Parse/CPAN/Meta/Test.pm - ], + 'FILES' => q[ext/Parse-CPAN-Meta], 'EXCLUDED' => [ qw( t/97_meta.t t/98_pod.t t/99_pmv.t ) ], 'MAP' => { 'lib/' => 'lib/', 't/lib/' => 't/lib/', diff --git a/ext/.gitignore b/ext/.gitignore index d0f89d5..ecb3864 100644 --- a/ext/.gitignore +++ b/ext/.gitignore @@ -47,6 +47,7 @@ ppport.h /Opcode/Makefile.PL /Package-Constants/Makefile.PL /Params-Check/Makefile.PL +/Parse-CPAN-Meta/Makefile.PL /PerlIO-encoding/Makefile.PL /PerlIO-scalar/Makefile.PL /PerlIO-via/Makefile.PL diff --git a/lib/Parse/CPAN/Meta/Changes b/ext/Parse-CPAN-Meta/Changes similarity index 100% rename from lib/Parse/CPAN/Meta/Changes rename to ext/Parse-CPAN-Meta/Changes diff --git a/lib/Parse/CPAN/Meta.pm b/ext/Parse-CPAN-Meta/lib/Parse/CPAN/Meta.pm similarity index 100% rename from lib/Parse/CPAN/Meta.pm rename to ext/Parse-CPAN-Meta/lib/Parse/CPAN/Meta.pm diff --git a/lib/Parse/CPAN/Meta/t/01_compile.t b/ext/Parse-CPAN-Meta/t/01_compile.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/01_compile.t rename to ext/Parse-CPAN-Meta/t/01_compile.t diff --git a/lib/Parse/CPAN/Meta/t/02_basic.t b/ext/Parse-CPAN-Meta/t/02_basic.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/02_basic.t rename to ext/Parse-CPAN-Meta/t/02_basic.t diff --git a/lib/Parse/CPAN/Meta/t/03_regression.t b/ext/Parse-CPAN-Meta/t/03_regression.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/03_regression.t rename to ext/Parse-CPAN-Meta/t/03_regression.t diff --git a/lib/Parse/CPAN/Meta/t/04_scalar.t b/ext/Parse-CPAN-Meta/t/04_scalar.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/04_scalar.t rename to ext/Parse-CPAN-Meta/t/04_scalar.t diff --git a/lib/Parse/CPAN/Meta/t/05_export.t b/ext/Parse-CPAN-Meta/t/05_export.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/05_export.t rename to ext/Parse-CPAN-Meta/t/05_export.t diff --git a/lib/Parse/CPAN/Meta/t/11_meta_yml.t b/ext/Parse-CPAN-Meta/t/11_meta_yml.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/11_meta_yml.t rename to ext/Parse-CPAN-Meta/t/11_meta_yml.t diff --git a/lib/Parse/CPAN/Meta/t/12_plagger.t b/ext/Parse-CPAN-Meta/t/12_plagger.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/12_plagger.t rename to ext/Parse-CPAN-Meta/t/12_plagger.t diff --git a/lib/Parse/CPAN/Meta/t/13_perl_smith.t b/ext/Parse-CPAN-Meta/t/13_perl_smith.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/13_perl_smith.t rename to ext/Parse-CPAN-Meta/t/13_perl_smith.t diff --git a/lib/Parse/CPAN/Meta/t/14_yaml_org.t b/ext/Parse-CPAN-Meta/t/14_yaml_org.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/14_yaml_org.t rename to ext/Parse-CPAN-Meta/t/14_yaml_org.t diff --git a/lib/Parse/CPAN/Meta/t/15_multibyte.t b/ext/Parse-CPAN-Meta/t/15_multibyte.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/15_multibyte.t rename to ext/Parse-CPAN-Meta/t/15_multibyte.t diff --git a/lib/Parse/CPAN/Meta/t/16_nullrefs.t b/ext/Parse-CPAN-Meta/t/16_nullrefs.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/16_nullrefs.t rename to ext/Parse-CPAN-Meta/t/16_nullrefs.t diff --git a/lib/Parse/CPAN/Meta/t/17_toolbar.t b/ext/Parse-CPAN-Meta/t/17_toolbar.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/17_toolbar.t rename to ext/Parse-CPAN-Meta/t/17_toolbar.t diff --git a/lib/Parse/CPAN/Meta/t/18_tap.t b/ext/Parse-CPAN-Meta/t/18_tap.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/18_tap.t rename to ext/Parse-CPAN-Meta/t/18_tap.t diff --git a/lib/Parse/CPAN/Meta/t/19_errors.t b/ext/Parse-CPAN-Meta/t/19_errors.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/19_errors.t rename to ext/Parse-CPAN-Meta/t/19_errors.t diff --git a/lib/Parse/CPAN/Meta/t/21_bom.t b/ext/Parse-CPAN-Meta/t/21_bom.t similarity index 100% rename from lib/Parse/CPAN/Meta/t/21_bom.t rename to ext/Parse-CPAN-Meta/t/21_bom.t diff --git a/lib/Parse/CPAN/Meta/t/data/HTML-WebDAO.yml b/ext/Parse-CPAN-Meta/t/data/HTML-WebDAO.yml similarity index 100% rename from lib/Parse/CPAN/Meta/t/data/HTML-WebDAO.yml rename to ext/Parse-CPAN-Meta/t/data/HTML-WebDAO.yml diff --git a/lib/Parse/CPAN/Meta/t/data/Spreadsheet-Read.yml b/ext/Parse-CPAN-Meta/t/data/Spreadsheet-Read.yml similarity index 100% rename from lib/Parse/CPAN/Meta/t/data/Spreadsheet-Read.yml rename to ext/Parse-CPAN-Meta/t/data/Spreadsheet-Read.yml diff --git a/lib/Parse/CPAN/Meta/t/data/Template-Provider-Unicode-Japanese.yml b/ext/Parse-CPAN-Meta/t/data/Template-Provider-Unicode-Japanese.yml similarity index 100% rename from lib/Parse/CPAN/Meta/t/data/Template-Provider-Unicode-Japanese.yml rename to ext/Parse-CPAN-Meta/t/data/Template-Provider-Unicode-Japanese.yml diff --git a/lib/Parse/CPAN/Meta/t/data/multibyte.yml b/ext/Parse-CPAN-Meta/t/data/multibyte.yml similarity index 100% rename from lib/Parse/CPAN/Meta/t/data/multibyte.yml rename to ext/Parse-CPAN-Meta/t/data/multibyte.yml diff --git a/lib/Parse/CPAN/Meta/t/data/sample.yml b/ext/Parse-CPAN-Meta/t/data/sample.yml similarity index 100% rename from lib/Parse/CPAN/Meta/t/data/sample.yml rename to ext/Parse-CPAN-Meta/t/data/sample.yml diff --git a/lib/Parse/CPAN/Meta/t/data/toolbar.yml b/ext/Parse-CPAN-Meta/t/data/toolbar.yml similarity index 100% rename from lib/Parse/CPAN/Meta/t/data/toolbar.yml rename to ext/Parse-CPAN-Meta/t/data/toolbar.yml diff --git a/lib/Parse/CPAN/Meta/t/data/utf_16_le_bom.yml b/ext/Parse-CPAN-Meta/t/data/utf_16_le_bom.yml similarity index 100% rename from lib/Parse/CPAN/Meta/t/data/utf_16_le_bom.yml rename to ext/Parse-CPAN-Meta/t/data/utf_16_le_bom.yml diff --git a/lib/Parse/CPAN/Meta/t/data/vanilla.yml b/ext/Parse-CPAN-Meta/t/data/vanilla.yml similarity index 100% rename from lib/Parse/CPAN/Meta/t/data/vanilla.yml rename to ext/Parse-CPAN-Meta/t/data/vanilla.yml diff --git a/t/lib/Parse/CPAN/Meta/Test.pm b/ext/Parse-CPAN-Meta/t/lib/Parse/CPAN/Meta/Test.pm similarity index 100% rename from t/lib/Parse/CPAN/Meta/Test.pm rename to ext/Parse-CPAN-Meta/t/lib/Parse/CPAN/Meta/Test.pm diff --git a/lib/.gitignore b/lib/.gitignore index 18f063f..291bec6 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -135,6 +135,7 @@ /Opcode.pm /Package/Constants.pm /Params/Check.pm +/Parse/CPAN/Meta.pm /POSIX.pm /POSIX.pod /Pod/Plainer.pm diff --git a/t/TEST b/t/TEST index b197554..42f1d20 100755 --- a/t/TEST +++ b/t/TEST @@ -31,6 +31,7 @@ my %temp_no_core = '../ext/IO-Compress' => 1, '../ext/IPC-SysV' => 1, '../ext/MIME-Base64' => 1, + '../ext/Parse-CPAN-Meta' => 1, '../ext/Time-HiRes' => 1, '../ext/Unicode-Normalize' => 1, );