Core deprecation warnings added, prior to de-coring with v5.20.0
git-svn-id: https://svn.perl.org/modules/CPANPLUS-Dist-Build/trunk@15566 50811bd7-b8ce-0310-adc1-d9db26280581
Chris Williams
11 years ago
0 | 0 |
Revision history for Perl extension CPANPLUS::Dist::Build.
|
|
1 |
|
|
2 |
0.70 Fri Jan 25 15:58:27 GMT 2013
|
|
3 |
- Add deprecation usage to warn if modules are loaded
|
|
4 |
from corelib. CPANPLUS::Dist::Build will be leaving
|
|
5 |
core with v5.20.0 and will still be available on
|
|
6 |
CPAN.
|
1 | 7 |
|
2 | 8 |
0.68 Wed Dec 5 00:17:04 GMT 2012
|
3 | 9 |
- Revert change to wrapper command-line
|
18 | 18 |
requires 'Module::Build' => '0.32';
|
19 | 19 |
requires 'File::Spec' => 0;
|
20 | 20 |
requires 'ExtUtils::Install' => '1.42';
|
|
21 |
requires 'if' => 0;
|
21 | 22 |
clean_files 't/dummy-cpanplus t/dummy-perl/lib/perl5';
|
22 | 23 |
# overwrite the CP::D::B that shipped in core
|
23 | |
if ( $] >= 5.009005 ) {
|
|
24 |
if ( $] >= 5.009005 && $] < 5.012 ) {
|
24 | 25 |
install_as_core;
|
25 | 26 |
}
|
26 | 27 |
else {
|
0 | 0 |
package CPANPLUS::Dist::Build::Constants;
|
|
1 |
|
|
2 |
use if $] > 5.017, 'deprecate';
|
1 | 3 |
|
2 | 4 |
use strict;
|
3 | 5 |
use warnings;
|
|
8 | 10 |
require Exporter;
|
9 | 11 |
use vars qw[$VERSION @ISA @EXPORT];
|
10 | 12 |
|
11 | |
$VERSION = '0.68';
|
|
13 |
$VERSION = '0.70';
|
12 | 14 |
@ISA = qw[Exporter];
|
13 | 15 |
@EXPORT = qw[ BUILD_DIR BUILD CPDB_PERL_WRAPPER];
|
14 | 16 |
}
|
0 | 0 |
package CPANPLUS::Dist::Build;
|
|
1 |
|
|
2 |
use if $] > 5.017, 'deprecate';
|
1 | 3 |
|
2 | 4 |
use strict;
|
3 | 5 |
use warnings;
|
|
29 | 31 |
|
30 | 32 |
local $Params::Check::VERBOSE = 1;
|
31 | 33 |
|
32 | |
$VERSION = '0.68';
|
|
34 |
$VERSION = '0.70';
|
33 | 35 |
|
34 | 36 |
=pod
|
35 | 37 |
|