summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2011-12-31 01:11:58 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2011-12-31 09:27:08 +0000
commitef337e16d60335fe32d9bde77eba5ef3ac36f983 (patch)
tree6d9db363c51b01ebf57a53c90d7a0a1aa7c8d494
parent36a6a1351fbc85eb66a929bc12086f30e1713d73 (diff)
downloadperl-ef337e16d60335fe32d9bde77eba5ef3ac36f983.tar.gz
Update Version-Requirements to CPAN version 0.101021
[DELTA] 0.101021 2011-12-30 15:39:56 America/New_York DEPRECATED DEPRECATED DEPRECATED DEPRECATED Version::Requirements is now DEPRECATED Use CPAN::Meta::Requirements, which is a drop-in replacement.
-rwxr-xr-xPorting/Maintainers.pl2
-rw-r--r--cpan/Version-Requirements/Changes7
-rw-r--r--cpan/Version-Requirements/lib/Version/Requirements.pm18
-rw-r--r--pod/perldelta.pod19
4 files changed, 35 insertions, 11 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index 8c85e31c19..66b1bb2b57 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -1956,7 +1956,7 @@ use File::Glob qw(:case);
'Version::Requirements' => {
'MAINTAINER' => 'rjbs',
- 'DISTRIBUTION' => 'RJBS/Version-Requirements-0.101020.tar.gz',
+ 'DISTRIBUTION' => 'RJBS/Version-Requirements-0.101021.tar.gz',
'FILES' => q[cpan/Version-Requirements],
'EXCLUDED' => ['t/release-pod-syntax.t'],
'UPSTREAM' => 'cpan',
diff --git a/cpan/Version-Requirements/Changes b/cpan/Version-Requirements/Changes
index d3217bb049..45af307415 100644
--- a/cpan/Version-Requirements/Changes
+++ b/cpan/Version-Requirements/Changes
@@ -1,5 +1,12 @@
Revision history for Version-Requirements
+0.101021 2011-12-30 15:39:56 America/New_York
+ DEPRECATED DEPRECATED DEPRECATED DEPRECATED
+
+ Version::Requirements is now DEPRECATED
+
+ Use CPAN::Meta::Requirements, which is a drop-in replacement.
+
0.101020 2010-04-12 09:08:26 America/New_York
add finalization with ->finalize and ->is_finalized
diff --git a/cpan/Version-Requirements/lib/Version/Requirements.pm b/cpan/Version-Requirements/lib/Version/Requirements.pm
index f667189282..be08029b1c 100644
--- a/cpan/Version-Requirements/lib/Version/Requirements.pm
+++ b/cpan/Version-Requirements/lib/Version/Requirements.pm
@@ -1,8 +1,8 @@
use strict;
use warnings;
package Version::Requirements;
-BEGIN {
- $Version::Requirements::VERSION = '0.101020';
+{
+ $Version::Requirements::VERSION = '0.101021';
}
# ABSTRACT: a set of version requirements for a CPAN dist
@@ -11,6 +11,10 @@ use Carp ();
use Scalar::Util ();
use version 0.77 (); # the ->parse method
+Carp::cluck(
+ "Version::Requirements is deprecated; replace with CPAN::Meta::Requirements"
+);
+
sub new {
my ($class) = @_;
@@ -184,9 +188,6 @@ sub from_string_hash {
{
package
Version::Requirements::_Range::Exact;
-BEGIN {
- $Version::Requirements::_Range::Exact::VERSION = '0.101020';
-}
sub _new { bless { version => $_[1] } => $_[0] }
sub _accepts { return $_[0]{version} == $_[1] }
@@ -231,9 +232,6 @@ BEGIN {
{
package
Version::Requirements::_Range::Range;
-BEGIN {
- $Version::Requirements::_Range::Range::VERSION = '0.101020';
-}
sub _self { ref($_[0]) ? $_[0] : (bless { } => $_[0]) }
@@ -392,7 +390,7 @@ Version::Requirements - a set of version requirements for a CPAN dist
=head1 VERSION
-version 0.101020
+version 0.101021
=head1 SYNOPSIS
@@ -583,7 +581,7 @@ Version::Requirements object.
=head1 AUTHOR
- Ricardo Signes <rjbs@cpan.org>
+Ricardo Signes <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 40ffca3ef3..21cf44ab94 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -63,6 +63,18 @@ listed as an updated module in the L</Modules and Pragmata> section.
[ List each deprecation as a =head2 entry ]
+=head2 Deprecated Modules
+
+=over
+
+=item L<Version::Requirements>
+
+Version::Requirements is now DEPRECATED, use CPAN::Meta::Requirements,
+which is a drop-in replacement. It will be deleted from perl.git blead
+in v5.17.0.
+
+=back
+
=head1 Performance Enhancements
XXX Changes which enhance performance without changing behaviour go here. There
@@ -173,6 +185,13 @@ won't be a format change when upgrading to 6.1. Briefly, a second
component of each alias is added that gives the type of alias it is.
Examples are at L<Unicode::UCD/prop_invmap()>.
+=item *
+
+L<Version::Requirements> has been upgraded from version 0.101020 to version 0.101021.
+
+Version::Requirements is now DEPRECATED, use CPAN::Meta::Requirements,
+which is a drop-in replacement.
+
=back
=head2 Removed Modules and Pragmata