[libmodule-corelist-perl] 01/01: Imported Upstream version 3.00
Salvatore Bonaccorso
carnil at debian.org
Sun Oct 20 20:44:03 UTC 2013
This is an automated email from the git hooks/post-receive script.
carnil pushed a commit to annotated tag upstream/3.00
in repository libmodule-corelist-perl.
commit 7dfbae56d0aad74d58d2a9f018916d1625c5b6de
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Sun Oct 20 22:43:11 2013 +0200
Imported Upstream version 3.00
---
Changes | 8 +-
META.json | 4 +-
META.yml | 4 +-
lib/Module/CoreList.pm | 377 +++++++++++++++++------------------
lib/Module/CoreList.pod | 16 +-
lib/Module/CoreList/TieHashDelta.pm | 2 +-
lib/Module/CoreList/Utils.pm | 9 +-
t/is_core.t | 17 +-
8 files changed, 237 insertions(+), 200 deletions(-)
diff --git a/Changes b/Changes
index b189339..95bcecc 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,10 @@
-2.99
+3.00
+ - Updated for v5.19.5
+ - exported %delta
+ - fixed bug in is_core(): it was naively assuming a linear sequence of releases,
+ rather than the tree with multiple branches.
+
+2.99 Fri Sep 20 2013
- Updated for v5.19.4
- fixed Module::Build core deprecation
- changes_between now has the same API as all other functions
diff --git a/META.json b/META.json
index f4caefb..317e107 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
"unknown"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.76, CPAN::Meta::Converter version 2.132510",
+ "generated_by" : "ExtUtils::MakeMaker version 6.8101, CPAN::Meta::Converter version 2.132830",
"license" : [
"perl_5"
],
@@ -47,5 +47,5 @@
"url" : "git://perl5.git.perl.org/perl.git"
}
},
- "version" : "2.99"
+ "version" : "3.00"
}
diff --git a/META.yml b/META.yml
index 2225183..7dead6c 100644
--- a/META.yml
+++ b/META.yml
@@ -7,7 +7,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: 0
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.76, CPAN::Meta::Converter version 2.132510'
+generated_by: 'ExtUtils::MakeMaker version 6.8101, CPAN::Meta::Converter version 2.132830'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,4 +24,4 @@ resources:
bugtracker: https://rt.perl.org/rt3/
homepage: http://dev.perl.org/
repository: git://perl5.git.perl.org/perl.git
-version: 2.99
+version: 3.00
diff --git a/lib/Module/CoreList.pm b/lib/Module/CoreList.pm
index 3372b8e..c5ad090 100644
--- a/lib/Module/CoreList.pm
+++ b/lib/Module/CoreList.pm
@@ -1,9 +1,9 @@
package Module::CoreList;
use strict;
use vars qw/$VERSION %released %version %families %upstream
- %bug_tracker %deprecated/;
+ %bug_tracker %deprecated %delta/;
use Module::CoreList::TieHashDelta;
-$VERSION = '2.99';
+$VERSION = '3.00';
my $dumpinc = 0;
sub import {
@@ -239,6 +239,7 @@ sub changes_between {
5.018001 => '2013-08-12',
5.019003 => '2013-08-20',
5.019004 => '2013-09-20',
+ 5.019005 => '2013-10-20',
);
for my $version ( sort { $a <=> $b } keys %released ) {
@@ -246,7 +247,7 @@ for my $version ( sort { $a <=> $b } keys %released ) {
push @{ $families{ $family }} , $version;
}
-my %delta = (
+%delta = (
5 => {
changed => {
'AnyDBM_File' => undef,
@@ -8810,6 +8811,148 @@ my %delta = (
removed => {
}
},
+ 5.019005 => {
+ delta_from => 5.019004,
+ changed => {
+ 'App::Prove' => '3.29',
+ 'App::Prove::State' => '3.29',
+ 'App::Prove::State::Result'=> '3.29',
+ 'App::Prove::State::Result::Test'=> '3.29',
+ 'CPAN::Meta' => '2.132830',
+ 'CPAN::Meta::Converter' => '2.132830',
+ 'CPAN::Meta::Feature' => '2.132830',
+ 'CPAN::Meta::History' => '2.132830',
+ 'CPAN::Meta::Prereqs' => '2.132830',
+ 'CPAN::Meta::Requirements'=> '2.125',
+ 'CPAN::Meta::Spec' => '2.132830',
+ 'CPAN::Meta::Validator' => '2.132830',
+ 'CPAN::Meta::YAML' => '0.010',
+ 'Config' => '5.019005',
+ 'Cwd' => '3.45',
+ 'ExtUtils::Command::MM' => '6.80',
+ 'ExtUtils::Install' => '1.61',
+ 'ExtUtils::Liblist' => '6.80',
+ 'ExtUtils::Liblist::Kid'=> '6.80',
+ 'ExtUtils::MM' => '6.80',
+ 'ExtUtils::MM_AIX' => '6.80',
+ 'ExtUtils::MM_Any' => '6.80',
+ 'ExtUtils::MM_BeOS' => '6.80',
+ 'ExtUtils::MM_Cygwin' => '6.80',
+ 'ExtUtils::MM_DOS' => '6.80',
+ 'ExtUtils::MM_Darwin' => '6.80',
+ 'ExtUtils::MM_MacOS' => '6.80',
+ 'ExtUtils::MM_NW5' => '6.80',
+ 'ExtUtils::MM_OS2' => '6.80',
+ 'ExtUtils::MM_QNX' => '6.80',
+ 'ExtUtils::MM_UWIN' => '6.80',
+ 'ExtUtils::MM_Unix' => '6.80',
+ 'ExtUtils::MM_VMS' => '6.80',
+ 'ExtUtils::MM_VOS' => '6.80',
+ 'ExtUtils::MM_Win32' => '6.80',
+ 'ExtUtils::MM_Win95' => '6.80',
+ 'ExtUtils::MY' => '6.80',
+ 'ExtUtils::MakeMaker' => '6.80',
+ 'ExtUtils::MakeMaker::Config'=> '6.80',
+ 'ExtUtils::Mkbootstrap' => '6.80',
+ 'ExtUtils::Mksymlists' => '6.80',
+ 'ExtUtils::testlib' => '6.80',
+ 'Fatal' => '2.22',
+ 'File::Fetch' => '0.44',
+ 'File::Glob' => '1.22',
+ 'File::Spec' => '3.45',
+ 'File::Spec::Cygwin' => '3.45',
+ 'File::Spec::Epoc' => '3.45',
+ 'File::Spec::Functions' => '3.45',
+ 'File::Spec::Mac' => '3.45',
+ 'File::Spec::OS2' => '3.45',
+ 'File::Spec::Unix' => '3.45',
+ 'File::Spec::VMS' => '3.45',
+ 'File::Spec::Win32' => '3.45',
+ 'File::Temp' => '0.2304',
+ 'Getopt::Long' => '2.42',
+ 'HTTP::Tiny' => '0.036',
+ 'IPC::Cmd' => '0.84_01',
+ 'JSON::PP' => '2.27203',
+ 'List::Util' => '1.35',
+ 'List::Util::XS' => '1.35',
+ 'Module::CoreList' => '3.00',
+ 'Module::CoreList::TieHashDelta'=> '3.00',
+ 'Module::CoreList::Utils'=> '3.00',
+ 'Module::Metadata' => '1.000019',
+ 'Parse::CPAN::Meta' => '1.4409',
+ 'Perl::OSType' => '1.006',
+ 'PerlIO::scalar' => '0.17',
+ 'Pod::Man' => '2.28',
+ 'Pod::Text' => '3.18',
+ 'Pod::Text::Termcap' => '2.08',
+ 'Scalar::Util' => '1.35',
+ 'TAP::Base' => '3.29',
+ 'TAP::Formatter::Base' => '3.29',
+ 'TAP::Formatter::Color' => '3.29',
+ 'TAP::Formatter::Console'=> '3.29',
+ 'TAP::Formatter::Console::ParallelSession'=> '3.29',
+ 'TAP::Formatter::Console::Session'=> '3.29',
+ 'TAP::Formatter::File' => '3.29',
+ 'TAP::Formatter::File::Session'=> '3.29',
+ 'TAP::Formatter::Session'=> '3.29',
+ 'TAP::Harness' => '3.29',
+ 'TAP::Harness::Env' => '3.29',
+ 'TAP::Object' => '3.29',
+ 'TAP::Parser' => '3.29',
+ 'TAP::Parser::Aggregator'=> '3.29',
+ 'TAP::Parser::Grammar' => '3.29',
+ 'TAP::Parser::Iterator' => '3.29',
+ 'TAP::Parser::Iterator::Array'=> '3.29',
+ 'TAP::Parser::Iterator::Process'=> '3.29',
+ 'TAP::Parser::Iterator::Stream'=> '3.29',
+ 'TAP::Parser::IteratorFactory'=> '3.29',
+ 'TAP::Parser::Multiplexer'=> '3.29',
+ 'TAP::Parser::Result' => '3.29',
+ 'TAP::Parser::Result::Bailout'=> '3.29',
+ 'TAP::Parser::Result::Comment'=> '3.29',
+ 'TAP::Parser::Result::Plan'=> '3.29',
+ 'TAP::Parser::Result::Pragma'=> '3.29',
+ 'TAP::Parser::Result::Test'=> '3.29',
+ 'TAP::Parser::Result::Unknown'=> '3.29',
+ 'TAP::Parser::Result::Version'=> '3.29',
+ 'TAP::Parser::Result::YAML'=> '3.29',
+ 'TAP::Parser::ResultFactory'=> '3.29',
+ 'TAP::Parser::Scheduler'=> '3.29',
+ 'TAP::Parser::Scheduler::Job'=> '3.29',
+ 'TAP::Parser::Scheduler::Spinner'=> '3.29',
+ 'TAP::Parser::Source' => '3.29',
+ 'TAP::Parser::SourceHandler'=> '3.29',
+ 'TAP::Parser::SourceHandler::Executable'=> '3.29',
+ 'TAP::Parser::SourceHandler::File'=> '3.29',
+ 'TAP::Parser::SourceHandler::Handle'=> '3.29',
+ 'TAP::Parser::SourceHandler::Perl'=> '3.29',
+ 'TAP::Parser::SourceHandler::RawTAP'=> '3.29',
+ 'TAP::Parser::YAMLish::Reader'=> '3.29',
+ 'TAP::Parser::YAMLish::Writer'=> '3.29',
+ 'Test::Builder' => '0.99',
+ 'Test::Builder::Module' => '0.99',
+ 'Test::Builder::Tester' => '1.23_002',
+ 'Test::Builder::Tester::Color'=> '1.23_002',
+ 'Test::Harness' => '3.29',
+ 'Test::More' => '0.99',
+ 'Test::Simple' => '0.99',
+ 'Unicode' => '6.3.0',
+ 'Unicode::Normalize' => '1.17',
+ 'Unicode::UCD' => '0.55',
+ 'attributes' => '0.22',
+ 'autodie' => '2.22',
+ 'autodie::exception' => '2.22',
+ 'autodie::exception::system'=> '2.22',
+ 'autodie::hints' => '2.22',
+ 'autodie::skip' => '2.22',
+ 'feature' => '1.34',
+ 'threads' => '1.89',
+ 'warnings' => '1.20',
+ },
+ removed => {
+ 'TAP::Parser::Utils' => 1,
+ }
+ },
);
sub is_core
@@ -8830,14 +8973,23 @@ sub is_core
return 0 if defined($final_release) && $perl_version > $final_release;
# If a minimum version of the module was specified:
- # Step through all perl release numbers ($prn)
- # in order, so we can find what version of the module
+ # Step through all perl releases ($prn)
+ # so we can find what version of the module
# was included in the specified version of perl.
# On the way if we pass the required module version, we can
# short-circuit and return true
if (defined($module_version)) {
+ # The Perl releases aren't a linear sequence, but a tree. We need to build the path
+ # of releases from 5 to the specified release, and follow the module's version(s)
+ # along that path.
+ my @releases = ($perl_version);
+ my $rel = $perl_version;
+ while (defined($rel)) {
+ $rel = $delta{$rel}->{delta_from};
+ unshift(@releases, $rel) if defined($rel);
+ }
RELEASE:
- foreach my $prn (sort keys %delta) {
+ foreach my $prn (@releases) {
next RELEASE if $prn <= $first_release;
last RELEASE if $prn > $perl_version;
next unless defined(my $next_module_version
@@ -9129,6 +9281,13 @@ for my $version (sort { $a <=> $b } keys %delta) {
removed => {
}
},
+ 5.019005 => {
+ delta_from => 5.019004,
+ changed => {
+ },
+ removed => {
+ }
+ },
);
for my $version (sort { $a <=> $b } keys %deprecated) {
@@ -9148,12 +9307,9 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Archive::Tar' => 'cpan',
'Archive::Tar::Constant'=> 'cpan',
'Archive::Tar::File' => 'cpan',
- 'Attribute::Handlers' => 'blead',
'AutoLoader' => 'cpan',
'AutoSplit' => 'cpan',
- 'B::Concise' => 'blead',
'B::Debug' => 'cpan',
- 'B::Deparse' => 'blead',
'CGI' => 'cpan',
'CGI::Apache' => 'cpan',
'CGI::Carp' => 'cpan',
@@ -9205,15 +9361,12 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'CPAN::Tarzip' => 'cpan',
'CPAN::URL' => 'cpan',
'CPAN::Version' => 'cpan',
- 'Carp' => 'blead',
- 'Carp::Heavy' => 'blead',
'Compress::Raw::Bzip2' => 'cpan',
'Compress::Raw::Zlib' => 'cpan',
'Compress::Zlib' => 'cpan',
'Config::Perl::V' => 'cpan',
- 'Cwd' => 'blead',
'DB_File' => 'cpan',
- 'Devel::PPPort' => undef,
+ 'Devel::PPPort' => 'cpan',
'Digest' => 'cpan',
'Digest::MD5' => 'cpan',
'Digest::SHA' => 'cpan',
@@ -9243,29 +9396,12 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Encode::TW' => 'cpan',
'Encode::Unicode' => 'cpan',
'Encode::Unicode::UTF7' => 'cpan',
- 'Exporter' => 'blead',
- 'Exporter::Heavy' => 'blead',
- 'ExtUtils::CBuilder' => 'blead',
- 'ExtUtils::CBuilder::Base'=> 'blead',
- 'ExtUtils::CBuilder::Platform::Unix'=> 'blead',
- 'ExtUtils::CBuilder::Platform::VMS'=> 'blead',
- 'ExtUtils::CBuilder::Platform::Windows'=> 'blead',
- 'ExtUtils::CBuilder::Platform::Windows::BCC'=> 'blead',
- 'ExtUtils::CBuilder::Platform::Windows::GCC'=> 'blead',
- 'ExtUtils::CBuilder::Platform::Windows::MSVC'=> 'blead',
- 'ExtUtils::CBuilder::Platform::aix'=> 'blead',
- 'ExtUtils::CBuilder::Platform::cygwin'=> 'blead',
- 'ExtUtils::CBuilder::Platform::darwin'=> 'blead',
- 'ExtUtils::CBuilder::Platform::dec_osf'=> 'blead',
- 'ExtUtils::CBuilder::Platform::os2'=> 'blead',
'ExtUtils::Command::MM' => 'cpan',
- 'ExtUtils::Constant' => undef,
- 'ExtUtils::Constant::Base'=> undef,
- 'ExtUtils::Constant::ProxySubs'=> undef,
- 'ExtUtils::Constant::Utils'=> undef,
- 'ExtUtils::Constant::XS'=> undef,
- 'ExtUtils::Install' => 'blead',
- 'ExtUtils::Installed' => 'blead',
+ 'ExtUtils::Constant' => 'cpan',
+ 'ExtUtils::Constant::Base'=> 'cpan',
+ 'ExtUtils::Constant::ProxySubs'=> 'cpan',
+ 'ExtUtils::Constant::Utils'=> 'cpan',
+ 'ExtUtils::Constant::XS'=> 'cpan',
'ExtUtils::Liblist' => 'cpan',
'ExtUtils::Liblist::Kid'=> 'cpan',
'ExtUtils::MM' => 'cpan',
@@ -9290,33 +9426,12 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'ExtUtils::MakeMaker::Config'=> 'cpan',
'ExtUtils::Mkbootstrap' => 'cpan',
'ExtUtils::Mksymlists' => 'cpan',
- 'ExtUtils::Packlist' => 'blead',
- 'ExtUtils::ParseXS' => 'blead',
- 'ExtUtils::ParseXS::Constants'=> 'blead',
- 'ExtUtils::ParseXS::CountLines'=> 'blead',
- 'ExtUtils::ParseXS::Eval'=> 'blead',
- 'ExtUtils::ParseXS::Utilities'=> 'blead',
- 'ExtUtils::Typemaps' => 'blead',
- 'ExtUtils::Typemaps::Cmd'=> 'blead',
- 'ExtUtils::Typemaps::InputMap'=> 'blead',
- 'ExtUtils::Typemaps::OutputMap'=> 'blead',
- 'ExtUtils::Typemaps::Type'=> 'blead',
'ExtUtils::testlib' => 'cpan',
'Fatal' => 'cpan',
'File::Fetch' => 'cpan',
'File::GlobMapper' => 'cpan',
- 'File::Path' => undef,
- 'File::Spec' => 'blead',
- 'File::Spec::Cygwin' => 'blead',
- 'File::Spec::Epoc' => 'blead',
- 'File::Spec::Functions' => 'blead',
- 'File::Spec::Mac' => 'blead',
- 'File::Spec::OS2' => 'blead',
- 'File::Spec::Unix' => 'blead',
- 'File::Spec::VMS' => 'blead',
- 'File::Spec::Win32' => 'blead',
+ 'File::Path' => 'cpan',
'File::Temp' => 'cpan',
- 'Filter::Simple' => 'blead',
'Filter::Util::Call' => 'cpan',
'Getopt::Long' => 'cpan',
'HTTP::Tiny' => 'cpan',
@@ -9345,7 +9460,7 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'IO::Uncompress::Inflate'=> 'cpan',
'IO::Uncompress::RawInflate'=> 'cpan',
'IO::Uncompress::Unzip' => 'cpan',
- 'IO::Zlib' => undef,
+ 'IO::Zlib' => 'cpan',
'IPC::Cmd' => 'cpan',
'IPC::Msg' => 'cpan',
'IPC::Semaphore' => 'cpan',
@@ -9381,21 +9496,10 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Locale::Country' => 'cpan',
'Locale::Currency' => 'cpan',
'Locale::Language' => 'cpan',
- 'Locale::Maketext' => 'blead',
- 'Locale::Maketext::Guts'=> 'blead',
- 'Locale::Maketext::GutsLoader'=> 'blead',
'Locale::Maketext::Simple'=> 'cpan',
'Locale::Script' => 'cpan',
'MIME::Base64' => 'cpan',
'MIME::QuotedPrint' => 'cpan',
- 'Math::BigFloat' => 'blead',
- 'Math::BigFloat::Trace' => 'blead',
- 'Math::BigInt' => 'blead',
- 'Math::BigInt::Calc' => 'blead',
- 'Math::BigInt::CalcEmu' => 'blead',
- 'Math::BigInt::FastCalc'=> 'blead',
- 'Math::BigInt::Trace' => 'blead',
- 'Math::BigRat' => 'blead',
'Math::Complex' => 'cpan',
'Math::Trig' => 'cpan',
'Memoize' => 'cpan',
@@ -9429,9 +9533,6 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Module::Build::PodParser'=> 'cpan',
'Module::Build::Version'=> 'cpan',
'Module::Build::YAML' => 'cpan',
- 'Module::CoreList' => 'blead',
- 'Module::CoreList::TieHashDelta'=> 'blead',
- 'Module::CoreList::Utils'=> 'blead',
'Module::Load' => 'cpan',
'Module::Load::Conditional'=> 'cpan',
'Module::Loaded' => 'cpan',
@@ -9449,16 +9550,15 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Net::NNTP' => 'cpan',
'Net::Netrc' => 'cpan',
'Net::POP3' => 'cpan',
- 'Net::Ping' => 'blead',
'Net::SMTP' => 'cpan',
'Net::Time' => 'cpan',
'Package::Constants' => 'cpan',
'Params::Check' => 'cpan',
'Parse::CPAN::Meta' => 'cpan',
'Perl::OSType' => 'cpan',
- 'PerlIO::via::QuotedPrint'=> undef,
+ 'PerlIO::via::QuotedPrint'=> 'cpan',
'Pod::Checker' => 'cpan',
- 'Pod::Escapes' => undef,
+ 'Pod::Escapes' => 'cpan',
'Pod::Find' => 'cpan',
'Pod::InputObjects' => 'cpan',
'Pod::Man' => 'cpan',
@@ -9513,11 +9613,8 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Pod::Text::Overstrike' => 'cpan',
'Pod::Text::Termcap' => 'cpan',
'Pod::Usage' => 'cpan',
- 'Safe' => 'blead',
'Scalar::Util' => 'cpan',
- 'SelfLoader' => 'blead',
'Socket' => 'cpan',
- 'Storable' => 'blead',
'Sys::Syslog' => 'cpan',
'Sys::Syslog::Win32' => 'cpan',
'TAP::Base' => 'cpan',
@@ -9530,6 +9627,7 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'TAP::Formatter::File::Session'=> 'cpan',
'TAP::Formatter::Session'=> 'cpan',
'TAP::Harness' => 'cpan',
+ 'TAP::Harness::Env' => 'cpan',
'TAP::Object' => 'cpan',
'TAP::Parser' => 'cpan',
'TAP::Parser::Aggregator'=> 'cpan',
@@ -9560,11 +9658,10 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'TAP::Parser::SourceHandler::Handle'=> 'cpan',
'TAP::Parser::SourceHandler::Perl'=> 'cpan',
'TAP::Parser::SourceHandler::RawTAP'=> 'cpan',
- 'TAP::Parser::Utils' => 'cpan',
'TAP::Parser::YAMLish::Reader'=> 'cpan',
'TAP::Parser::YAMLish::Writer'=> 'cpan',
'Term::ANSIColor' => 'cpan',
- 'Term::Cap' => undef,
+ 'Term::Cap' => 'cpan',
'Test' => 'cpan',
'Test::Builder' => 'cpan',
'Test::Builder::Module' => 'cpan',
@@ -9574,17 +9671,14 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Test::More' => 'cpan',
'Test::Simple' => 'cpan',
'Text::Balanced' => 'cpan',
- 'Text::ParseWords' => undef,
+ 'Text::ParseWords' => 'cpan',
'Text::Tabs' => 'cpan',
'Text::Wrap' => 'cpan',
- 'Thread::Queue' => 'blead',
- 'Thread::Semaphore' => 'blead',
- 'Tie::File' => 'blead',
'Tie::RefHash' => 'cpan',
'Time::HiRes' => 'cpan',
'Time::Local' => 'cpan',
- 'Time::Piece' => undef,
- 'Time::Seconds' => undef,
+ 'Time::Piece' => 'cpan',
+ 'Time::Seconds' => 'cpan',
'Unicode::Collate' => 'cpan',
'Unicode::Collate::CJK::Big5'=> 'cpan',
'Unicode::Collate::CJK::GB2312'=> 'cpan',
@@ -9595,37 +9689,19 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Unicode::Collate::CJK::Zhuyin'=> 'cpan',
'Unicode::Collate::Locale'=> 'cpan',
'Unicode::Normalize' => 'cpan',
- 'Unicode::UCD' => 'blead',
- 'VMS::DCLsym' => undef,
- 'VMS::Stdio' => undef,
'Win32' => 'cpan',
'Win32API::File' => 'cpan',
'Win32API::File::ExtUtils::Myconst2perl'=> 'cpan',
- 'Win32CORE' => undef,
- 'XSLoader' => undef,
'autodie' => 'cpan',
'autodie::exception' => 'cpan',
'autodie::exception::system'=> 'cpan',
'autodie::hints' => 'cpan',
'autodie::skip' => 'cpan',
- 'base' => 'blead',
- 'bigint' => 'blead',
- 'bignum' => 'blead',
- 'bigrat' => 'blead',
- 'constant' => 'blead',
'encoding' => 'cpan',
- 'encoding::warnings' => undef,
- 'fields' => 'blead',
- 'if' => 'blead',
+ 'encoding::warnings' => 'cpan',
'inc::latest' => 'cpan',
- 'lib' => 'blead',
- 'parent' => undef,
+ 'parent' => 'cpan',
'perlfaq' => 'cpan',
- 'threads' => 'blead',
- 'threads::shared' => 'blead',
- 'version' => undef,
- 'warnings' => 'blead',
- 'warnings::register' => 'blead',
);
%bug_tracker = (
@@ -9637,10 +9713,7 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Archive::Tar' => undef,
'Archive::Tar::Constant'=> undef,
'Archive::Tar::File' => undef,
- 'Attribute::Handlers' => undef,
- 'B::Concise' => undef,
'B::Debug' => undef,
- 'B::Deparse' => undef,
'CGI' => undef,
'CGI::Apache' => undef,
'CGI::Carp' => undef,
@@ -9679,10 +9752,10 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'CPAN::Meta::Feature' => 'https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues',
'CPAN::Meta::History' => 'https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues',
'CPAN::Meta::Prereqs' => 'https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues',
- 'CPAN::Meta::Requirements'=> 'https://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Meta-Requirements',
+ 'CPAN::Meta::Requirements'=> 'https://github.com/dagolden/CPAN-Meta-Requirements/issues',
'CPAN::Meta::Spec' => 'https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues',
'CPAN::Meta::Validator' => 'https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues',
- 'CPAN::Meta::YAML' => 'http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Meta-YAML',
+ 'CPAN::Meta::YAML' => 'https://github.com/dagolden/CPAN-Meta-YAML/issues',
'CPAN::Mirrors' => undef,
'CPAN::Module' => undef,
'CPAN::Nox' => undef,
@@ -9692,13 +9765,10 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'CPAN::Tarzip' => undef,
'CPAN::URL' => undef,
'CPAN::Version' => undef,
- 'Carp' => undef,
- 'Carp::Heavy' => undef,
'Compress::Raw::Bzip2' => undef,
'Compress::Raw::Zlib' => undef,
'Compress::Zlib' => undef,
'Config::Perl::V' => undef,
- 'Cwd' => undef,
'DB_File' => undef,
'Devel::PPPort' => undef,
'Digest' => undef,
@@ -9730,29 +9800,12 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Encode::TW' => undef,
'Encode::Unicode' => undef,
'Encode::Unicode::UTF7' => undef,
- 'Exporter' => undef,
- 'Exporter::Heavy' => undef,
- 'ExtUtils::CBuilder' => undef,
- 'ExtUtils::CBuilder::Base'=> undef,
- 'ExtUtils::CBuilder::Platform::Unix'=> undef,
- 'ExtUtils::CBuilder::Platform::VMS'=> undef,
- 'ExtUtils::CBuilder::Platform::Windows'=> undef,
- 'ExtUtils::CBuilder::Platform::Windows::BCC'=> undef,
- 'ExtUtils::CBuilder::Platform::Windows::GCC'=> undef,
- 'ExtUtils::CBuilder::Platform::Windows::MSVC'=> undef,
- 'ExtUtils::CBuilder::Platform::aix'=> undef,
- 'ExtUtils::CBuilder::Platform::cygwin'=> undef,
- 'ExtUtils::CBuilder::Platform::darwin'=> undef,
- 'ExtUtils::CBuilder::Platform::dec_osf'=> undef,
- 'ExtUtils::CBuilder::Platform::os2'=> undef,
'ExtUtils::Command::MM' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MakeMaker',
'ExtUtils::Constant' => undef,
'ExtUtils::Constant::Base'=> undef,
'ExtUtils::Constant::ProxySubs'=> undef,
'ExtUtils::Constant::Utils'=> undef,
'ExtUtils::Constant::XS'=> undef,
- 'ExtUtils::Install' => undef,
- 'ExtUtils::Installed' => undef,
'ExtUtils::Liblist' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MakeMaker',
'ExtUtils::Liblist::Kid'=> 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MakeMaker',
'ExtUtils::MM' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MakeMaker',
@@ -9777,33 +9830,12 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'ExtUtils::MakeMaker::Config'=> 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MakeMaker',
'ExtUtils::Mkbootstrap' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MakeMaker',
'ExtUtils::Mksymlists' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MakeMaker',
- 'ExtUtils::Packlist' => undef,
- 'ExtUtils::ParseXS' => undef,
- 'ExtUtils::ParseXS::Constants'=> undef,
- 'ExtUtils::ParseXS::CountLines'=> undef,
- 'ExtUtils::ParseXS::Eval'=> undef,
- 'ExtUtils::ParseXS::Utilities'=> undef,
- 'ExtUtils::Typemaps' => undef,
- 'ExtUtils::Typemaps::Cmd'=> undef,
- 'ExtUtils::Typemaps::InputMap'=> undef,
- 'ExtUtils::Typemaps::OutputMap'=> undef,
- 'ExtUtils::Typemaps::Type'=> undef,
'ExtUtils::testlib' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MakeMaker',
'Fatal' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=autodie',
'File::Fetch' => undef,
'File::GlobMapper' => undef,
'File::Path' => undef,
- 'File::Spec' => undef,
- 'File::Spec::Cygwin' => undef,
- 'File::Spec::Epoc' => undef,
- 'File::Spec::Functions' => undef,
- 'File::Spec::Mac' => undef,
- 'File::Spec::OS2' => undef,
- 'File::Spec::Unix' => undef,
- 'File::Spec::VMS' => undef,
- 'File::Spec::Win32' => undef,
- 'File::Temp' => 'https://rt.cpan.org/Public/Dist/Display.html?Name=File-Temp',
- 'Filter::Simple' => undef,
+ 'File::Temp' => undef,
'Filter::Util::Call' => undef,
'Getopt::Long' => undef,
'HTTP::Tiny' => 'https://github.com/chansen/p5-http-tiny/issues',
@@ -9868,21 +9900,10 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Locale::Country' => undef,
'Locale::Currency' => undef,
'Locale::Language' => undef,
- 'Locale::Maketext' => undef,
- 'Locale::Maketext::Guts'=> undef,
- 'Locale::Maketext::GutsLoader'=> undef,
'Locale::Maketext::Simple'=> undef,
'Locale::Script' => undef,
'MIME::Base64' => undef,
'MIME::QuotedPrint' => undef,
- 'Math::BigFloat' => undef,
- 'Math::BigFloat::Trace' => undef,
- 'Math::BigInt' => undef,
- 'Math::BigInt::Calc' => undef,
- 'Math::BigInt::CalcEmu' => undef,
- 'Math::BigInt::FastCalc'=> undef,
- 'Math::BigInt::Trace' => undef,
- 'Math::BigRat' => undef,
'Math::Complex' => undef,
'Math::Trig' => undef,
'Memoize' => undef,
@@ -9916,9 +9937,6 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Module::Build::PodParser'=> undef,
'Module::Build::Version'=> undef,
'Module::Build::YAML' => undef,
- 'Module::CoreList' => undef,
- 'Module::CoreList::TieHashDelta'=> undef,
- 'Module::CoreList::Utils'=> undef,
'Module::Load' => undef,
'Module::Load::Conditional'=> undef,
'Module::Loaded' => undef,
@@ -9936,7 +9954,6 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Net::NNTP' => undef,
'Net::Netrc' => undef,
'Net::POP3' => undef,
- 'Net::Ping' => undef,
'Net::SMTP' => undef,
'Net::Time' => undef,
'Package::Constants' => undef,
@@ -10000,11 +10017,8 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Pod::Text::Overstrike' => undef,
'Pod::Text::Termcap' => undef,
'Pod::Usage' => undef,
- 'Safe' => undef,
'Scalar::Util' => undef,
- 'SelfLoader' => undef,
'Socket' => undef,
- 'Storable' => undef,
'Sys::Syslog' => undef,
'Sys::Syslog::Win32' => undef,
'TAP::Base' => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
@@ -10017,6 +10031,7 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'TAP::Formatter::File::Session'=> 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
'TAP::Formatter::Session'=> 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
'TAP::Harness' => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
+ 'TAP::Harness::Env' => undef,
'TAP::Object' => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
'TAP::Parser' => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
'TAP::Parser::Aggregator'=> 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
@@ -10047,7 +10062,6 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'TAP::Parser::SourceHandler::Handle'=> 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
'TAP::Parser::SourceHandler::Perl'=> 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
'TAP::Parser::SourceHandler::RawTAP'=> 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
- 'TAP::Parser::Utils' => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
'TAP::Parser::YAMLish::Reader'=> 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
'TAP::Parser::YAMLish::Writer'=> 'http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness',
'Term::ANSIColor' => undef,
@@ -10064,9 +10078,6 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Text::ParseWords' => undef,
'Text::Tabs' => undef,
'Text::Wrap' => undef,
- 'Thread::Queue' => undef,
- 'Thread::Semaphore' => undef,
- 'Tie::File' => undef,
'Tie::RefHash' => undef,
'Time::HiRes' => undef,
'Time::Local' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Time-Local',
@@ -10082,35 +10093,19 @@ for my $version (sort { $a <=> $b } keys %deprecated) {
'Unicode::Collate::CJK::Zhuyin'=> undef,
'Unicode::Collate::Locale'=> undef,
'Unicode::Normalize' => undef,
- 'Unicode::UCD' => undef,
- 'VMS::Stdio' => undef,
'Win32' => undef,
'Win32API::File' => undef,
'Win32API::File::ExtUtils::Myconst2perl'=> undef,
- 'XSLoader' => 'https://rt.perl.org/rt3/Search/Results.html?Query=Queue=\'perl5\' AND Content LIKE \'module=XSLoader\' AND (Status=\'open\' OR Status=\'new\' OR Status=\'stalled\')',
'autodie' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=autodie',
'autodie::exception' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=autodie',
'autodie::exception::system'=> 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=autodie',
'autodie::hints' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=autodie',
'autodie::skip' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=autodie',
- 'base' => undef,
- 'bigint' => undef,
- 'bignum' => undef,
- 'bigrat' => undef,
- 'constant' => undef,
'encoding' => undef,
'encoding::warnings' => undef,
- 'fields' => undef,
- 'if' => undef,
'inc::latest' => undef,
- 'lib' => undef,
'parent' => undef,
'perlfaq' => 'https://github.com/perl-doc-cats/perlfaq/issues',
- 'threads' => undef,
- 'threads::shared' => undef,
- 'version' => undef,
- 'warnings' => undef,
- 'warnings::register' => undef,
);
# Create aliases with trailing zeros for $] use
diff --git a/lib/Module/CoreList.pod b/lib/Module/CoreList.pod
index 55f46d9..e449beb 100644
--- a/lib/Module/CoreList.pod
+++ b/lib/Module/CoreList.pod
@@ -159,6 +159,20 @@ that's what you're testing for.
Starting with 2.10, the special module name C<Unicode> refers to the version of
the Unicode Character Database bundled with Perl.
+=item C<%Module::CoreList::delta>
+
+Available in version 3.00 and above.
+
+C<%Module::CoreList::version> is implemented via C<Module::CoreList::TieHashDelta>
+using this hash of delta changes.
+
+It is a hash of hashes that is keyed on perl version. Each keyed hash will have the
+following keys:
+
+ delta_from - a previous perl version that the changes are based on
+ changed - a hash of module/versions that have changed
+ removed - a hash of modules that have been removed
+
=item C<%Module::CoreList::released>
Keyed on perl version this contains ISO
@@ -214,7 +228,7 @@ Module::CoreList currently covers the 5.000, 5.001, 5.002, 5.003_07,
5.15.0, 5.15.1, 5.15.2, 5.15.3, 5.15.4, 5.15.5, 5.15.6, 5.15.7, 5.15.8,
5.15.9, 5.16.0, 5.16.1, 5.16.2, 5.16.3, 5.17.0, 5.17.1, 5.17.2, 5.17.3,
5.17.4, 5.17.5, 5.17.6, 5.17.7, 5.17.8, 5.17.9, 5.17.10, 5.17.11, 5.18.0,
-5.19.0, 5.19.1, 5.19.2, 5.19.3 and 5.19.4 releases of perl.
+5.19.0, 5.19.1, 5.19.2, 5.19.3, 5.19.4 and 5.19.5 releases of perl.
=head1 HISTORY
diff --git a/lib/Module/CoreList/TieHashDelta.pm b/lib/Module/CoreList/TieHashDelta.pm
index 9d5abb1..f176ed7 100644
--- a/lib/Module/CoreList/TieHashDelta.pm
+++ b/lib/Module/CoreList/TieHashDelta.pm
@@ -3,7 +3,7 @@ package Module::CoreList::TieHashDelta;
use strict;
use vars qw($VERSION);
-$VERSION = "2.99";
+$VERSION = "3.00";
sub TIEHASH {
my ($class, $changed, $removed, $parent) = @_;
diff --git a/lib/Module/CoreList/Utils.pm b/lib/Module/CoreList/Utils.pm
index 7e9fafe..ee5b1c0 100644
--- a/lib/Module/CoreList/Utils.pm
+++ b/lib/Module/CoreList/Utils.pm
@@ -6,7 +6,7 @@ use vars qw[$VERSION %utilities];
use Module::CoreList;
use Module::CoreList::TieHashDelta;
-$VERSION = '2.99';
+$VERSION = '3.00';
sub utilities {
my $perl = shift;
@@ -854,6 +854,13 @@ my %delta = (
removed => {
}
},
+ 5.019005 => {
+ delta_from => 5.019004,
+ changed => {
+ },
+ removed => {
+ }
+ },
);
for my $version (sort { $a <=> $b } keys %delta) {
diff --git a/t/is_core.t b/t/is_core.t
index a145315..712221f 100644
--- a/t/is_core.t
+++ b/t/is_core.t
@@ -1,7 +1,7 @@
#!perl -w
use strict;
use Module::CoreList;
-use Test::More tests => 23;
+use Test::More tests => 33;
BEGIN { require_ok('Module::CoreList'); }
@@ -50,3 +50,18 @@ ok(Module::CoreList->is_core('encoding', '2.01', '5.008007'), "encoding 2.01 was
ok(!Module::CoreList::is_core('Module::CoreList', undef, '5.007003'), "Module::CoreList wasn't core in perl 5.7.3");
ok(!Module::CoreList->is_core('Module::CoreList', undef, '5.007003'), "Module::CoreList wasn't core in perl 5.7.3 (class method)");
+# Test for situations where different branches on the perl
+# release tree had different versions of a module, and a naive
+# checking of perl release number will trip you up
+ok(Module::CoreList->is_core('Text::Soundex', '1.01', '5.008007'), "Text::Soundex 1.01 was first included in 5.007003");
+ok(Module::CoreList->is_core('Text::Soundex', '3.03', '5.008009'), "Text::Soundex 3.03 was included in 5.008009");
+ok(!Module::CoreList->is_core('Text::Soundex', '3.03', '5.009003'), "5.009003 still had Text::Soundex 1.01");
+ok(Module::CoreList->is_core('Text::Soundex', '1.01', '5.009003'), "5.009003 still had Text::Soundex 1.01");
+ok(!Module::CoreList->is_core('Text::Soundex', '3.03', '5.009005'), "5.009005 still had Text::Soundex 3.02");
+ok(Module::CoreList->is_core('Text::Soundex', '3.02', '5.009005'), "5.009005 had Text::Soundex 3.02");
+ok(Module::CoreList->is_core('Text::Soundex', '3.03', '5.01'), "5.01 had Text::Soundex 3.03");
+
+# 5.002 was the first perl release where core modules had a version number
+ok(Module::CoreList->is_core('DB_File', '1.01', '5.002'), "DB_File 1.01 was included in 5.002");
+ok(!Module::CoreList->is_core('DB_File', '1.03', '5.002'), "DB_File 1.03 wasn't included in 5.002");
+ok(Module::CoreList->is_core('DB_File', '1.03', '5.00307'), "DB_File 1.03 was included in 5.00307");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-corelist-perl.git
More information about the Pkg-perl-cvs-commits
mailing list