Hello community, here is the log from the commit of package perl-Test-Script for openSUSE:Factory checked in at 2018-10-01 08:19:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Script (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Script.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Script" Mon Oct 1 08:19:20 2018 rev:27 rq:638962 version:1.25 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Script/perl-Test-Script.changes 2017-07-29 09:02:33.799030887 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Test-Script.new/perl-Test-Script.changes 2018-10-01 08:19:21.409893536 +0200 @@ -1,0 +2,12 @@ +Fri Sep 28 05:55:59 UTC 2018 - Stephan Kulow <[email protected]> + +- updated to 1.25 + see /usr/share/doc/packages/perl-Test-Script/Changes + + 1.25 2018-09-27 15:33:19 -0400 + - Production release identical to 1.24_01 release. + + 1.24_01 2018-09-24 12:38:07 -0400 + - Add interpreter_options to script_runs options + +------------------------------------------------------------------- Old: ---- Test-Script-1.23.tar.gz New: ---- Test-Script-1.25.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Script.spec ++++++ --- /var/tmp/diff_new_pack.iJw3Fd/_old 2018-10-01 08:19:21.905893220 +0200 +++ /var/tmp/diff_new_pack.iJw3Fd/_new 2018-10-01 08:19:21.913893215 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Script # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,16 +12,16 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-Test-Script -Version: 1.23 +Version: 1.25 Release: 0 %define cpan_name Test-Script Summary: Basic cross-platform tests for scripts -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Script/ Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz ++++++ Test-Script-1.23.tar.gz -> Test-Script-1.25.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/Changes new/Test-Script-1.25/Changes --- old/Test-Script-1.23/Changes 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/Changes 2018-09-27 21:33:23.000000000 +0200 @@ -1,5 +1,11 @@ Revision history for Perl extension Test-Script +1.25 2018-09-27 15:33:19 -0400 + - Production release identical to 1.24_01 release. + +1.24_01 2018-09-24 12:38:07 -0400 + - Add interpreter_options to script_runs options + 1.23 2017-07-18 03:12:24 -0400 - Production release identical to 1.22_01 release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/INSTALL new/Test-Script-1.25/INSTALL --- old/Test-Script-1.23/INSTALL 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/INSTALL 2018-09-27 21:33:23.000000000 +0200 @@ -22,7 +22,7 @@ ## Manual installation As a last resort, you can manually install it. Download the tarball, untar it, -then build it: +install configure prerequisites (see below), then build it: % perl Makefile.PL % make && make test @@ -31,13 +31,29 @@ % make install +On Windows platforms, you should use `dmake` or `nmake`, instead of `make`. + If your perl is system-managed, you can create a local::lib in your home directory to install modules to. For details, see the local::lib documentation: https://metacpan.org/pod/local::lib +The prerequisites of this distribution will also have to be installed manually. The +prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated +by running the manual build process described above. + +## Configure Prerequisites + +This distribution requires other modules to be installed before this +distribution's installer can be run. They can be found under the +"configure_requires" key of META.yml or the +"{prereqs}{configure}{requires}" key of META.json. + ## Documentation Test-Script documentation is available as POD. -You can run perldoc from a shell to read the documentation: +You can run `perldoc` from a shell to read the documentation: % perldoc Test::Script + +For more information on installing Perl modules via CPAN, please see: +https://www.cpan.org/modules/INSTALL.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/MANIFEST new/Test-Script-1.25/MANIFEST --- old/Test-Script-1.23/MANIFEST 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/MANIFEST 2018-09-27 21:33:23.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. Changes INSTALL LICENSE @@ -8,7 +8,6 @@ Makefile.PL README author.yml -cpanfile dist.ini lib/Test/Script.pm t/00_diag.t @@ -21,6 +20,7 @@ t/bin/stdin.pl t/bin/stdin.txt t/bin/taint.pl +t/bin/warnon.pl t/bug_gh9.t t/test_script__exports.t t/test_script__import.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/META.json new/Test-Script-1.25/META.json --- old/Test-Script-1.23/META.json 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/META.json 2018-09-27 21:33:23.000000000 +0200 @@ -5,7 +5,7 @@ "Adam Kennedy" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -42,6 +42,7 @@ "IO::Handle" : "0", "Probe::Perl" : "0.01", "Test2::API" : "1.302015", + "Text::ParseWords" : "0", "perl" : "5.008001" } }, @@ -55,7 +56,7 @@ "provides" : { "Test::Script" : { "file" : "lib/Test/Script.pm", - "version" : "1.23" + "version" : "1.25" } }, "release_status" : "stable", @@ -70,12 +71,14 @@ "web" : "https://github.com/plicease/Test-Script" } }, - "version" : "1.23", + "version" : "1.25", "x_contributors" : [ "Adam Kennedy", "Graham Ollis <[email protected]>", "Brendan Byrd" ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233" + "x_generated_by_perl" : "v5.29.2", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.05", + "x_use_unsafe_inc" : 0 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/META.yml new/Test-Script-1.25/META.yml --- old/Test-Script-1.23/META.yml 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/META.yml 2018-09-27 21:33:23.000000000 +0200 @@ -10,7 +10,7 @@ ExtUtils::MakeMaker: '0' perl: '5.008001' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -19,21 +19,24 @@ provides: Test::Script: file: lib/Test/Script.pm - version: '1.23' + version: '1.25' requires: Capture::Tiny: '0' File::Spec: '0.80' IO::Handle: '0' Probe::Perl: '0.01' Test2::API: '1.302015' + Text::ParseWords: '0' perl: '5.008001' resources: bugtracker: https://github.com/plicease/Test-Script/issues homepage: https://metacpan.org/pod/Test::Script repository: git://github.com/plicease/Test-Script.git -version: '1.23' +version: '1.25' x_contributors: - 'Adam Kennedy' - 'Graham Ollis <[email protected]>' - 'Brendan Byrd' -x_serialization_backend: 'YAML::Tiny version 1.70' +x_generated_by_perl: v5.29.2 +x_serialization_backend: 'YAML::Tiny version 1.73' +x_use_unsafe_inc: 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/Makefile.PL new/Test-Script-1.25/Makefile.PL --- old/Test-Script-1.23/Makefile.PL 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/Makefile.PL 2018-09-27 21:33:23.000000000 +0200 @@ -5,54 +5,52 @@ exit; } } -# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.20. +# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.28. use strict; use warnings; - use 5.008001; - use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( - "ABSTRACT" => "Basic cross-platform tests for scripts", - "AUTHOR" => "Graham Ollis <plicease\@cpan.org>, Adam Kennedy", + "ABSTRACT" => "Basic cross-platform tests for scripts", + "AUTHOR" => "Graham Ollis <plicease\@cpan.org>, Adam Kennedy", "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0 }, - "DISTNAME" => "Test-Script", - "LICENSE" => "perl", + "DISTNAME" => "Test-Script", + "LICENSE" => "perl", "MIN_PERL_VERSION" => "5.008001", - "NAME" => "Test::Script", - "PM" => { + "NAME" => "Test::Script", + "PM" => { "lib/Test/Script.pm" => "\$(INST_LIB)/Test/Script.pm" }, "PREREQ_PM" => { - "Capture::Tiny" => 0, - "File::Spec" => "0.80", - "IO::Handle" => 0, - "Probe::Perl" => "0.01", - "Test2::API" => "1.302015" + "Capture::Tiny" => 0, + "File::Spec" => "0.80", + "IO::Handle" => 0, + "Probe::Perl" => "0.01", + "Test2::API" => "1.302015", + "Text::ParseWords" => 0 }, "TEST_REQUIRES" => { "Test2::V0" => "0.000060" }, - "VERSION" => "1.23", - "test" => { + "VERSION" => "1.25", + "test" => { "TESTS" => "t/*.t" - } + } ); - my %FallbackPrereqs = ( - "Capture::Tiny" => 0, - "File::Spec" => "0.80", - "IO::Handle" => 0, - "Probe::Perl" => "0.01", - "Test2::API" => "1.302015", - "Test2::V0" => "0.000060" + "Capture::Tiny" => 0, + "File::Spec" => "0.80", + "IO::Handle" => 0, + "Probe::Perl" => "0.01", + "Test2::API" => "1.302015", + "Test2::V0" => "0.000060", + "Text::ParseWords" => 0 ); - unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { delete $WriteMakefileArgs{TEST_REQUIRES}; delete $WriteMakefileArgs{BUILD_REQUIRES}; @@ -62,4 +60,4 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; -WriteMakefile(%WriteMakefileArgs); +WriteMakefile(%WriteMakefileArgs); \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/README new/Test-Script-1.25/README --- old/Test-Script-1.23/README 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/README 2018-09-27 21:33:23.000000000 +0200 @@ -4,7 +4,7 @@ VERSION - version 1.23 + version 1.25 SYNOPSIS @@ -79,6 +79,12 @@ The expected exit value. The default is to use whatever indicates success on your platform (usually 0). + interpreter_options + + Array reference of Perl options to be passed to the interpreter. + Things like -w or -x can be passed this way. This may be either a + single string or an array reference. + signal The expected signal. The default is 0. Use with care! This may not be diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/cpanfile new/Test-Script-1.25/cpanfile --- old/Test-Script-1.23/cpanfile 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/cpanfile 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ -requires "Capture::Tiny" => "0"; -requires "File::Spec" => "0.80"; -requires "IO::Handle" => "0"; -requires "Probe::Perl" => "0.01"; -requires "Test2::API" => "1.302015"; -requires "perl" => "5.008001"; - -on 'test' => sub { - requires "Test2::V0" => "0.000060"; - requires "perl" => "5.008001"; -}; - -on 'configure' => sub { - requires "ExtUtils::MakeMaker" => "0"; - requires "perl" => "5.008001"; -}; - -on 'develop' => sub { - requires "FindBin" => "0"; - requires "Test::EOL" => "0"; - requires "Test::Fixme" => "0.07"; - requires "Test::More" => "0.94"; - requires "Test::NoTabs" => "0"; - requires "Test::Pod" => "0"; - requires "Test::Pod::Coverage" => "0"; - requires "Test::Pod::Spelling::CommonMistakes" => "0"; - requires "Test::Spelling" => "0"; - requires "YAML" => "0"; -}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/dist.ini new/Test-Script-1.25/dist.ini --- old/Test-Script-1.23/dist.ini 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/dist.ini 2018-09-27 21:33:23.000000000 +0200 @@ -4,10 +4,10 @@ license = Perl_5 copyright_holder = Adam Kennedy copyright_year = 2017 -version = 1.23 +version = 1.25 [@Author::Plicease] -:version = 2.19 +:version = 2.28 travis_status = 1 release_tests = 1 test2_v0 = 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/lib/Test/Script.pm new/Test-Script-1.25/lib/Test/Script.pm --- old/Test-Script-1.23/lib/Test/Script.pm 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/lib/Test/Script.pm 2018-09-27 21:33:23.000000000 +0200 @@ -1,7 +1,7 @@ package Test::Script; # ABSTRACT: Basic cross-platform tests for scripts -our $VERSION = '1.23'; # VERSION +our $VERSION = '1.25'; # VERSION use 5.008001; @@ -147,7 +147,7 @@ my $opt = _options(\@_); my $unix = shift @$args; my $path = path( $unix ); - my $pargs = _perl_args($path); + my $pargs = [ @{ _perl_args($path) }, @{ $opt->{interpreter_options} } ]; my $dir = _preload_module(); my $cmd = [ perl, @$pargs, "-I$dir", '-M__TEST_SCRIPT__', $path, @$args ]; $stdout = ''; @@ -331,6 +331,19 @@ $options{stdout} = \$stdout unless defined $options{stdout}; $options{stderr} = \$stderr unless defined $options{stderr}; + if(defined $options{interpreter_options}) + { + unless(ref $options{interpreter_options} eq 'ARRAY') + { + require Text::ParseWords; + $options{interpreter_options} = [ Text::ParseWords::shellwords($options{interpreter_options}) ]; + } + } + else + { + $options{interpreter_options} = []; + } + \%options; } @@ -361,7 +374,7 @@ =head1 VERSION -version 1.23 +version 1.25 =head1 SYNOPSIS @@ -437,6 +450,12 @@ The expected exit value. The default is to use whatever indicates success on your platform (usually 0). +=item interpreter_options + +Array reference of Perl options to be passed to the interpreter. Things +like C<-w> or C<-x> can be passed this way. This may be either a single +string or an array reference. + =item signal The expected signal. The default is 0. Use with care! This may not be diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/t/00_diag.t new/Test-Script-1.25/t/00_diag.t --- old/Test-Script-1.23/t/00_diag.t 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/t/00_diag.t 2018-09-27 21:33:23.000000000 +0200 @@ -1,4 +1,4 @@ -use Test2::V0; +use Test2::V0 -no_srand => 1; use Config; eval q{ require Test::More }; @@ -17,6 +17,7 @@ Probe::Perl Test2::API Test2::V0 + Text::ParseWords ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/t/bin/warnon.pl new/Test-Script-1.25/t/bin/warnon.pl --- old/Test-Script-1.23/t/bin/warnon.pl 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Script-1.25/t/bin/warnon.pl 2018-09-27 21:33:23.000000000 +0200 @@ -0,0 +1 @@ +die "warnings are off" unless $^W; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/t/test_script__script_runs.t new/Test-Script-1.25/t/test_script__script_runs.t --- old/Test-Script-1.23/t/test_script__script_runs.t 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/t/test_script__script_runs.t 2018-09-27 21:33:23.000000000 +0200 @@ -235,6 +235,13 @@ }; +subtest 'interpreter_options' => sub { + + script_runs 't/bin/warnon.pl', { interpreter_options => [ '-w' ] }, 'as array reference'; + script_runs 't/bin/warnon.pl', { interpreter_options => '-w' }, 'as string'; + +}; + script_runs 't/bin/taint.pl'; done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.23/xt/author/version.t new/Test-Script-1.25/xt/author/version.t --- old/Test-Script-1.23/xt/author/version.t 2017-07-18 09:12:29.000000000 +0200 +++ new/Test-Script-1.25/xt/author/version.t 2018-09-27 21:33:23.000000000 +0200 @@ -13,8 +13,6 @@ 1 }; - plan skip_all => "test requires Path::Class" - unless eval q{ use Path::Class qw( file dir ); 1 }; plan skip_all => 'test requires YAML' unless eval q{ use YAML; 1; }; } @@ -23,10 +21,6 @@ use FindBin; use File::Spec; -plan skip_all => "test not built yet (run dzil test)" - unless -e dir( $FindBin::Bin)->parent->parent->file('Makefile.PL') - || -e dir( $FindBin::Bin)->parent->parent->file('Build.PL'); - my $config_filename = File::Spec->catfile( $FindBin::Bin, File::Spec->updir, File::Spec->updir, 'author.yml' );
