Hello community, here is the log from the commit of package perl-CPAN-Meta for openSUSE:Factory checked in at 2013-10-06 14:30:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-CPAN-Meta (Old) and /work/SRC/openSUSE:Factory/.perl-CPAN-Meta.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-CPAN-Meta" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-CPAN-Meta/perl-CPAN-Meta.changes 2013-08-07 20:47:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-CPAN-Meta.new/perl-CPAN-Meta.changes 2013-10-06 14:30:55.000000000 +0200 @@ -1,0 +2,24 @@ +Fri Oct 4 09:15:24 UTC 2013 - [email protected] + +- updated to 2.132661 + [FIXED] + - updated Makefile.PL logic to support PERL_NO_HIGHLANDER + [PREREQS] + - Dropped ExtUtils::MakeMaker configure_requires dependency + to 6.17 + + [FIXED] + - Installation on Perls < 5.12 will uninstall older versions installed + due to being bundled with ExtUtils::MakeMaker + + [CHANGED] + - META validation used to allow a scalar value when a list (i.e. array + reference) was required for a field. This has been tightened and + validation will now fail if a scalar value is given. Conversion will + continue to turn scalars into an array reference as it previously did. + + [FIXED] + - Fixed incorrectly encoded META.yml +- remove outdated perl-CPAN-Meta-use_lib.patch + +------------------------------------------------------------------- Old: ---- CPAN-Meta-2.132140.tar.gz New: ---- CPAN-Meta-2.132661.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-CPAN-Meta.spec ++++++ --- /var/tmp/diff_new_pack.PUsTA4/_old 2013-10-06 14:30:56.000000000 +0200 +++ /var/tmp/diff_new_pack.PUsTA4/_new 2013-10-06 14:30:56.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-CPAN-Meta -Version: 2.132140 +Version: 2.132661 Release: 0 %define cpan_name CPAN-Meta Summary: the distribution metadata for a CPAN dist @@ -25,12 +25,11 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/CPAN-Meta/ Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz -Patch0: perl-CPAN-Meta-use_lib.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121000 +BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121 BuildRequires: perl(CPAN::Meta::YAML) >= 0.008 BuildRequires: perl(File::Temp) >= 0.20 BuildRequires: perl(JSON::PP) >= 2.27200 @@ -42,7 +41,9 @@ #BuildRequires: perl(CPAN::Meta::Feature) #BuildRequires: perl(CPAN::Meta::Prereqs) #BuildRequires: perl(CPAN::Meta::Validator) -Requires: perl(CPAN::Meta::Requirements) >= 2.121000 +#BuildRequires: perl(Pod::Wordlist) +#BuildRequires: perl(Test::Spelling) >= 0.12 +Requires: perl(CPAN::Meta::Requirements) >= 2.121 Requires: perl(CPAN::Meta::YAML) >= 0.008 Requires: perl(JSON::PP) >= 2.27200 Requires: perl(Parse::CPAN::Meta) >= 1.4403 @@ -65,10 +66,6 @@ %prep %setup -q -n %{cpan_name}-%{version} -%if 0%{?suse_version} <= 1110 -%patch0 -p1 -sed -i "s|__vendorperl__|%{perl_vendorlib}|g" Makefile.PL t/*.t -%endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -84,6 +81,6 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTING LICENSE perlcritic.rc README Todo +%doc Changes CONTRIBUTING cpanfile LICENSE perlcritic.rc README Todo %changelog ++++++ CPAN-Meta-2.132140.tar.gz -> CPAN-Meta-2.132661.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/CONTRIBUTING new/CPAN-Meta-2.132661/CONTRIBUTING --- old/CPAN-Meta-2.132140/CONTRIBUTING 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/CONTRIBUTING 2013-09-23 19:27:58.000000000 +0200 @@ -1,4 +1,4 @@ -README.PATCHING +## HOW TO CONTRIBUTE Thank you for considering contributing to this distribution. This file contains instructions that will help you work with the source code. @@ -7,36 +7,56 @@ usual files you might expect are not in the repository, but are generated at release time (e.g. Makefile.PL). -However, you can run tests directly using the 'prove' tool: +### Getting dependencies - $ prove -l - $ prove -lv t/some_test_file.t +See the included `cpanfile` file for a list of dependencies. If you have +App::cpanminus 1.6 or later installed, you can use `cpanm` to satisfy +dependencies like this: -For most distributions, 'prove' is entirely sufficent for you to test any + $ cpanm --installdeps . + +Otherwise, you can install Module::CPANfile 1.0002 or later and then satisfy +dependencies with the regular `cpan` client and `cpanfile-dump`: + + $ cpan `cpanfile-dump` + +### Running tests + +You can run tests directly using the `prove` tool: + + $ prove -l + $ prove -lv t/some_test_file.t + +For most distributions, `prove` is entirely sufficent for you to test any patches you have. +### Patching documentation + Likewise, much of the documentation Pod is generated at release time. Depending on the distribution, some documentation may be written in a Pod -dialect called WikiDoc. (See Pod::WikiDoc on CPAN.) If you would like to -submit a documentation edit, please limit yourself to the documentation you -see. +dialect called WikiDoc. (See Pod::WikiDoc on CPAN.) + +If you would like to submit a documentation edit, please limit yourself to the +documentation you see. If you see typos or documentation issues in the generated docs, please email or open a bug ticket instead of patching. +### Learning Dist::Zilla + Dist::Zilla is a very powerful authoring tool, but requires a number of author-specific plugins. If you would like to use it for contributing, install it from CPAN, then run one of the following commands, depending on your CPAN client: - $ cpan `dzil authordeps` - $ dzil authordeps | cpanm + $ cpan `dzil authordeps` + $ dzil authordeps | cpanm Once installed, here are some dzil commands you might try: - $ dzil build - $ dzil test - $ dzil xtest - + $ dzil build + $ dzil test + $ dzil xtest + You can learn more about Dist::Zilla at http://dzil.org/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/Changes new/CPAN-Meta-2.132661/Changes --- old/CPAN-Meta-2.132140/Changes 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/Changes 2013-09-23 19:27:58.000000000 +0200 @@ -1,5 +1,38 @@ Revision history for CPAN-Meta +2.132661 2013-09-23 13:27:46 America/New_York + + [FIXED] + + - updated Makefile.PL logic to support PERL_NO_HIGHLANDER + + [PREREQS] + + - Dropped ExtUtils::MakeMaker configure_requires dependency + to 6.17 + +2.132660 2013-09-23 06:04:04 America/New_York + + [FIXED] + + - Installation on Perls < 5.12 will uninstall older versions installed + due to being bundled with ExtUtils::MakeMaker + +2.132620 2013-09-19 11:18:33 America/New_York + + [CHANGED] + + - META validation used to allow a scalar value when a list (i.e. array + reference) was required for a field. This has been tightened and + validation will now fail if a scalar value is given. Conversion will + continue to turn scalars into an array reference as it previously did. + +2.132510 2013-09-08 10:17:29 America/New_York + + [FIXED] + + - Fixed incorrectly encoded META.yml + 2.132140 2013-08-02 11:54:17 America/New_York [DOCUMENTATION] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/MANIFEST new/CPAN-Meta-2.132661/MANIFEST --- old/CPAN-Meta-2.132140/MANIFEST 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/MANIFEST 2013-09-23 19:27:58.000000000 +0200 @@ -7,6 +7,7 @@ Makefile.PL README Todo +cpanfile dist.ini history/META-spec-1_0.html history/META-spec-1_1.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/META.json new/CPAN-Meta-2.132661/META.json --- old/CPAN-Meta-2.132140/META.json 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/META.json 2013-09-23 19:27:58.000000000 +0200 @@ -5,7 +5,7 @@ "Ricardo Signes <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.300035, CPAN::Meta::Converter version 2.131560", + "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132660", "license" : [ "perl_5" ], @@ -29,7 +29,7 @@ "prereqs" : { "configure" : { "requires" : { - "ExtUtils::MakeMaker" : "6.30" + "ExtUtils::MakeMaker" : "6.17" } }, "develop" : { @@ -59,11 +59,12 @@ "Data::Dumper" : "0", "ExtUtils::MakeMaker" : "0", "File::Basename" : "0", - "File::Find" : "0", "File::Spec" : "0", "File::Spec::Functions" : "0", "File::Temp" : "0.20", "IO::Dir" : "0", + "IO::Handle" : "0", + "IPC::Open3" : "0", "List::Util" : "0", "Test::More" : "0.88", "overload" : "0", @@ -74,46 +75,46 @@ "provides" : { "CPAN::Meta" : { "file" : "lib/CPAN/Meta.pm", - "version" : "2.132140" + "version" : "2.132661" }, "CPAN::Meta::Converter" : { "file" : "lib/CPAN/Meta/Converter.pm", - "version" : "2.132140" + "version" : "2.132661" }, "CPAN::Meta::Feature" : { "file" : "lib/CPAN/Meta/Feature.pm", - "version" : "2.132140" + "version" : "2.132661" }, "CPAN::Meta::History" : { "file" : "lib/CPAN/Meta/History.pm", - "version" : "2.132140" + "version" : "2.132661" }, "CPAN::Meta::Prereqs" : { "file" : "lib/CPAN/Meta/Prereqs.pm", - "version" : "2.132140" + "version" : "2.132661" }, "CPAN::Meta::Spec" : { "file" : "lib/CPAN/Meta/Spec.pm", - "version" : "2.132140" + "version" : "2.132661" }, "CPAN::Meta::Validator" : { "file" : "lib/CPAN/Meta/Validator.pm", - "version" : "2.132140" + "version" : "2.132661" } }, "release_status" : "stable", "resources" : { "bugtracker" : { - "web" : "https://github.com/Perl-Toolchain-Gang/cpan-meta/issues" + "web" : "https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues" }, - "homepage" : "https://metacpan.org/release/CPAN-Meta", + "homepage" : "https://github.com/Perl-Toolchain-Gang/CPAN-Meta", "repository" : { "type" : "git", - "url" : "git://github.com/dagolden/cpan-meta.git", - "web" : "https://github.com/dagolden/cpan-meta" + "url" : "https://github.com/Perl-Toolchain-Gang/CPAN-Meta.git", + "web" : "https://github.com/Perl-Toolchain-Gang/CPAN-Meta" } }, - "version" : "2.132140", + "version" : "2.132661", "x_authority" : "cpan:DAGOLDEN", "x_contributors" : [ "Ansgar Burchardt <[email protected]>", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/META.yml new/CPAN-Meta-2.132661/META.yml --- old/CPAN-Meta-2.132140/META.yml 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/META.yml 2013-09-23 19:27:58.000000000 +0200 @@ -7,19 +7,20 @@ Data::Dumper: 0 ExtUtils::MakeMaker: 0 File::Basename: 0 - File::Find: 0 File::Spec: 0 File::Spec::Functions: 0 File::Temp: 0.20 IO::Dir: 0 + IO::Handle: 0 + IPC::Open3: 0 List::Util: 0 Test::More: 0.88 overload: 0 utf8: 0 configure_requires: - ExtUtils::MakeMaker: 6.30 + ExtUtils::MakeMaker: 6.17 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.300035, CPAN::Meta::Converter version 2.131560' +generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132660' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -37,25 +38,25 @@ provides: CPAN::Meta: file: lib/CPAN/Meta.pm - version: 2.132140 + version: 2.132661 CPAN::Meta::Converter: file: lib/CPAN/Meta/Converter.pm - version: 2.132140 + version: 2.132661 CPAN::Meta::Feature: file: lib/CPAN/Meta/Feature.pm - version: 2.132140 + version: 2.132661 CPAN::Meta::History: file: lib/CPAN/Meta/History.pm - version: 2.132140 + version: 2.132661 CPAN::Meta::Prereqs: file: lib/CPAN/Meta/Prereqs.pm - version: 2.132140 + version: 2.132661 CPAN::Meta::Spec: file: lib/CPAN/Meta/Spec.pm - version: 2.132140 + version: 2.132661 CPAN::Meta::Validator: file: lib/CPAN/Meta/Validator.pm - version: 2.132140 + version: 2.132661 requires: CPAN::Meta::Requirements: 2.121 CPAN::Meta::YAML: 0.008 @@ -68,10 +69,10 @@ version: 0.88 warnings: 0 resources: - bugtracker: https://github.com/Perl-Toolchain-Gang/cpan-meta/issues - homepage: https://metacpan.org/release/CPAN-Meta - repository: git://github.com/dagolden/cpan-meta.git -version: 2.132140 + bugtracker: https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues + homepage: https://github.com/Perl-Toolchain-Gang/CPAN-Meta + repository: https://github.com/Perl-Toolchain-Gang/CPAN-Meta.git +version: 2.132661 x_authority: cpan:DAGOLDEN x_contributors: - 'Ansgar Burchardt <[email protected]>' @@ -89,5 +90,5 @@ - 'Mark Fowler <[email protected]>' - 'Michael G. Schwern <[email protected]>' - 'Olaf Alders <[email protected]>' - - 'Olivier Mengu� <[email protected]>' + - 'Olivier Mengué <[email protected]>' - 'Randy Sims <[email protected]>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/Makefile.PL new/CPAN-Meta-2.132661/Makefile.PL --- old/CPAN-Meta-2.132140/Makefile.PL 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/Makefile.PL 2013-09-23 19:27:58.000000000 +0200 @@ -4,7 +4,7 @@ use 5.008; -use ExtUtils::MakeMaker 6.30; +use ExtUtils::MakeMaker 6.17; @@ -13,7 +13,7 @@ "AUTHOR" => "David Golden <dagolden\@cpan.org>, Ricardo Signes <rjbs\@cpan.org>", "BUILD_REQUIRES" => {}, "CONFIGURE_REQUIRES" => { - "ExtUtils::MakeMaker" => "6.30" + "ExtUtils::MakeMaker" => "6.17" }, "DISTNAME" => "CPAN-Meta", "EXE_FILES" => [], @@ -22,29 +22,30 @@ "PREREQ_PM" => { "CPAN::Meta::Requirements" => "2.121", "CPAN::Meta::YAML" => "0.008", - "Carp" => "0", + "Carp" => 0, "JSON::PP" => "2.27200", "Parse::CPAN::Meta" => "1.4403", - "Scalar::Util" => "0", - "strict" => "0", + "Scalar::Util" => 0, + "strict" => 0, "version" => "0.88", - "warnings" => "0" + "warnings" => 0 }, "TEST_REQUIRES" => { - "Data::Dumper" => "0", - "ExtUtils::MakeMaker" => "0", - "File::Basename" => "0", - "File::Find" => "0", - "File::Spec" => "0", - "File::Spec::Functions" => "0", + "Data::Dumper" => 0, + "ExtUtils::MakeMaker" => 0, + "File::Basename" => 0, + "File::Spec" => 0, + "File::Spec::Functions" => 0, "File::Temp" => "0.20", - "IO::Dir" => "0", - "List::Util" => "0", + "IO::Dir" => 0, + "IO::Handle" => 0, + "IPC::Open3" => 0, + "List::Util" => 0, "Test::More" => "0.88", - "overload" => "0", - "utf8" => "0" + "overload" => 0, + "utf8" => 0 }, - "VERSION" => "2.132140", + "VERSION" => "2.132661", "test" => { "TESTS" => "t/*.t" } @@ -80,6 +81,15 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; +# Added by Dist::Zilla::Plugin::MakeMaker::Highlander +if ( $] < 5.012 + && ! $ENV{PERL_NO_HIGHLANDER} + && ! ( $ENV{PERL_MM_OPT} && $ENV{PERL_MM_OPT} =~ /(?:INSTALL_BASE|PREFIX)/ ) + && ! grep { /INSTALL_BASE/ || /PREFIX/ } @ARGV +) { + $WriteMakefileArgs{UNINST} = 1; +} + WriteMakefile(%WriteMakefileArgs); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/README new/CPAN-Meta-2.132661/README --- old/CPAN-Meta-2.132140/README 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/README 2013-09-23 19:27:58.000000000 +0200 @@ -2,7 +2,7 @@ CPAN::Meta - the distribution metadata for a CPAN dist VERSION - version 2.132140 + version 2.132661 SYNOPSIS use v5.10; @@ -262,16 +262,16 @@ SUPPORT Bugs / Feature Requests Please report any bugs or feature requests through the issue tracker at - <https://github.com/Perl-Toolchain-Gang/cpan-meta/issues>. You will be + <https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues>. You will be notified automatically of any progress on your issue. Source Code This is open source software. The code repository is available for public review and contribution under the terms of the license. - <https://github.com/dagolden/cpan-meta> + <https://github.com/Perl-Toolchain-Gang/CPAN-Meta> - git clone git://github.com/dagolden/cpan-meta.git + git clone https://github.com/Perl-Toolchain-Gang/CPAN-Meta.git AUTHORS * David Golden <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/cpanfile new/CPAN-Meta-2.132661/cpanfile --- old/CPAN-Meta-2.132140/cpanfile 1970-01-01 01:00:00.000000000 +0100 +++ new/CPAN-Meta-2.132661/cpanfile 2013-09-23 19:27:58.000000000 +0200 @@ -0,0 +1,37 @@ +requires "CPAN::Meta::Requirements" => "2.121"; +requires "CPAN::Meta::YAML" => "0.008"; +requires "Carp" => "0"; +requires "JSON::PP" => "2.27200"; +requires "Parse::CPAN::Meta" => "1.4403"; +requires "Scalar::Util" => "0"; +requires "perl" => "5.008"; +requires "strict" => "0"; +requires "version" => "0.88"; +requires "warnings" => "0"; + +on 'test' => sub { + requires "Data::Dumper" => "0"; + requires "ExtUtils::MakeMaker" => "0"; + requires "File::Basename" => "0"; + requires "File::Spec" => "0"; + requires "File::Spec::Functions" => "0"; + requires "File::Temp" => "0.20"; + requires "IO::Dir" => "0"; + requires "IO::Handle" => "0"; + requires "IPC::Open3" => "0"; + requires "List::Util" => "0"; + requires "Test::More" => "0.88"; + requires "overload" => "0"; + requires "utf8" => "0"; +}; + +on 'configure' => sub { + requires "ExtUtils::MakeMaker" => "6.17"; +}; + +on 'develop' => sub { + requires "Pod::Coverage::TrustPod" => "0"; + requires "Test::CPAN::Meta" => "0"; + requires "Test::Pod" => "1.41"; + requires "Test::Pod::Coverage" => "1.08"; +}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/dist.ini new/CPAN-Meta-2.132661/dist.ini --- old/CPAN-Meta-2.132140/dist.ini 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/dist.ini 2013-09-23 19:27:58.000000000 +0200 @@ -9,33 +9,24 @@ major = 2 [@DAGOLDEN] -:version = 0.047 +:version = 0.053 -remove = Git::NextVersion +-remove = MakeMaker authority = cpan:DAGOLDEN no_minimum_perl = 1 tag_format = %v version_regex = ^(\d+\.\d{6})$ ; AutoVersion style -AutoMetaResources.bugtracker.github = user:Perl-Toolchain-Gang -AutoMetaResources.bugtracker.rt = 0 +GithubMeta.user = Perl-Toolchain-Gang MetaNoIndex.directory[] = history -stopwords = IMPLEMENTORS -stopwords = URL's -stopwords = arrayrefs -stopwords = deserializes -stopwords = dir stopwords = distmeta -stopwords = hashrefs -stopwords = installable -stopwords = json -stopwords = lossy -stopwords = parsers -stopwords = pathname +stopwords = dir +stopwords = mailto stopwords = subkey stopwords = subkeys -stopwords = subtype -stopwords = subtypes -stopwords = unix -stopwords = unordered + +; as shipped with 5.8.1 +[MakeMaker] +eumm_version = 6.17 ; repeat these from Parse::CPAN::Meta to ensure we don't wind up ; with P::C::M installed but the backends not installed (as seen in @@ -44,3 +35,14 @@ perl = 5.006 JSON::PP = 2.27200 CPAN::Meta::YAML = 0.008 + +; until OnlyCorePrereqs can take "any version, as long as module is core" +; we'll just check test requirements; other runtime requirements might +; be on CPAN but not shipped with perl yet +[OnlyCorePrereqs] +starting_version = current +phase = test + +; EU::MM bundled prereqs need this +[MakeMaker::Highlander] +:version = 0.003 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/lib/CPAN/Meta/Converter.pm new/CPAN-Meta-2.132661/lib/CPAN/Meta/Converter.pm --- old/CPAN-Meta-2.132140/lib/CPAN/Meta/Converter.pm 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/lib/CPAN/Meta/Converter.pm 2013-09-23 19:27:58.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; package CPAN::Meta::Converter; -our $VERSION = '2.132140'; # VERSION +our $VERSION = '2.132661'; # VERSION use CPAN::Meta::Validator; @@ -1280,7 +1280,7 @@ =head1 VERSION -version 2.132140 +version 2.132661 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/lib/CPAN/Meta/Feature.pm new/CPAN-Meta-2.132661/lib/CPAN/Meta/Feature.pm --- old/CPAN-Meta-2.132140/lib/CPAN/Meta/Feature.pm 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/lib/CPAN/Meta/Feature.pm 2013-09-23 19:27:58.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; package CPAN::Meta::Feature; -our $VERSION = '2.132140'; # VERSION +our $VERSION = '2.132661'; # VERSION use CPAN::Meta::Prereqs; @@ -44,7 +44,7 @@ =head1 VERSION -version 2.132140 +version 2.132661 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/lib/CPAN/Meta/History.pm new/CPAN-Meta-2.132661/lib/CPAN/Meta/History.pm --- old/CPAN-Meta-2.132140/lib/CPAN/Meta/History.pm 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/lib/CPAN/Meta/History.pm 2013-09-23 19:27:58.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; package CPAN::Meta::History; -our $VERSION = '2.132140'; # VERSION +our $VERSION = '2.132661'; # VERSION 1; @@ -21,7 +21,7 @@ =head1 VERSION -version 2.132140 +version 2.132661 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/lib/CPAN/Meta/Prereqs.pm new/CPAN-Meta-2.132661/lib/CPAN/Meta/Prereqs.pm --- old/CPAN-Meta-2.132140/lib/CPAN/Meta/Prereqs.pm 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/lib/CPAN/Meta/Prereqs.pm 2013-09-23 19:27:58.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; package CPAN::Meta::Prereqs; -our $VERSION = '2.132140'; # VERSION +our $VERSION = '2.132661'; # VERSION use Carp qw(confess); @@ -151,7 +151,7 @@ =head1 VERSION -version 2.132140 +version 2.132661 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/lib/CPAN/Meta/Spec.pm new/CPAN-Meta-2.132661/lib/CPAN/Meta/Spec.pm --- old/CPAN-Meta-2.132140/lib/CPAN/Meta/Spec.pm 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/lib/CPAN/Meta/Spec.pm 2013-09-23 19:27:58.000000000 +0200 @@ -7,7 +7,7 @@ use strict; use warnings; package CPAN::Meta::Spec; -our $VERSION = '2.132140'; # VERSION +our $VERSION = '2.132661'; # VERSION 1; @@ -28,7 +28,7 @@ =head1 VERSION -version 2.132140 +version 2.132661 =head1 SYNOPSIS @@ -1106,7 +1106,7 @@ YAML, L<http://www.yaml.org/> -=head1 CONTRIBUTORS +=head1 HISTORY Ken Williams wrote the original CPAN Meta Spec (also known as the "META.yml spec") in 2003 and maintained it through several revisions @@ -1119,21 +1119,6 @@ in April 2010 based on the version 1.4 spec and patches contributed during the proposal process. -Several others have contributed patches over the years. The full list -of contributors in the repository history currently includes: - - 2shortplanks - Avar Arnfjord Bjarmason - Christopher J. Madsen - Damyan Ivanov - David Golden - Eric Wilhelm - Ken Williams - Lars DIECKOW - Michael G. Schwern - Randy Sims - Ricardo Signes - =head1 AUTHORS =over 4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/lib/CPAN/Meta/Validator.pm new/CPAN-Meta-2.132661/lib/CPAN/Meta/Validator.pm --- old/CPAN-Meta-2.132140/lib/CPAN/Meta/Validator.pm 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/lib/CPAN/Meta/Validator.pm 2013-09-23 19:27:58.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; package CPAN::Meta::Validator; -our $VERSION = '2.132140'; # VERSION +our $VERSION = '2.132661'; # VERSION #--------------------------------------------------------------------------# @@ -78,10 +78,10 @@ '2' => { # REQUIRED 'abstract' => { mandatory => 1, value => \&string }, - 'author' => { mandatory => 1, lazylist => { value => \&string } }, + 'author' => { mandatory => 1, list => { value => \&string } }, 'dynamic_config' => { mandatory => 1, value => \&boolean }, 'generated_by' => { mandatory => 1, value => \&string }, - 'license' => { mandatory => 1, lazylist => { value => \&license } }, + 'license' => { mandatory => 1, list => { value => \&license } }, 'meta-spec' => { mandatory => 1, 'map' => { @@ -96,7 +96,7 @@ # OPTIONAL 'description' => { value => \&string }, - 'keywords' => { lazylist => { value => \&string } }, + 'keywords' => { list => { value => \&string } }, 'no_index' => $no_index_2, 'optional_features' => { 'map' => { @@ -125,7 +125,7 @@ }, 'resources' => { 'map' => { - license => { lazylist => { value => \&url } }, + license => { list => { value => \&url } }, homepage => { value => \&url }, bugtracker => { 'map' => { @@ -452,7 +452,7 @@ my $spec_error = "Missing validation action in specification. " - . "Must be one of 'map', 'list', 'lazylist', or 'value'"; + . "Must be one of 'map', 'list', or 'value'"; sub check_map { my ($self,$spec,$data) = @_; @@ -484,8 +484,6 @@ $self->check_map($spec->{$key}{'map'},$data->{$key}); } elsif($spec->{$key}{'list'}) { $self->check_list($spec->{$key}{'list'},$data->{$key}); - } elsif($spec->{$key}{'lazylist'}) { - $self->check_lazylist($spec->{$key}{'lazylist'},$data->{$key}); } else { $self->_error( "$spec_error for '$key'" ); } @@ -498,8 +496,6 @@ $self->check_map($spec->{':key'}{'map'},$data->{$key}); } elsif($spec->{':key'}{'list'}) { $self->check_list($spec->{':key'}{'list'},$data->{$key}); - } elsif($spec->{':key'}{'lazylist'}) { - $self->check_lazylist($spec->{':key'}{'lazylist'},$data->{$key}); } else { $self->_error( "$spec_error for ':key'" ); } @@ -512,17 +508,6 @@ } } -# if it's a string, make it into a list and check the list -sub check_lazylist { - my ($self,$spec,$data) = @_; - - if ( defined $data && ! ref($data) ) { - $data = [ $data ]; - } - - $self->check_list($spec,$data); -} - sub check_list { my ($self,$spec,$data) = @_; @@ -545,8 +530,6 @@ $self->check_map($spec->{'map'},$value); } elsif(defined $spec->{'list'}) { $self->check_list($spec->{'list'},$value); - } elsif(defined $spec->{'lazylist'}) { - $self->check_lazylist($spec->{'lazylist'},$value); } elsif ($spec->{':key'}) { $self->check_map($spec,$value); } else { @@ -840,7 +823,7 @@ =head1 VERSION -version 2.132140 +version 2.132661 =head1 SYNOPSIS @@ -904,10 +887,6 @@ =item * -check_lazylist($spec,$data) - -Checks whether a list conforms, but converts strings to a single-element list - =back =head2 Validator Methods @@ -1016,7 +995,7 @@ =end :internals -=for Pod::Coverage anything boolean check_lazylist check_list custom_1 custom_2 exversion file +=for Pod::Coverage anything boolean check_list custom_1 custom_2 exversion file identifier license module phase relation release_status string string_or_undef url urlspec version header check_map diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/lib/CPAN/Meta.pm new/CPAN-Meta-2.132661/lib/CPAN/Meta.pm --- old/CPAN-Meta-2.132140/lib/CPAN/Meta.pm 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/lib/CPAN/Meta.pm 2013-09-23 19:27:58.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; package CPAN::Meta; -our $VERSION = '2.132140'; # VERSION +our $VERSION = '2.132661'; # VERSION use Carp qw(carp croak); @@ -348,7 +348,7 @@ =head1 VERSION -version 2.132140 +version 2.132661 =head1 SYNOPSIS @@ -691,7 +691,7 @@ =head2 Bugs / Feature Requests Please report any bugs or feature requests through the issue tracker -at L<https://github.com/Perl-Toolchain-Gang/cpan-meta/issues>. +at L<https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues>. You will be notified automatically of any progress on your issue. =head2 Source Code @@ -699,9 +699,9 @@ This is open source software. The code repository is available for public review and contribution under the terms of the license. -L<https://github.com/dagolden/cpan-meta> +L<https://github.com/Perl-Toolchain-Gang/CPAN-Meta> - git clone git://github.com/dagolden/cpan-meta.git + git clone https://github.com/Perl-Toolchain-Gang/CPAN-Meta.git =head1 AUTHORS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/t/00-compile.t new/CPAN-Meta-2.132661/t/00-compile.t --- old/CPAN-Meta-2.132140/t/00-compile.t 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/t/00-compile.t 2013-09-23 19:27:58.000000000 +0200 @@ -1,74 +1,55 @@ -#!perl - use strict; use warnings; -use Test::More; +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.033 +use Test::More tests => 7 + ($ENV{AUTHOR_TESTING} ? 1 : 0); -use File::Find; -use File::Temp qw{ tempdir }; -my @modules; -find( - sub { - return if $File::Find::name !~ /\.pm\z/; - my $found = $File::Find::name; - $found =~ s{^lib/}{}; - $found =~ s{[/\\]}{::}g; - $found =~ s/\.pm$//; - # nothing to skip - push @modules, $found; - }, - 'lib', +my @module_files = ( + 'CPAN/Meta.pm', + 'CPAN/Meta/Converter.pm', + 'CPAN/Meta/Feature.pm', + 'CPAN/Meta/History.pm', + 'CPAN/Meta/Prereqs.pm', + 'CPAN/Meta/Spec.pm', + 'CPAN/Meta/Validator.pm' ); -sub _find_scripts { - my $dir = shift @_; - my @found_scripts = (); - find( - sub { - return unless -f; - my $found = $File::Find::name; - # nothing to skip - open my $FH, '<', $_ or do { - note( "Unable to open $found in ( $! ), skipping" ); - return; - }; - my $shebang = <$FH>; - return unless $shebang =~ /^#!.*?\bperl\b\s*$/; - push @found_scripts, $found; - }, - $dir, - ); - return @found_scripts; -} +# fake home for cpan-testers +use File::Temp; +local $ENV{HOME} = File::Temp::tempdir( CLEANUP => 1 ); -my @scripts; -do { push @scripts, _find_scripts($_) if -d $_ } - for qw{ bin script scripts }; -my $plan = scalar(@modules) + scalar(@scripts); -$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run"); +use File::Spec; +use IPC::Open3; +use IO::Handle; +my @warnings; +for my $lib (@module_files) { - # fake home for cpan-testers - local $ENV{HOME} = tempdir( CLEANUP => 1 ); + # see L<perlfaq8/How can I capture STDERR from an external command?> + open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; + my $stderr = IO::Handle->new; + + my $pid = open3($stdin, '>&STDERR', $stderr, $^X, '-Mblib', '-e', "require q[$lib]"); + binmode $stderr, ':crlf' if $^O eq 'MSWin32'; + my @_warnings = <$stderr>; + waitpid($pid, 0); + is($? >> 8, 0, "$lib loaded ok"); + + if (@_warnings) + { + warn @_warnings; + push @warnings, @_warnings; + } +} - like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ loaded ok" ) - for sort @modules; - SKIP: { - eval "use Test::Script 1.05; 1;"; - skip "Test::Script needed to test script compilation", scalar(@scripts) if $@; - foreach my $file ( @scripts ) { - my $script = $file; - $script =~ s!.*/!!; - script_compiles( $file, "$script script compiles" ); - } - } -} +is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING}; + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/t/00-report-prereqs.t new/CPAN-Meta-2.132661/t/00-report-prereqs.t --- old/CPAN-Meta-2.132140/t/00-report-prereqs.t 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/t/00-report-prereqs.t 2013-09-23 19:27:58.000000000 +0200 @@ -16,11 +16,12 @@ Data::Dumper ExtUtils::MakeMaker File::Basename - File::Find File::Spec File::Spec::Functions File::Temp IO::Dir + IO::Handle + IPC::Open3 JSON::PP List::Util Parse::CPAN::Meta diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/t/no-index.t new/CPAN-Meta-2.132661/t/no-index.t --- old/CPAN-Meta-2.132140/t/no-index.t 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/t/no-index.t 2013-09-23 19:27:58.000000000 +0200 @@ -10,9 +10,9 @@ name => 'Module-Billed', abstract => 'inscrutable', version => '1', - author => 'Joe', + author => [ 'Joe' ], release_status => 'stable', - license => 'perl_5', + license => [ 'perl_5' ], 'meta-spec' => { version => '2', url => 'http://search.cpan.org/perldoc?CPAN::Meta::Spec', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-2.132140/xt/author/pod-spell.t new/CPAN-Meta-2.132661/xt/author/pod-spell.t --- old/CPAN-Meta-2.132140/xt/author/pod-spell.t 2013-08-02 17:54:30.000000000 +0200 +++ new/CPAN-Meta-2.132661/xt/author/pod-spell.t 2013-09-23 19:27:58.000000000 +0200 @@ -2,31 +2,19 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006000 -eval "use Test::Spelling 0.12; use Pod::Wordlist::hanekomu; 1" or die $@; +# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006001 +use Test::Spelling 0.12; +use Pod::Wordlist; add_stopwords(<DATA>); all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ -IMPLEMENTORS -URL's -arrayrefs -deserializes -dir distmeta -hashrefs -installable -json -lossy -parsers -pathname +dir +mailto subkey subkeys -subtype -subtypes -unix -unordered David Golden dagolden @@ -89,9 +77,9 @@ lib CPAN Meta -Prereqs +Feature +Validator +Converter History Spec -Converter -Validator -Feature +Prereqs -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
