diff -Nru libstrictures-perl-2.000003/Changes libstrictures-perl-2.000005/Changes --- libstrictures-perl-2.000003/Changes 2016-04-19 00:37:42.000000000 +0000 +++ libstrictures-perl-2.000005/Changes 2018-04-20 13:55:17.000000000 +0000 @@ -1,5 +1,14 @@ Release history for strictures +2.000005 - 2018-04-20 + - update internal list of warnings for categories added in 5.28.0 (no + behaviour change) + +2.000004 - 2018-04-19 + - update bundled ExtUtils::HasCompiler to 0.021 + - update internal list of warnings for categories added in 5.26.0 (no + behavior change) + 2.000003 - 2016-04-19 - update bundled ExtUtils::HasCompiler to 0.013 to fix potential false negative (RT#113637) diff -Nru libstrictures-perl-2.000003/debian/changelog libstrictures-perl-2.000005/debian/changelog --- libstrictures-perl-2.000003/debian/changelog 2016-04-28 09:46:16.000000000 +0000 +++ libstrictures-perl-2.000005/debian/changelog 2018-05-14 15:59:01.000000000 +0000 @@ -1,3 +1,20 @@ +libstrictures-perl (2.000005-1) unstable; urgency=medium + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + * Remove Nathan Handler from Uploaders. Thanks for your work! + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ Florian Schlichting ] + * Import upstream version 2.000005 + * Update upstream metadata + * Declare compliance with Debian Policy 4.1.4 + * Bump dh compat to level 10 + + -- Florian Schlichting Mon, 14 May 2018 17:59:01 +0200 + libstrictures-perl (2.000003-1) unstable; urgency=medium * Team upload. diff -Nru libstrictures-perl-2.000003/debian/compat libstrictures-perl-2.000005/debian/compat --- libstrictures-perl-2.000003/debian/compat 2016-04-28 09:46:16.000000000 +0000 +++ libstrictures-perl-2.000005/debian/compat 2018-05-14 15:58:30.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru libstrictures-perl-2.000003/debian/control libstrictures-perl-2.000005/debian/control --- libstrictures-perl-2.000003/debian/control 2016-04-28 09:46:16.000000000 +0000 +++ libstrictures-perl-2.000005/debian/control 2018-05-14 15:58:23.000000000 +0000 @@ -1,19 +1,18 @@ Source: libstrictures-perl +Maintainer: Debian Perl Group +Uploaders: Florian Schlichting Section: perl +Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 9) +Build-Depends: debhelper (>= 10) Build-Depends-Indep: libbareword-filehandles-perl, libindirect-perl, libmultidimensional-perl, perl -Maintainer: Debian Perl Group -Uploaders: Florian Schlichting , - Nathan Handler -Standards-Version: 3.9.8 +Standards-Version: 4.1.4 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libstrictures-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libstrictures-perl.git Homepage: https://metacpan.org/release/strictures -Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libstrictures-perl.git -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libstrictures-perl.git -Testsuite: autopkgtest-pkg-perl Package: libstrictures-perl Architecture: all diff -Nru libstrictures-perl-2.000003/debian/copyright libstrictures-perl-2.000005/debian/copyright --- libstrictures-perl-2.000003/debian/copyright 2016-04-28 09:46:16.000000000 +0000 +++ libstrictures-perl-2.000005/debian/copyright 2018-05-14 15:56:10.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: strictures Upstream-Contact: Matt S Trout Source: https://metacpan.org/release/strictures diff -Nru libstrictures-perl-2.000003/debian/upstream/metadata libstrictures-perl-2.000005/debian/upstream/metadata --- libstrictures-perl-2.000003/debian/upstream/metadata 2016-04-28 09:46:16.000000000 +0000 +++ libstrictures-perl-2.000005/debian/upstream/metadata 2018-05-14 15:53:19.000000000 +0000 @@ -4,5 +4,5 @@ Bug-Submit: bug-strictures@rt.cpan.org Contact: mst - Matt S. Trout (cpan:MSTROUT) Name: strictures -Repository: git://git.shadowcat.co.uk/p5sagit/strictures.git -Repository-Browse: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git +Repository: https://github.com/p5sagit/strictures.git +Repository-Browse: https://github.com/p5sagit/strictures diff -Nru libstrictures-perl-2.000003/lib/strictures.pm libstrictures-perl-2.000005/lib/strictures.pm --- libstrictures-perl-2.000003/lib/strictures.pm 2016-04-18 21:39:41.000000000 +0000 +++ libstrictures-perl-2.000005/lib/strictures.pm 2018-04-20 13:54:58.000000000 +0000 @@ -4,14 +4,14 @@ use warnings FATAL => 'all'; BEGIN { - *_PERL_LT_5_8_4 = ($] < 5.008004) ? sub(){1} : sub(){0}; + *_PERL_LT_5_8_4 = ("$]" < 5.008004) ? sub(){1} : sub(){0}; # goto &UNIVERSAL::VERSION usually works on 5.8, but fails on some ARM # machines. Seems to always work on 5.10 though. - *_CAN_GOTO_VERSION = ($] >= 5.010000) ? sub(){1} : sub(){0}; + *_CAN_GOTO_VERSION = ("$]" >= 5.010000) ? sub(){1} : sub(){0}; } -our $VERSION = '2.000003'; -$VERSION = eval $VERSION; +our $VERSION = '2.000005'; +$VERSION =~ tr/_//d; our @WARNING_CATEGORIES = grep { exists $warnings::Offsets{$_} } qw( closure @@ -19,15 +19,18 @@ deprecated exiting experimental + experimental::alpha_assertions experimental::autoderef experimental::bitwise experimental::const_attr + experimental::declared_refs experimental::lexical_subs experimental::lexical_topic experimental::postderef experimental::re_strict experimental::refaliasing experimental::regex_sets + experimental::script_run experimental::signatures experimental::smartmatch experimental::win32_perlio @@ -58,6 +61,7 @@ inplace internal malloc + shadow signal substr syntax diff -Nru libstrictures-perl-2.000003/Makefile.PL libstrictures-perl-2.000005/Makefile.PL --- libstrictures-perl-2.000003/Makefile.PL 2016-04-19 00:39:21.000000000 +0000 +++ libstrictures-perl-2.000005/Makefile.PL 2018-04-20 13:54:58.000000000 +0000 @@ -17,6 +17,7 @@ my %META = ( name => 'strictures', license => 'perl_5', + dynamic_config => 1, prereqs => { configure => { requires => { } }, build => { requires => { } }, @@ -39,10 +40,14 @@ } }, }, resources => { + # GitHub mirrors from Shadowcat. We list it so we can get pull requests. + # The canonical repo is: + # r/o: git://git.shadowcat.co.uk/p5sagit/strictures.git # r/w: p5sagit@git.shadowcat.co.uk:strictures.git + # web: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git repository => { - url => 'git://git.shadowcat.co.uk/p5sagit/strictures.git', - web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git', + url => 'https://github.com/p5sagit/strictures.git', + web => 'https://github.com/p5sagit/strictures', type => 'git', }, bugtracker => { @@ -54,11 +59,20 @@ no_index => { directory => [ 't', 'xt', 'inc' ] }, + x_authority => 'cpan:MSTROUT', + x_contributors => [ # manually added, from git shortlog -e -s -n + 'Graham Knop ', + 'Karen Etheridge ', + 'Matt S Trout ', + 'Peter Rabbitson ', + 'Christian Walde ', + 'Diab Jerius ', + ], ); my %MM_ARGS = ( PREREQ_PM => { - ($] >= 5.008004 && $have_compiler ? %extra_prereqs : () ) + ("$]" >= 5.008004 && $have_compiler ? %extra_prereqs : () ) }, ); @@ -76,7 +90,7 @@ ## BOILERPLATE ############################################################### require ExtUtils::MakeMaker; -(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; +(do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; # have to do this since old EUMM dev releases miss the eval $VERSION line my $eumm_version = eval $ExtUtils::MakeMaker::VERSION; diff -Nru libstrictures-perl-2.000003/META.json libstrictures-perl-2.000005/META.json --- libstrictures-perl-2.000003/META.json 2016-04-19 00:40:44.000000000 +0000 +++ libstrictures-perl-2.000005/META.json 2018-04-20 13:55:30.000000000 +0000 @@ -4,13 +4,13 @@ "mst - Matt S. Trout (cpan:MSTROUT) " ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001", + "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "strictures", "no_index" : { @@ -64,9 +64,19 @@ ], "repository" : { "type" : "git", - "url" : "git://git.shadowcat.co.uk/p5sagit/strictures.git", - "web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git" + "url" : "https://github.com/p5sagit/strictures.git", + "web" : "https://github.com/p5sagit/strictures" } }, - "version" : "2.000003" + "version" : "2.000005", + "x_authority" : "cpan:MSTROUT", + "x_contributors" : [ + "Graham Knop ", + "Karen Etheridge ", + "Matt S Trout ", + "Peter Rabbitson ", + "Christian Walde ", + "Diab Jerius " + ], + "x_serialization_backend" : "JSON::MaybeXS version 1.004" } diff -Nru libstrictures-perl-2.000003/META.yml libstrictures-perl-2.000005/META.yml --- libstrictures-perl-2.000003/META.yml 2016-04-19 00:40:44.000000000 +0000 +++ libstrictures-perl-2.000005/META.yml 2018-04-20 13:55:29.000000000 +0000 @@ -6,7 +6,7 @@ Test::More: '0' configure_requires: {} dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001' +generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -22,5 +22,14 @@ resources: bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=strictures license: http://dev.perl.org/licenses/ - repository: git://git.shadowcat.co.uk/p5sagit/strictures.git -version: '2.000003' + repository: https://github.com/p5sagit/strictures.git +version: '2.000005' +x_authority: cpan:MSTROUT +x_contributors: + - 'Graham Knop ' + - 'Karen Etheridge ' + - 'Matt S Trout ' + - 'Peter Rabbitson ' + - 'Christian Walde ' + - 'Diab Jerius ' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -Nru libstrictures-perl-2.000003/t/crash.t libstrictures-perl-2.000005/t/crash.t --- libstrictures-perl-2.000003/t/crash.t 2015-02-01 20:32:15.000000000 +0000 +++ libstrictures-perl-2.000005/t/crash.t 2018-04-20 13:54:45.000000000 +0000 @@ -1,7 +1,7 @@ use strict; use warnings FATAL => 'all'; use Test::More - $] < 5.008004 ? ( skip_all => "can't test extra loading on perl < 5.8.4" ) + "$]" < 5.008004 ? ( skip_all => "can't test extra loading on perl < 5.8.4" ) : ( tests => 1 ); use File::Spec; diff -Nru libstrictures-perl-2.000003/t/extras.t libstrictures-perl-2.000005/t/extras.t --- libstrictures-perl-2.000003/t/extras.t 2015-11-03 23:56:22.000000000 +0000 +++ libstrictures-perl-2.000005/t/extras.t 2018-04-20 13:54:45.000000000 +0000 @@ -1,8 +1,9 @@ BEGIN { delete $ENV{PERL_STRICTURES_EXTRA} } use strict; use warnings; -use Test::More $] >= 5.008_004 ? qw(no_plan) - : (skip_all => 'Extra tests disabled on perls <= 5.008003'); +use Test::More 0.88; + +plan skip_all => 'Extra tests disabled on perls <= 5.008003' unless "$]" >= 5.008_004; use File::Temp; use Cwd 'cwd'; @@ -130,3 +131,5 @@ } } } + +done_testing; diff -Nru libstrictures-perl-2.000003/t/strictures.t libstrictures-perl-2.000005/t/strictures.t --- libstrictures-perl-2.000003/t/strictures.t 2015-11-03 23:56:22.000000000 +0000 +++ libstrictures-perl-2.000005/t/strictures.t 2018-04-20 13:54:45.000000000 +0000 @@ -2,9 +2,11 @@ sub _eval { eval $_[0] } +use Test::More 0.88; + use strict; use warnings; -use Test::More qw(no_plan); +use Test::More; sub capture_hints { my $code = shift; @@ -76,3 +78,5 @@ is $@, '', "Can use current strictures version"; + +done_testing;