develooper Front page | perl.module.build.checkins | Postings from January 2013

[svn:CPANPLUS-Dist-Build] r15566 - in CPANPLUS-Dist-Build/trunk: . lib/CPANPLUS/Dist lib/CPANPLUS/Dist/Build

From:
BINGOS
Date:
January 25, 2013 16:03
Subject:
[svn:CPANPLUS-Dist-Build] r15566 - in CPANPLUS-Dist-Build/trunk: . lib/CPANPLUS/Dist lib/CPANPLUS/Dist/Build
Message ID:
20130125160321.90589184BAD@xx12.develooper.com
Author: BINGOS
Date: Fri Jan 25 08:03:17 2013
New Revision: 15566

Modified:
   CPANPLUS-Dist-Build/trunk/Changes
   CPANPLUS-Dist-Build/trunk/Makefile.PL
   CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm
   CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build/Constants.pm

Log:
Core deprecation warnings added, prior to de-coring with v5.20.0

Modified: CPANPLUS-Dist-Build/trunk/Changes
==============================================================================
--- CPANPLUS-Dist-Build/trunk/Changes	(original)
+++ CPANPLUS-Dist-Build/trunk/Changes	Fri Jan 25 08:03:17 2013
@@ -1,5 +1,11 @@
 Revision history for Perl extension CPANPLUS::Dist::Build.
 
+0.70 Fri Jan 25 15:58:27 GMT 2013
+  - Add deprecation usage to warn if modules are loaded
+    from corelib. CPANPLUS::Dist::Build will be leaving
+    core with v5.20.0 and will still be available on
+    CPAN.
+
 0.68 Wed Dec  5 00:17:04 GMT 2012
   - Revert change to wrapper command-line
 

Modified: CPANPLUS-Dist-Build/trunk/Makefile.PL
==============================================================================
--- CPANPLUS-Dist-Build/trunk/Makefile.PL	(original)
+++ CPANPLUS-Dist-Build/trunk/Makefile.PL	Fri Jan 25 08:03:17 2013
@@ -19,9 +19,10 @@
 requires 'Module::Build'             => '0.32';
 requires 'File::Spec'                => 0;
 requires 'ExtUtils::Install'         => '1.42';
+requires 'if'                        => 0;
 clean_files 't/dummy-cpanplus t/dummy-perl/lib/perl5';
 # overwrite the CP::D::B that shipped in core
-if ( $] >= 5.009005 ) {
+if ( $] >= 5.009005 && $] < 5.012 ) {
   install_as_core;
 }
 else {

Modified: CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm
==============================================================================
--- CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm	(original)
+++ CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm	Fri Jan 25 08:03:17 2013
@@ -1,5 +1,7 @@
 package CPANPLUS::Dist::Build;
 
+use if $] > 5.017, 'deprecate';
+
 use strict;
 use warnings;
 use vars    qw[@ISA $STATUS $VERSION];
@@ -30,7 +32,7 @@
 
 local $Params::Check::VERBOSE = 1;
 
-$VERSION = '0.68';
+$VERSION = '0.70';
 
 =pod
 

Modified: CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build/Constants.pm
==============================================================================
--- CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build/Constants.pm	(original)
+++ CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build/Constants.pm	Fri Jan 25 08:03:17 2013
@@ -1,5 +1,7 @@
 package CPANPLUS::Dist::Build::Constants;
 
+use if $] > 5.017, 'deprecate';
+
 use strict;
 use warnings;
 use File::Spec;
@@ -9,7 +11,7 @@
     require Exporter;
     use vars    qw[$VERSION @ISA @EXPORT];
 
-    $VERSION    = '0.68';
+    $VERSION    = '0.70';
     @ISA        = qw[Exporter];
     @EXPORT     = qw[ BUILD_DIR BUILD CPDB_PERL_WRAPPER];
 }



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About