Skip to contentSkip to conversation

perl: bump to version 5.22.0

PATCH New Francois Perrad 2 participants 3 messages Sep 5, 2015 – Sep 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 perl: bump to version 5.22.0

---
 package/perl/perl.hash   | 10 +++++-----
 package/perl/perl.mk     |  8 ++++----
 support/scripts/scancpan |  2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)
package/perl/perl.hash +5 -5
index 0ee587e..2e3af95 100644
@@ -1,7 +1,7 @@
-# Hashes from: http://www.cpan.org/src/5.0/perl-5.20.2.tar.bz2.{md5,sha1,sha256}.txt
-md5    21062666f1c627aeb6dbff3c6952738b                                 perl-5.20.2.tar.bz2
-sha1   63126c683b4c79c35008a47d56f7beae876c569f                         perl-5.20.2.tar.bz2
-sha256 e5a4713bc65e1da98ebd833dce425c000768bfe84d17ec5183ec5ca249db71ab perl-5.20.2.tar.bz2
+# Hashes from: http://www.cpan.org/src/5.0/perl-5.22.0.tar.bz2.{md5,sha1,sha256}.txt
+md5    f67b152160431b3180fb766bdc2d02e2                                 perl-5.22.0.tar.bz2
+sha1   400338c91c56420d98142cbfcb84d418cae2c98c                         perl-5.22.0.tar.bz2
+sha256 3689fdb519133d039f49e12834764ff4c1de8f8d925dea44a952ca110d0ac9f7 perl-5.22.0.tar.bz2
 
 # No upstream hashes for the following
-sha256 36cabbc937cc66e59c8ae414d7753190d54a022cae0012c09ee5bbee78bc0aa0 perl-5.20.2-cross-0.9.7.tar.gz
+sha256 92ac19149eacfeb5dbddae229fecabdc1bef7ad130da2ea6c05a166167ac696a perl-5.22.0-cross-1.0.0.tar.gz
package/perl/perl.mk +4 -4
index 1e6a054..b9f90e4 100644
@@ -4,16 +4,16 @@
 #
 ################################################################################
 
-PERL_VERSION_MAJOR = 20
-PERL_VERSION = 5.$(PERL_VERSION_MAJOR).2
+PERL_VERSION_MAJOR = 22
+PERL_VERSION = 5.$(PERL_VERSION_MAJOR).0
 PERL_SITE = http://www.cpan.org/src/5.0
 PERL_SOURCE = perl-$(PERL_VERSION).tar.bz2
 PERL_LICENSE = Artistic or GPLv1+
 PERL_LICENSE_FILES = Artistic Copying README
 PERL_INSTALL_STAGING = YES
 
-PERL_CROSS_VERSION = 0.9.7
-PERL_CROSS_BASE_VERSION = 5.$(PERL_VERSION_MAJOR).2
+PERL_CROSS_VERSION = 1.0.0
+PERL_CROSS_BASE_VERSION = 5.$(PERL_VERSION_MAJOR).0
 # DO NOT refactor with the github helper (the result is not the same)
 PERL_CROSS_SITE = http://raw.github.com/arsv/perl-cross/releases
 PERL_CROSS_SOURCE = perl-$(PERL_CROSS_BASE_VERSION)-cross-$(PERL_CROSS_VERSION).tar.gz
support/scripts/scancpan +1 -1
index 947d248..8268c36 100755
@@ -471,7 +471,7 @@ unshift @INC, sub {
 } # END OF FATPACK CODE
 
 
-use 5.020;      # same major version as target perl
+use 5.022;      # same major version as target perl
 use strict;
 use warnings;
 use Fatal qw(open close);
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/2 scancpan: remove hack for Module-Build

with Perl 5.22, Module-Build is no longer a core module

---
 support/scripts/scancpan | 5 -----
 1 file changed, 5 deletions(-)
support/scripts/scancpan +0 -5
index 8268c36..94983b4 100755
@@ -560,12 +560,8 @@ sub fetch {
         $license_files{$name} = find_license_files( $manifest );
         my %build = ();
         my %runtime = ();
-        my $mb;
         foreach my $dep (@{$result->{dependency}}) {
             my $modname = ${$dep}{module};
-            $mb = 1 if $modname eq q{Module::Build};
-            # Module::Build has a special treatment, because it is a core module,
-            # but some module require a very recent version of it
             next if $modname eq q{perl};
             next if $modname =~ m|^Alien|;
             next if $modname =~ m|^Win32|;
@@ -584,7 +580,6 @@ sub fetch {
                 $build{$distname} = 1;
             }
         }
-        $build{q{Module-Build}} = 1 if $mb;
         $deps_build{$name} = [keys %build];
         $deps_runtime{$name} = [keys %runtime];
         foreach my $distname (@{$deps_build{$name}}) {
Signature · 1 line
2.1.4