commit perl-IO-CaptureOutput for openSUSE:Factory
Hello community, here is the log from the commit of package perl-IO-CaptureOutput for openSUSE:Factory checked in at 2019-11-01 15:13:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-IO-CaptureOutput (Old) and /work/SRC/openSUSE:Factory/.perl-IO-CaptureOutput.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-IO-CaptureOutput" Fri Nov 1 15:13:11 2019 rev:6 rq:743579 version:1.1105 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-IO-CaptureOutput/perl-IO-CaptureOutput.changes 2015-02-05 10:59:14.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-IO-CaptureOutput.new.2990/perl-IO-CaptureOutput.changes 2019-11-01 15:13:15.196685823 +0100 @@ -1,0 +2,12 @@ +Mon Oct 28 10:51:09 UTC 2019 - <timueller+perl@suse.de> + +- updated to 1.1105 + see /usr/share/doc/packages/perl-IO-CaptureOutput/Changes + + 1.1105 2019-10-25 17:40:04-04:00 America/New_York + + [META] + + - Add deprecation data to META file. + +------------------------------------------------------------------- Old: ---- IO-CaptureOutput-1.1104.tar.gz New: ---- IO-CaptureOutput-1.1105.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-IO-CaptureOutput.spec ++++++ --- /var/tmp/diff_new_pack.IevU9W/_old 2019-11-01 15:13:15.960686819 +0100 +++ /var/tmp/diff_new_pack.IevU9W/_new 2019-11-01 15:13:15.968686830 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-IO-CaptureOutput # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,29 +12,30 @@ # 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-IO-CaptureOutput -Version: 1.1104 +Version: 1.1105 Release: 0 %define cpan_name IO-CaptureOutput -Summary: Capture STDOUT and STDERR from Perl code, subprocesses or XS -License: Artistic-1.0 or GPL-1.0+ +Summary: (DEPRECATED) capture STDOUT and STDERR from Perl code, subprocesses or XS +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/IO-CaptureOutput/ -Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(version) +BuildRequires: perl(File::Spec) >= 3.27 %{perl_requires} %description -*This module is no longer recommended by the maintainer* - see the -Capture::Tiny manpage instead. +*This module is no longer recommended by the maintainer* - see +Capture::Tiny instead. This module provides routines for capturing STDOUT and STDERR from perl subroutines, forked system calls (e.g. 'system()', 'fork()') and from XS or @@ -42,14 +43,14 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -58,6 +59,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTING.mkdn cpanfile examples LICENSE perlcritic.rc README +%doc Changes CONTRIBUTING.mkdn examples README +%license LICENSE %changelog ++++++ IO-CaptureOutput-1.1104.tar.gz -> IO-CaptureOutput-1.1105.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/Changes new/IO-CaptureOutput-1.1105/Changes --- old/IO-CaptureOutput-1.1104/Changes 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/Changes 2019-10-25 23:40:09.000000000 +0200 @@ -1,5 +1,11 @@ Revision history for IO::CaptureOutput +1.1105 2019-10-25 17:40:04-04:00 America/New_York + + [META] + + - Add deprecation data to META file. + 1.1104 2015-01-23 22:03:57-05:00 America/New_York [PREREQS] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/LICENSE new/IO-CaptureOutput-1.1105/LICENSE --- old/IO-CaptureOutput-1.1104/LICENSE 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/LICENSE 2019-10-25 23:40:09.000000000 +0200 @@ -1,4 +1,4 @@ -This software is copyright (c) 2015 by Simon Flack and David Golden. +This software is copyright (c) 2019 by Simon Flack 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) 2015 by Simon Flack and David Golden. +This software is Copyright (c) 2019 by Simon Flack and David Golden. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2015 by Simon Flack and David Golden. +This software is Copyright (c) 2019 by Simon Flack and David Golden. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/MANIFEST new/IO-CaptureOutput-1.1105/MANIFEST --- old/IO-CaptureOutput-1.1104/MANIFEST 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/MANIFEST 2019-10-25 23:40:09.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.031. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. CONTRIBUTING.mkdn Changes LICENSE @@ -24,10 +24,10 @@ t/wperl.t xt/author/00-compile.t xt/author/critic.t +xt/author/minimum-version.t +xt/author/pod-coverage.t xt/author/pod-spell.t +xt/author/pod-syntax.t +xt/author/portability.t +xt/author/test-version.t xt/release/distmeta.t -xt/release/minimum-version.t -xt/release/pod-coverage.t -xt/release/pod-syntax.t -xt/release/portability.t -xt/release/test-version.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/META.json new/IO-CaptureOutput-1.1105/META.json --- old/IO-CaptureOutput-1.1104/META.json 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/META.json 2019-10-25 23:40:09.000000000 +0200 @@ -1,11 +1,11 @@ { - "abstract" : "capture STDOUT and STDERR from Perl code, subprocesses or XS", + "abstract" : "(DEPRECATED) capture STDOUT and STDERR from Perl code, subprocesses or XS", "author" : [ "Simon Flack <simonflk@cpan.org>", "David Golden <dagolden@cpan.org>" ], "dynamic_config" : 1, - "generated_by" : "Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240", + "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -16,10 +16,10 @@ "name" : "IO-CaptureOutput", "no_index" : { "directory" : [ - "t", - "xt", + "corpus", "examples", - "corpus" + "t", + "xt" ], "package" : [ "DB" @@ -35,6 +35,7 @@ "develop" : { "requires" : { "Dist::Zilla" : "5", + "Dist::Zilla::Plugin::Deprecated" : "0", "Dist::Zilla::Plugin::OSPrereqs" : "0", "Dist::Zilla::Plugin::RemovePrereqs" : "0", "Dist::Zilla::PluginBundle::DAGOLDEN" : "0.072", @@ -43,12 +44,18 @@ "IO::Handle" : "0", "IPC::Open3" : "0", "Pod::Coverage::TrustPod" : "0", + "Pod::Wordlist" : "0", + "Software::License::Perl_5" : "0", "Test::CPAN::Meta" : "0", + "Test::MinimumVersion" : "0", "Test::More" : "0", + "Test::Perl::Critic" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", + "Test::Portability::Files" : "0", "Test::Spelling" : "0.12", - "Test::Version" : "1" + "Test::Version" : "1", + "perl" : "5.006" } }, "runtime" : { @@ -80,7 +87,7 @@ "provides" : { "IO::CaptureOutput" : { "file" : "lib/IO/CaptureOutput.pm", - "version" : "1.1104" + "version" : "1.1105" } }, "release_status" : "stable", @@ -95,12 +102,17 @@ "web" : "https://github.com/dagolden/IO-CaptureOutput" } }, - "version" : "1.1104", + "version" : "1.1105", "x_authority" : "cpan:DAGOLDEN", "x_contributors" : [ + "David Golden <xdg@xdg.me>", + "Jos\u00e9 Joaqu\u00edn Atria <jjatria@gmail.com>", "Mike Latimer <mlatimer@suse.com>", - "Olivier Mengué <dolmen@cpan.org>", + "Olivier Mengu\u00e9 <dolmen@cpan.org>", "Tony Cook <tony@develop-help.com>" - ] + ], + "x_deprecated" : 1, + "x_generated_by_perl" : "v5.30.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.15" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/META.yml new/IO-CaptureOutput-1.1105/META.yml --- old/IO-CaptureOutput-1.1104/META.yml 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/META.yml 2019-10-25 23:40:09.000000000 +0200 @@ -1,5 +1,5 @@ --- -abstract: 'capture STDOUT and STDERR from Perl code, subprocesses or XS' +abstract: '(DEPRECATED) capture STDOUT and STDERR from Perl code, subprocesses or XS' author: - 'Simon Flack <simonflk@cpan.org>' - 'David Golden <dagolden@cpan.org>' @@ -13,7 +13,7 @@ ExtUtils::MakeMaker: '6.17' perl: '5.006' dynamic_config: 1 -generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240' +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 @@ -21,16 +21,16 @@ name: IO-CaptureOutput no_index: directory: + - corpus + - examples - t - xt - - examples - - corpus package: - DB provides: IO::CaptureOutput: file: lib/IO/CaptureOutput.pm - version: '1.1104' + version: '1.1105' requires: Carp: '0' Exporter: '0' @@ -45,9 +45,14 @@ bugtracker: https://github.com/dagolden/IO-CaptureOutput/issues homepage: https://github.com/dagolden/IO-CaptureOutput repository: https://github.com/dagolden/IO-CaptureOutput.git -version: '1.1104' +version: '1.1105' x_authority: cpan:DAGOLDEN x_contributors: + - 'David Golden <xdg@xdg.me>' + - 'José Joaquín Atria <jjatria@gmail.com>' - 'Mike Latimer <mlatimer@suse.com>' - 'Olivier Mengué <dolmen@cpan.org>' - 'Tony Cook <tony@develop-help.com>' +x_deprecated: 1 +x_generated_by_perl: v5.30.0 +x_serialization_backend: 'YAML::Tiny version 1.73' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/Makefile.PL new/IO-CaptureOutput-1.1105/Makefile.PL --- old/IO-CaptureOutput-1.1104/Makefile.PL 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/Makefile.PL 2019-10-25 23:40:09.000000000 +0200 @@ -1,5 +1,4 @@ - -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.031. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012. use strict; use warnings; @@ -7,16 +6,13 @@ use ExtUtils::MakeMaker 6.17; - - my %WriteMakefileArgs = ( - "ABSTRACT" => "capture STDOUT and STDERR from Perl code, subprocesses or XS", + "ABSTRACT" => "(DEPRECATED) capture STDOUT and STDERR from Perl code, subprocesses or XS", "AUTHOR" => "Simon Flack <simonflk\@cpan.org>, David Golden <dagolden\@cpan.org>", "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => "6.17" }, "DISTNAME" => "IO-CaptureOutput", - "EXE_FILES" => [], "LICENSE" => "perl", "MIN_PERL_VERSION" => "5.006", "NAME" => "IO::CaptureOutput", @@ -36,7 +32,7 @@ "IO::File" => 0, "Test::More" => "0.62" }, - "VERSION" => "1.1104", + "VERSION" => "1.1105", "test" => { "TESTS" => "t/*.t" } @@ -46,7 +42,7 @@ my %FallbackPrereqs = ( "Carp" => 0, "Exporter" => 0, - "ExtUtils::MakeMaker" => "6.17", + "ExtUtils::MakeMaker" => 0, "File::Basename" => 0, "File::Spec" => "3.27", "File::Temp" => "0.16", @@ -69,10 +65,7 @@ unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; if ( $^O eq 'MSWin32' ) { - $WriteMakefileArgs{PREREQ_PM}{'File::Spec'} = '3.27'; + $WriteMakefileArgs{PREREQ_PM}{'File::Spec'} = $FallbackPrereqs{'File::Spec'} = '3.27'; } WriteMakefile(%WriteMakefileArgs); - - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/README new/IO-CaptureOutput-1.1105/README --- old/IO-CaptureOutput-1.1104/README 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/README 2019-10-25 23:40:09.000000000 +0200 @@ -1,9 +1,9 @@ NAME - IO::CaptureOutput - capture STDOUT and STDERR from Perl code, - subprocesses or XS + IO::CaptureOutput - (DEPRECATED) capture STDOUT and STDERR from Perl + code, subprocesses or XS VERSION - version 1.1104 + version 1.1105 SYNOPSIS use IO::CaptureOutput qw(capture qxx qxy); @@ -195,6 +195,10 @@ * David Golden <dagolden@cpan.org> CONTRIBUTORS + * David Golden <xdg@xdg.me> + + * José Joaquín Atria <jjatria@gmail.com> + * Mike Latimer <mlatimer@suse.com> * Olivier Mengué <dolmen@cpan.org> @@ -202,7 +206,7 @@ * Tony Cook <tony@develop-help.com> COPYRIGHT AND LICENSE - This software is copyright (c) 2015 by Simon Flack and David Golden. + This software is copyright (c) 2019 by Simon Flack 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/cpanfile new/IO-CaptureOutput-1.1105/cpanfile --- old/IO-CaptureOutput-1.1104/cpanfile 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/cpanfile 2019-10-25 23:40:09.000000000 +0200 @@ -27,6 +27,7 @@ on 'develop' => sub { requires "Dist::Zilla" => "5"; + requires "Dist::Zilla::Plugin::Deprecated" => "0"; requires "Dist::Zilla::Plugin::OSPrereqs" => "0"; requires "Dist::Zilla::Plugin::RemovePrereqs" => "0"; requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.072"; @@ -35,10 +36,16 @@ requires "IO::Handle" => "0"; requires "IPC::Open3" => "0"; requires "Pod::Coverage::TrustPod" => "0"; + 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::Perl::Critic" => "0"; requires "Test::Pod" => "1.41"; requires "Test::Pod::Coverage" => "1.08"; + requires "Test::Portability::Files" => "0"; requires "Test::Spelling" => "0.12"; requires "Test::Version" => "1"; + requires "perl" => "5.006"; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/dist.ini new/IO-CaptureOutput-1.1105/dist.ini --- old/IO-CaptureOutput-1.1104/dist.ini 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/dist.ini 2019-10-25 23:40:09.000000000 +0200 @@ -12,3 +12,5 @@ [OSPrereqs / MSWin32] File::Spec = 3.27 + +[Deprecated] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/lib/IO/CaptureOutput.pm new/IO-CaptureOutput-1.1105/lib/IO/CaptureOutput.pm --- old/IO-CaptureOutput-1.1104/lib/IO/CaptureOutput.pm 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/lib/IO/CaptureOutput.pm 2019-10-25 23:40:09.000000000 +0200 @@ -2,9 +2,9 @@ use warnings; package IO::CaptureOutput; -# ABSTRACT: capture STDOUT and STDERR from Perl code, subprocesses or XS +# ABSTRACT: (DEPRECATED) capture STDOUT and STDERR from Perl code, subprocesses or XS -our $VERSION = '1.1104'; +our $VERSION = '1.1105'; use vars qw/@ISA @EXPORT_OK %EXPORT_TAGS $CarpLevel/; use Exporter; @@ -227,11 +227,11 @@ =head1 NAME -IO::CaptureOutput - capture STDOUT and STDERR from Perl code, subprocesses or XS +IO::CaptureOutput - (DEPRECATED) capture STDOUT and STDERR from Perl code, subprocesses or XS =head1 VERSION -version 1.1104 +version 1.1105 =head1 SYNOPSIS @@ -462,12 +462,20 @@ =head1 CONTRIBUTORS -=for stopwords Mike Latimer Olivier Mengué Tony Cook +=for stopwords David Golden José Joaquín Atria Mike Latimer Olivier Mengué Tony Cook =over 4 =item * +David Golden <xdg@xdg.me> + +=item * + +José Joaquín Atria <jjatria@gmail.com> + +=item * + Mike Latimer <mlatimer@suse.com> =item * @@ -482,7 +490,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2015 by Simon Flack and David Golden. +This software is copyright (c) 2019 by Simon Flack 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/t/00-report-prereqs.dd new/IO-CaptureOutput-1.1105/t/00-report-prereqs.dd --- old/IO-CaptureOutput-1.1104/t/00-report-prereqs.dd 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/t/00-report-prereqs.dd 2019-10-25 23:40:09.000000000 +0200 @@ -8,6 +8,7 @@ 'develop' => { 'requires' => { 'Dist::Zilla' => '5', + 'Dist::Zilla::Plugin::Deprecated' => '0', 'Dist::Zilla::Plugin::OSPrereqs' => '0', 'Dist::Zilla::Plugin::RemovePrereqs' => '0', 'Dist::Zilla::PluginBundle::DAGOLDEN' => '0.072', @@ -16,12 +17,18 @@ 'IO::Handle' => '0', 'IPC::Open3' => '0', 'Pod::Coverage::TrustPod' => '0', + 'Pod::Wordlist' => '0', + 'Software::License::Perl_5' => '0', 'Test::CPAN::Meta' => '0', + 'Test::MinimumVersion' => '0', 'Test::More' => '0', + 'Test::Perl::Critic' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', + 'Test::Portability::Files' => '0', 'Test::Spelling' => '0.12', - 'Test::Version' => '1' + 'Test::Version' => '1', + 'perl' => '5.006' } }, 'runtime' => { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/t/00-report-prereqs.t new/IO-CaptureOutput-1.1105/t/00-report-prereqs.t --- old/IO-CaptureOutput-1.1104/t/00-report-prereqs.t 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/t/00-report-prereqs.t 2019-10-25 23:40:09.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027 use Test::More tests => 1; @@ -68,7 +68,7 @@ ); # Add static prereqs to the included modules list -my $static_prereqs = do 't/00-report-prereqs.dd'; +my $static_prereqs = do './t/00-report-prereqs.dd'; # Merge all prereqs (either with ::Prereqs or a hashref) my $full_prereqs = _merge_prereqs( @@ -78,12 +78,14 @@ # Add dynamic prereqs to the included modules list (if we can) my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; -if ( $source && $HAS_CPAN_META ) { - if ( my $meta = eval { CPAN::Meta->load_file($source) } ) { - $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); - } +my $cpan_meta_error; +if ( $source && $HAS_CPAN_META + && (my $meta = eval { CPAN::Meta->load_file($source) } ) +) { + $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } else { + $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source) $source = 'static metadata'; } @@ -150,9 +152,16 @@ my $ml = _max( map { length $_->[0] } @reports ); my $wl = _max( map { length $_->[1] } @reports ); my $hl = _max( map { length $_->[2] } @reports ); - splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; - push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports; + if ($type eq 'modules') { + splice @reports, 1, 0, ["-" x $ml, "", "-" x $hl]; + push @full_reports, map { sprintf(" %*s %*s\n", -$ml, $_->[0], $hl, $_->[2]) } @reports; + } + else { + splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; + push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports; + } + push @full_reports, "\n"; } } @@ -162,10 +171,18 @@ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; } +if ( $cpan_meta_error || @dep_errors ) { + diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n"; +} + +if ( $cpan_meta_error ) { + my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; + diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n"; +} + if ( @dep_errors ) { diag join("\n", - "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", - "The following REQUIRED prerequisites were not satisfied:\n", + "\nThe following REQUIRED prerequisites were not satisfied:\n", @dep_errors, "\n" ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/author/00-compile.t new/IO-CaptureOutput-1.1105/xt/author/00-compile.t --- old/IO-CaptureOutput-1.1104/xt/author/00-compile.t 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/author/00-compile.t 2019-10-25 23:40:09.000000000 +0200 @@ -2,11 +2,11 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058 use Test::More; -plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0); +plan tests => 2; my @module_files = ( 'IO/CaptureOutput.pm' @@ -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,12 +35,19 @@ # see L<perlfaq8/How can I capture STDERR from an external command?> 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); is($?, 0, "$lib loaded ok"); + shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ + and not eval { +require blib; blib->VERSION('1.01') }; + if (@_warnings) { warn @_warnings; @@ -49,6 +58,6 @@ is(scalar(@warnings), 0, 'no warnings found') - or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if $ENV{AUTHOR_TESTING}; + or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/author/critic.t new/IO-CaptureOutput-1.1105/xt/author/critic.t --- old/IO-CaptureOutput-1.1104/xt/author/critic.t 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/author/critic.t 2019-10-25 23:40:09.000000000 +0200 @@ -3,10 +3,5 @@ use strict; use warnings; -use Test::More; -use English qw(-no_match_vars); - -eval "use Test::Perl::Critic"; -plan skip_all => 'Test::Perl::Critic required to criticise code' if $@; -Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc"; +use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc"; all_critic_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/author/minimum-version.t new/IO-CaptureOutput-1.1105/xt/author/minimum-version.t --- old/IO-CaptureOutput-1.1104/xt/author/minimum-version.t 1970-01-01 01:00:00.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/author/minimum-version.t 2019-10-25 23:40:09.000000000 +0200 @@ -0,0 +1,6 @@ +use strict; +use warnings; + +use Test::More; +use Test::MinimumVersion; +all_minimum_version_ok( qq{5.010} ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/author/pod-coverage.t new/IO-CaptureOutput-1.1105/xt/author/pod-coverage.t --- old/IO-CaptureOutput-1.1104/xt/author/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/author/pod-coverage.t 2019-10-25 23:40:09.000000000 +0200 @@ -0,0 +1,7 @@ +#!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. + +use Test::Pod::Coverage 1.08; +use Pod::Coverage::TrustPod; + +all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/author/pod-spell.t new/IO-CaptureOutput-1.1105/xt/author/pod-spell.t --- old/IO-CaptureOutput-1.1104/xt/author/pod-spell.t 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/author/pod-spell.t 2019-10-25 23:40:09.000000000 +0200 @@ -2,30 +2,35 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006008 +# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005 use Test::Spelling 0.12; use Pod::Wordlist; add_stopwords(<DATA>); -all_pod_files_spelling_ok( qw( bin lib ) ); +all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ -Simon -Flack -simonflk +Atria +CaptureOutput +Cook David +Flack Golden -dagolden -and -Mike +IO +Joaquín +José Latimer -mlatimer -Olivier Mengué -dolmen +Mike +Olivier +Simon Tony -Cook -tony +and +dagolden +dolmen +jjatria lib -IO -CaptureOutput +mlatimer +simonflk +tony +xdg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/author/pod-syntax.t new/IO-CaptureOutput-1.1105/xt/author/pod-syntax.t --- old/IO-CaptureOutput-1.1104/xt/author/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/author/pod-syntax.t 2019-10-25 23:40:09.000000000 +0200 @@ -0,0 +1,7 @@ +#!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; +use Test::More; +use Test::Pod 1.41; + +all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/author/portability.t new/IO-CaptureOutput-1.1105/xt/author/portability.t --- old/IO-CaptureOutput-1.1104/xt/author/portability.t 1970-01-01 01:00:00.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/author/portability.t 2019-10-25 23:40:09.000000000 +0200 @@ -0,0 +1,10 @@ +use strict; +use warnings; + +use Test::More; + +eval 'use Test::Portability::Files'; +plan skip_all => 'Test::Portability::Files required for testing portability' + if $@; +options(test_one_dot => 0); +run_tests(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/author/test-version.t new/IO-CaptureOutput-1.1105/xt/author/test-version.t --- old/IO-CaptureOutput-1.1104/xt/author/test-version.t 1970-01-01 01:00:00.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/author/test-version.t 2019-10-25 23:40:09.000000000 +0200 @@ -0,0 +1,23 @@ +use strict; +use warnings; +use Test::More; + +# generated by Dist::Zilla::Plugin::Test::Version 1.09 +use Test::Version; + +my @imports = qw( version_all_ok ); + +my $params = { + is_strict => 0, + has_version => 1, + multiple => 0, + +}; + +push @imports, $params + if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); + +Test::Version->import(@imports); + +version_all_ok; +done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/release/minimum-version.t new/IO-CaptureOutput-1.1105/xt/release/minimum-version.t --- old/IO-CaptureOutput-1.1104/xt/release/minimum-version.t 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/release/minimum-version.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -#!perl - -use Test::More; - -eval "use Test::MinimumVersion"; -plan skip_all => "Test::MinimumVersion required for testing minimum versions" - if $@; -all_minimum_version_ok( qq{5.010} ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/release/pod-coverage.t new/IO-CaptureOutput-1.1105/xt/release/pod-coverage.t --- old/IO-CaptureOutput-1.1104/xt/release/pod-coverage.t 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/release/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -#!perl -# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. - -use Test::Pod::Coverage 1.08; -use Pod::Coverage::TrustPod; - -all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/release/pod-syntax.t new/IO-CaptureOutput-1.1105/xt/release/pod-syntax.t --- old/IO-CaptureOutput-1.1104/xt/release/pod-syntax.t 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/release/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -#!perl -# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. -use Test::More; -use Test::Pod 1.41; - -all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/release/portability.t new/IO-CaptureOutput-1.1105/xt/release/portability.t --- old/IO-CaptureOutput-1.1104/xt/release/portability.t 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/release/portability.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,12 +0,0 @@ -#!perl - -use strict; -use warnings; - -use Test::More; - -eval 'use Test::Portability::Files'; -plan skip_all => 'Test::Portability::Files required for testing portability' - if $@; -options(test_one_dot => 0); -run_tests(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-CaptureOutput-1.1104/xt/release/test-version.t new/IO-CaptureOutput-1.1105/xt/release/test-version.t --- old/IO-CaptureOutput-1.1104/xt/release/test-version.t 2015-01-24 04:04:01.000000000 +0100 +++ new/IO-CaptureOutput-1.1105/xt/release/test-version.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ -use strict; -use warnings; -use Test::More; - -# generated by Dist::Zilla::Plugin::Test::Version 0.003001 -use Test::Version; - -my @imports = ( 'version_all_ok' ); - -my $params = { - is_strict => 0, - has_version => 1, -}; - -push @imports, $params - if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); - - -Test::Version->import(@imports); - -version_all_ok; -done_testing; ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module
participants (1)
-
root