[dh-make-perl] 01/02: Bump oldstable perl version from 5.10.1 to 5.14.2.

gregor herrmann gregoa at debian.org
Sat Mar 19 14:08:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository dh-make-perl.

commit 0780bedd81c5c3cae8f666f6ed86a2c0115fc50a
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Mar 19 14:48:21 2016 +0100

    Bump oldstable perl version from 5.10.1 to 5.14.2.
---
 lib/Debian/AptContents.pm      |  2 +-
 lib/Debian/Control/FromCPAN.pm |  2 +-
 t/perl-deps.t                  | 26 +++++++++++++-------------
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/lib/Debian/AptContents.pm b/lib/Debian/AptContents.pm
index 1267487..0ce7b51 100644
--- a/lib/Debian/AptContents.pm
+++ b/lib/Debian/AptContents.pm
@@ -44,7 +44,7 @@ use AptPkg::Config;
 
 $AptPkg::Config::_config->init();
 
-our $oldstable_perl = '5.10.1';
+our $oldstable_perl = '5.14.2';
 
 =head1 CONSTRUCTOR
 
diff --git a/lib/Debian/Control/FromCPAN.pm b/lib/Debian/Control/FromCPAN.pm
index 7ce3a46..5b4024e 100644
--- a/lib/Debian/Control/FromCPAN.pm
+++ b/lib/Debian/Control/FromCPAN.pm
@@ -27,7 +27,7 @@ use DhMakePerl::Utils qw( is_core_module find_cpan_module nice_perl_ver split_ve
 use File::Spec qw( catfile );
 use Module::Depends ();
 
-use constant oldstable_perl_version => '5.10.1';
+use constant oldstable_perl_version => '5.14.2';
 
 =head1 METHODS
 
diff --git a/t/perl-deps.t b/t/perl-deps.t
index f16e841..f92050d 100755
--- a/t/perl-deps.t
+++ b/t/perl-deps.t
@@ -18,13 +18,13 @@ dies_ok {
     $ctl->prune_simple_perl_dep( $dep->new('perl|perl-modules') )
 } 'prune_simple_perl_dep croaks on alternatives';
 
-is( $ctl->prune_perl_dep( $dep->new('perl-modules (>= 5.12)') ) . '',
-    'perl (>= 5.12)',
+is( $ctl->prune_perl_dep( $dep->new('perl-modules (>= 5.16)') ) . '',
+    'perl (>= 5.16)',
     'perl-modules is converted to perl'
 );
 
-is( $ctl->prune_perl_dep( $dep->new('perl-modules (>= 5.12)|foo') ) . '',
-    'perl (>= 5.12) | foo',
+is( $ctl->prune_perl_dep( $dep->new('perl-modules (>= 5.16)|foo') ) . '',
+    'perl (>= 5.16) | foo',
     'perl-modules is converted to perl in alternatives'
 );
 
@@ -38,18 +38,18 @@ is( $ctl->prune_perl_dep( $dep->new('perl-modules'), 1 ) . '',
     'perl', 'perl-modules is not build-essential' );
 
 is( $ctl->prune_perl_dep( $dep->new('foo|perl-modules') ),
-    undef, 'redundant alternative makes redundand the whole' );
+    undef, 'redundant alternative makes redundant the whole' );
 
-is( $ctl->prune_perl_dep( $dep->new('perl (>= 5.10.0)') ),
-    undef, 'perl 5.10.0 is ancient' );
+is( $ctl->prune_perl_dep( $dep->new('perl (>= 5.14.1)') ),
+    undef, 'perl 5.14.1 is ancient' );
 
-is( $ctl->prune_perl_dep( $dep->new('perl (= 5.10.0)') ) . '',
-    'perl (= 5.10.0)',
-    'perl =5.10.0 is left intact'
+is( $ctl->prune_perl_dep( $dep->new('perl (= 5.14.1)') ) . '',
+    'perl (= 5.14.1)',
+    'perl =5.14.1 is left intact'
 );
 
-is( ( $ctl->find_debs_for_modules( { 'ExtUtils::ParseXS' => '2.21' } ) )[0]
+is( ( $ctl->find_debs_for_modules( { 'ExtUtils::ParseXS' => '3.08' } ) )[0]
         . '',
-    'perl (>= 5.11.1)',
-    'ExtUtils::ParseXS 2.21 is in perl 5.11.1'
+    'perl (>= 5.15.6)',
+    'ExtUtils::ParseXS 3.08 is in perl 5.15.6'
 );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git



More information about the Pkg-perl-cvs-commits mailing list