diff -Nru libsub-uplevel-perl-0.2600/Changes libsub-uplevel-perl-0.2800/Changes --- libsub-uplevel-perl-0.2600/Changes 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/Changes 2017-04-01 17:31:30.000000000 +0000 @@ -1,5 +1,15 @@ Changes for Sub::Uplevel +0.2800 2017-04-01 13:31:22-04:00 America/New_York + + - No changes from 0.2700-TRIAL + +0.2700 2017-03-30 10:09:46-04:00 America/New_York (TRIAL RELEASE) + + [Fixed] + + - Tests now work if '.' is not in @INC + 0.2600 2016-08-05 10:46:37-04:00 America/New_York - No changes from 0.2501-TRIAL diff -Nru libsub-uplevel-perl-0.2600/cpanfile libsub-uplevel-perl-0.2800/cpanfile --- libsub-uplevel-perl-0.2600/cpanfile 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/cpanfile 2017-04-01 17:31:30.000000000 +0000 @@ -9,6 +9,7 @@ requires "ExtUtils::MakeMaker" => "0"; requires "File::Spec" => "0"; requires "Test::More" => "0"; + requires "lib" => "0"; requires "perl" => "5.006"; }; @@ -34,6 +35,7 @@ requires "Pod::Wordlist" => "0"; requires "Software::License::Perl_5" => "0"; requires "Test::CPAN::Meta" => "0"; + requires "Test::MinimumVersion" => "0"; requires "Test::More" => "0"; requires "Test::Pod" => "1.41"; requires "Test::Pod::Coverage" => "1.08"; diff -Nru libsub-uplevel-perl-0.2600/debian/changelog libsub-uplevel-perl-0.2800/debian/changelog --- libsub-uplevel-perl-0.2600/debian/changelog 2016-08-08 01:21:04.000000000 +0000 +++ libsub-uplevel-perl-0.2800/debian/changelog 2017-06-25 01:49:26.000000000 +0000 @@ -1,3 +1,21 @@ +libsub-uplevel-perl (0.2800-1) unstable; urgency=medium + + * Team upload. + + [ gregor herrmann ] + * Remove Fabrizio Regalli from Uploaders. Thanks for your work! + * Remove Jay Bonci from Uploaders. Thanks for your work! + * Remove Jonathan Yu from Uploaders. Thanks for your work! + + [ Lucas Kanashiro ] + * Import upstream version 0.2800 + * Update years of upstream copyright + * Update years of Debian packaging copyright + * Bump debhelper compatibility level to 10 + * Declare compliance with Debian Policy 4.0.0 + + -- Lucas Kanashiro Sat, 24 Jun 2017 22:49:26 -0300 + libsub-uplevel-perl (0.2600-1) unstable; urgency=medium * Team upload. diff -Nru libsub-uplevel-perl-0.2600/debian/compat libsub-uplevel-perl-0.2800/debian/compat --- libsub-uplevel-perl-0.2600/debian/compat 2016-08-08 01:21:04.000000000 +0000 +++ libsub-uplevel-perl-0.2800/debian/compat 2017-06-25 01:49:26.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru libsub-uplevel-perl-0.2600/debian/control libsub-uplevel-perl-0.2800/debian/control --- libsub-uplevel-perl-0.2600/debian/control 2016-08-08 01:21:04.000000000 +0000 +++ libsub-uplevel-perl-0.2800/debian/control 2017-06-25 01:49:26.000000000 +0000 @@ -1,23 +1,21 @@ Source: libsub-uplevel-perl +Maintainer: Debian Perl Group +Uploaders: Damyan Ivanov , + gregor herrmann Section: perl +Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 9) +Build-Depends: debhelper (>= 10) Build-Depends-Indep: perl -Maintainer: Debian Perl Group -Uploaders: Jay Bonci , - Damyan Ivanov , - gregor herrmann , - Jonathan Yu , - Fabrizio Regalli -Standards-Version: 3.9.8 -Homepage: https://metacpan.org/release/Sub-Uplevel -Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libsub-uplevel-perl.git +Standards-Version: 4.0.0 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libsub-uplevel-perl.git -Testsuite: autopkgtest-pkg-perl +Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libsub-uplevel-perl.git +Homepage: https://metacpan.org/release/Sub-Uplevel Package: libsub-uplevel-perl Architecture: all -Depends: ${misc:Depends}, ${perl:Depends} +Depends: ${misc:Depends}, + ${perl:Depends} Description: module to spoof the Perl call stack Sub::Uplevel is a Perl module that provides a safe implementation similar to Tcl's uplevel() function. It allows you to safely fool the caller() into diff -Nru libsub-uplevel-perl-0.2600/debian/copyright libsub-uplevel-perl-0.2800/debian/copyright --- libsub-uplevel-perl-0.2600/debian/copyright 2016-08-08 01:21:04.000000000 +0000 +++ libsub-uplevel-perl-0.2800/debian/copyright 2017-06-25 01:49:26.000000000 +0000 @@ -4,8 +4,8 @@ Upstrean-Name: Sub-Uplevel Files: * -Copyright: 2015-2016, David A. Golden - 2015-2016, Michael G Schwern +Copyright: 2015-2017, David A. Golden + 2015-2017, Michael G Schwern License: Artistic or GPL-1+ Files: debian/* @@ -17,7 +17,7 @@ 2006, Gunnar Wolf 2003, Jay Bonci 2012, Fabrizio Regalli - 2016, Lucas Kanashiro + 2016-2017, Lucas Kanashiro License: Artistic or GPL-1+ License: Artistic diff -Nru libsub-uplevel-perl-0.2600/lib/Sub/Uplevel.pm libsub-uplevel-perl-0.2800/lib/Sub/Uplevel.pm --- libsub-uplevel-perl-0.2600/lib/Sub/Uplevel.pm 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/lib/Sub/Uplevel.pm 2017-04-01 17:31:30.000000000 +0000 @@ -3,7 +3,7 @@ use strict; # ABSTRACT: apparently run a function in a higher stack frame -our $VERSION = '0.2600'; +our $VERSION = '0.2800'; # Frame check global constant our $CHECK_FRAMES; @@ -349,7 +349,7 @@ =head1 VERSION -version 0.2600 +version 0.2800 =head1 SYNOPSIS @@ -570,7 +570,7 @@ =head1 CONTRIBUTORS -=for stopwords Adam Kennedy Alexandr Ciornii David Golden J. Nick Koston Michael Gray +=for stopwords Adam Kennedy Alexandr Ciornii David Golden Graham Ollis J. Nick Koston Michael Gray =over 4 @@ -588,6 +588,10 @@ =item * +Graham Ollis + +=item * + J. Nick Koston =item * @@ -598,7 +602,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by Michael Schwern and David Golden. +This software is copyright (c) 2017 by Michael Schwern and David Golden. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -Nru libsub-uplevel-perl-0.2600/LICENSE libsub-uplevel-perl-0.2800/LICENSE --- libsub-uplevel-perl-0.2600/LICENSE 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/LICENSE 2017-04-01 17:31:30.000000000 +0000 @@ -1,4 +1,4 @@ -This software is copyright (c) 2016 by Michael Schwern and David Golden. +This software is copyright (c) 2017 by Michael Schwern and David Golden. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2016 by Michael Schwern and David Golden. +This software is Copyright (c) 2017 by Michael Schwern and David Golden. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2016 by Michael Schwern and David Golden. +This software is Copyright (c) 2017 by Michael Schwern and David Golden. This is free software, licensed under: diff -Nru libsub-uplevel-perl-0.2600/Makefile.PL libsub-uplevel-perl-0.2800/Makefile.PL --- libsub-uplevel-perl-0.2600/Makefile.PL 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/Makefile.PL 2017-04-01 17:31:30.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.006. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.009. use strict; use warnings; @@ -26,9 +26,10 @@ "Exporter" => 0, "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, - "Test::More" => 0 + "Test::More" => 0, + "lib" => 0 }, - "VERSION" => "0.2600", + "VERSION" => "0.2800", "test" => { "TESTS" => "t/*.t" } @@ -42,6 +43,7 @@ "File::Spec" => 0, "Test::More" => 0, "constant" => 0, + "lib" => 0, "strict" => 0, "warnings" => 0 ); diff -Nru libsub-uplevel-perl-0.2600/MANIFEST libsub-uplevel-perl-0.2800/MANIFEST --- libsub-uplevel-perl-0.2600/MANIFEST 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/MANIFEST 2017-04-01 17:31:30.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.006. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009. CONTRIBUTING.mkdn Changes LICENSE @@ -25,7 +25,7 @@ t/09_emptylist.t t/lib/Bar.pm t/lib/Foo.pm -t/lib/Importer.pm +t/lib/MyImporter.pm xt/author/00-compile.t xt/author/critic.t xt/author/pod-coverage.t diff -Nru libsub-uplevel-perl-0.2600/META.json libsub-uplevel-perl-0.2800/META.json --- libsub-uplevel-perl-0.2600/META.json 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/META.json 2017-04-01 17:31:30.000000000 +0000 @@ -5,7 +5,7 @@ "David Golden " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.006, CPAN::Meta::Converter version 2.150009", + "generated_by" : "Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -46,6 +46,7 @@ "Pod::Wordlist" : "0", "Software::License::Perl_5" : "0", "Test::CPAN::Meta" : "0", + "Test::MinimumVersion" : "0", "Test::More" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", @@ -73,6 +74,7 @@ "ExtUtils::MakeMaker" : "0", "File::Spec" : "0", "Test::More" : "0", + "lib" : "0", "perl" : "5.006" } } @@ -80,7 +82,7 @@ "provides" : { "Sub::Uplevel" : { "file" : "lib/Sub/Uplevel.pm", - "version" : "0.2600" + "version" : "0.2800" } }, "release_status" : "stable", @@ -95,15 +97,16 @@ "web" : "https://github.com/Perl-Toolchain-Gang/Sub-Uplevel" } }, - "version" : "0.2600", + "version" : "0.2800", "x_authority" : "cpan:DAGOLDEN", "x_contributors" : [ "Adam Kennedy ", "Alexandr Ciornii ", "David Golden ", + "Graham Ollis ", "J. Nick Koston ", "Michael Gray " ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0213" + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225" } diff -Nru libsub-uplevel-perl-0.2600/META.yml libsub-uplevel-perl-0.2800/META.yml --- libsub-uplevel-perl-0.2600/META.yml 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/META.yml 2017-04-01 17:31:30.000000000 +0000 @@ -8,12 +8,13 @@ ExtUtils::MakeMaker: '0' File::Spec: '0' Test::More: '0' + lib: '0' perl: '5.006' configure_requires: ExtUtils::MakeMaker: '6.17' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.006, CPAN::Meta::Converter version 2.150009' +generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -30,7 +31,7 @@ provides: Sub::Uplevel: file: lib/Sub/Uplevel.pm - version: '0.2600' + version: '0.2800' requires: Carp: '0' constant: '0' @@ -41,12 +42,13 @@ bugtracker: https://github.com/Perl-Toolchain-Gang/Sub-Uplevel/issues homepage: https://github.com/Perl-Toolchain-Gang/Sub-Uplevel repository: https://github.com/Perl-Toolchain-Gang/Sub-Uplevel.git -version: '0.2600' +version: '0.2800' x_authority: cpan:DAGOLDEN x_contributors: - 'Adam Kennedy ' - 'Alexandr Ciornii ' - 'David Golden ' + - 'Graham Ollis ' - 'J. Nick Koston ' - 'Michael Gray ' x_serialization_backend: 'YAML::Tiny version 1.69' diff -Nru libsub-uplevel-perl-0.2600/README libsub-uplevel-perl-0.2800/README --- libsub-uplevel-perl-0.2600/README 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/README 2017-04-01 17:31:30.000000000 +0000 @@ -2,7 +2,7 @@ Sub::Uplevel - apparently run a function in a higher stack frame VERSION - version 0.2600 + version 0.2800 SYNOPSIS use Sub::Uplevel; @@ -156,12 +156,14 @@ * David Golden + * Graham Ollis + * J. Nick Koston * Michael Gray COPYRIGHT AND LICENSE - This software is copyright (c) 2016 by Michael Schwern and David Golden. + This software is copyright (c) 2017 by Michael Schwern and David Golden. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -Nru libsub-uplevel-perl-0.2600/t/00-report-prereqs.dd libsub-uplevel-perl-0.2800/t/00-report-prereqs.dd --- libsub-uplevel-perl-0.2600/t/00-report-prereqs.dd 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/t/00-report-prereqs.dd 2017-04-01 17:31:30.000000000 +0000 @@ -19,6 +19,7 @@ 'Pod::Wordlist' => '0', 'Software::License::Perl_5' => '0', 'Test::CPAN::Meta' => '0', + 'Test::MinimumVersion' => '0', 'Test::More' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', @@ -46,6 +47,7 @@ 'ExtUtils::MakeMaker' => '0', 'File::Spec' => '0', 'Test::More' => '0', + 'lib' => '0', 'perl' => '5.006' } } diff -Nru libsub-uplevel-perl-0.2600/t/02_uplevel.t libsub-uplevel-perl-0.2800/t/02_uplevel.t --- libsub-uplevel-perl-0.2600/t/02_uplevel.t 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/t/02_uplevel.t 2017-04-01 17:31:30.000000000 +0000 @@ -130,7 +130,8 @@ like( $warning, "/$carp_regex/", 'carp() fooled' ); -use t::lib::Foo; +use lib 't/lib'; +use Foo; can_ok( 'main', 'fooble' ); #line 114 diff -Nru libsub-uplevel-perl-0.2600/t/08_exporter.t libsub-uplevel-perl-0.2800/t/08_exporter.t --- libsub-uplevel-perl-0.2600/t/08_exporter.t 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/t/08_exporter.t 2017-04-01 17:31:30.000000000 +0000 @@ -11,8 +11,9 @@ # import() function package main; -require t::lib::Importer; -require t::lib::Bar; -t::lib::Importer::import_for_me('t::lib::Bar','func3'); +use lib 't/lib'; +require MyImporter; +require Bar; +MyImporter::import_for_me('Bar','func3'); can_ok('main','func3'); diff -Nru libsub-uplevel-perl-0.2600/t/lib/Bar.pm libsub-uplevel-perl-0.2800/t/lib/Bar.pm --- libsub-uplevel-perl-0.2600/t/lib/Bar.pm 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/t/lib/Bar.pm 2017-04-01 17:31:30.000000000 +0000 @@ -1,4 +1,4 @@ -package t::lib::Bar; +package Bar; use warnings; use strict; require Exporter; diff -Nru libsub-uplevel-perl-0.2600/t/lib/Foo.pm libsub-uplevel-perl-0.2800/t/lib/Foo.pm --- libsub-uplevel-perl-0.2600/t/lib/Foo.pm 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/t/lib/Foo.pm 2017-04-01 17:31:30.000000000 +0000 @@ -1,4 +1,4 @@ -package t::lib::Foo; +package Foo; # Hook::LexWrap does this, Sub::Uplevel appears to interfere. sub import { *{caller()."::fooble"} = \&fooble } diff -Nru libsub-uplevel-perl-0.2600/t/lib/Importer.pm libsub-uplevel-perl-0.2800/t/lib/Importer.pm --- libsub-uplevel-perl-0.2600/t/lib/Importer.pm 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/t/lib/Importer.pm 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -package t::lib::Importer; -use warnings; -use strict; -use Sub::Uplevel qw/:aggressive/; -sub import_for_me { - my ($pkg, @p) = @_; - my $level = 1; - my $import = $pkg->can('import'); - if ($import) { - uplevel $level, $import, ($pkg, @p); - } else { - warn "no import in $pkg\n"; - } -} -1; diff -Nru libsub-uplevel-perl-0.2600/t/lib/MyImporter.pm libsub-uplevel-perl-0.2800/t/lib/MyImporter.pm --- libsub-uplevel-perl-0.2600/t/lib/MyImporter.pm 1970-01-01 00:00:00.000000000 +0000 +++ libsub-uplevel-perl-0.2800/t/lib/MyImporter.pm 2017-04-01 17:31:30.000000000 +0000 @@ -0,0 +1,15 @@ +package MyImporter; +use warnings; +use strict; +use Sub::Uplevel qw/:aggressive/; +sub import_for_me { + my ($pkg, @p) = @_; + my $level = 1; + my $import = $pkg->can('import'); + if ($import) { + uplevel $level, $import, ($pkg, @p); + } else { + warn "no import in $pkg\n"; + } +} +1; diff -Nru libsub-uplevel-perl-0.2600/xt/author/00-compile.t libsub-uplevel-perl-0.2800/xt/author/00-compile.t --- libsub-uplevel-perl-0.2600/xt/author/00-compile.t 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/xt/author/00-compile.t 2017-04-01 17:31:30.000000000 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.056 use Test::More; @@ -19,7 +19,9 @@ local $ENV{HOME} = File::Temp::tempdir( CLEANUP => 1 ); -my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; +my @switches = ( + -d 'blib' ? '-Mblib' : '-Ilib', +); use File::Spec; use IPC::Open3; @@ -33,7 +35,11 @@ # see L my $stderr = IO::Handle->new; - my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); + diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . $str . q{'} } + $^X, @switches, '-e', "require q[$lib]")) + if $ENV{PERL_COMPILE_TEST_DEBUG}; + + my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); diff -Nru libsub-uplevel-perl-0.2600/xt/author/pod-spell.t libsub-uplevel-perl-0.2800/xt/author/pod-spell.t --- libsub-uplevel-perl-0.2600/xt/author/pod-spell.t 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/xt/author/pod-spell.t 2017-04-01 17:31:30.000000000 +0000 @@ -2,37 +2,40 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007002 +# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007004 use Test::Spelling 0.12; use Pod::Wordlist; add_stopwords(); -all_pod_files_spelling_ok( qw( bin lib ) ); +all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ -PadWalker -Tcl's -Welch -uplevel -Michael -Schwern -mschwern -David -Golden -dagolden -and Adam -Kennedy -adamk Alexandr Ciornii -alexchorny -xdg -Nick -Koston -nick +David +Golden +Graham Gray -mg13 -lib +Kennedy +Koston +Michael +Nick +Ollis +PadWalker +Schwern Sub +Tcl's Uplevel +Welch +adamk +alexchorny +and +dagolden +lib +mg13 +mschwern +nick +plicease +uplevel +xdg diff -Nru libsub-uplevel-perl-0.2600/xt/author/portability.t libsub-uplevel-perl-0.2800/xt/author/portability.t --- libsub-uplevel-perl-0.2600/xt/author/portability.t 2016-08-05 14:46:45.000000000 +0000 +++ libsub-uplevel-perl-0.2800/xt/author/portability.t 2017-04-01 17:31:30.000000000 +0000 @@ -1,5 +1,3 @@ -#!perl - use strict; use warnings;