commit perl-Getopt-Long-Descriptive for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Getopt-Long-Descriptive for openSUSE:Factory checked in at 2019-05-06 13:27:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Getopt-Long-Descriptive (Old) and /work/SRC/openSUSE:Factory/.perl-Getopt-Long-Descriptive.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Getopt-Long-Descriptive" Mon May 6 13:27:30 2019 rev:20 rq:700735 version:0.104 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Getopt-Long-Descriptive/perl-Getopt-Long-Descriptive.changes 2018-08-31 10:43:58.691169126 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Getopt-Long-Descriptive.new.5148/perl-Getopt-Long-Descriptive.changes 2019-05-06 13:27:32.189293134 +0200 @@ -1,0 +2,9 @@ +Sun Apr 28 05:13:41 UTC 2019 - Stephan Kulow <coolo@suse.com> + +- updated to 0.104 + see /usr/share/doc/packages/perl-Getopt-Long-Descriptive/Changes + + 0.104 2019-04-27 10:50:50+01:00 Europe/London + - allow for verbatim text in descripition options + +------------------------------------------------------------------- Old: ---- Getopt-Long-Descriptive-0.103.tar.gz New: ---- Getopt-Long-Descriptive-0.104.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Getopt-Long-Descriptive.spec ++++++ --- /var/tmp/diff_new_pack.aDTm5u/_old 2019-05-06 13:27:32.921294441 +0200 +++ /var/tmp/diff_new_pack.aDTm5u/_new 2019-05-06 13:27:32.921294441 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Getopt-Long-Descriptive # -# Copyright (c) 2018 SUSE LINUX 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,18 +12,18 @@ # 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-Getopt-Long-Descriptive -Version: 0.103 +Version: 0.104 Release: 0 %define cpan_name Getopt-Long-Descriptive Summary: Getopt::Long, but simpler and more powerful License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Getopt-Long-Descriptive/ +Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch @@ -55,11 +55,11 @@ %setup -q -n %{cpan_name}-%{version} %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 ++++++ Getopt-Long-Descriptive-0.103.tar.gz -> Getopt-Long-Descriptive-0.104.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/Changes new/Getopt-Long-Descriptive-0.104/Changes --- old/Getopt-Long-Descriptive-0.103/Changes 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/Changes 2019-04-27 11:50:53.000000000 +0200 @@ -1,5 +1,8 @@ Revision history for Getopt-Long-Descriptive +0.104 2019-04-27 10:50:50+01:00 Europe/London + - allow for verbatim text in descripition options + 0.103 2018-08-02 11:11:30-04:00 America/New_York - show --[no-]option for boolean toggle options diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/META.json new/Getopt-Long-Descriptive-0.104/META.json --- old/Getopt-Long-Descriptive-0.103/META.json 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/META.json 2019-04-27 11:50:53.000000000 +0200 @@ -69,10 +69,10 @@ "web" : "https://github.com/rjbs/Getopt-Long-Descriptive" } }, - "version" : "0.103", + "version" : "0.104", "x_Dist_Zilla" : { "perl" : { - "version" : "5.026001" + "version" : "5.026003" }, "plugins" : [ { @@ -92,7 +92,7 @@ } }, "name" : "@RJBS/Git::GatherDir", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", @@ -211,16 +211,16 @@ "config" : { "Dist::Zilla::Plugin::Git::NextVersion" : { "first_version" : "0.001", - "version_by_branch" : 1, + "version_by_branch" : 0, "version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.20.1", "repo_root" : "." } }, "name" : "@RJBS/Git::NextVersion", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", @@ -379,7 +379,7 @@ } }, "name" : "@RJBS/PodWeaver", - "version" : "4.009" + "version" : "4.008" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", @@ -401,19 +401,19 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.20.1", "repo_root" : "." } }, "name" : "@RJBS/@Git/Check", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [], - "commit_msg" : "v%v%n%n%c" + "commit_msg" : "v%V%n%n%c" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ @@ -424,7 +424,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.20.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -432,7 +432,7 @@ } }, "name" : "@RJBS/@Git/Commit", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -441,12 +441,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "0.103", + "tag" : "0.104", "tag_format" : "%v", - "tag_message" : "v%v" + "tag_message" : "v%V" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.20.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -454,31 +454,31 @@ } }, "name" : "@RJBS/@Git/Tag", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "config" : { "Dist::Zilla::Plugin::Git::Push" : { "push_to" : [ - "rjbs :", + "origin :", "github :" ], "remotes_must_exist" : 0 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.20.1", "repo_root" : "." } }, "name" : "@RJBS/@Git/Push", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.18.0", + "git_version" : "2.20.1", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", @@ -486,7 +486,7 @@ } }, "name" : "@RJBS/Git::Contributors", - "version" : "0.034" + "version" : "0.035" }, { "class" : "Dist::Zilla::Plugin::Breaks", @@ -588,7 +588,7 @@ "Thomas Neumann <blacky+perl@fluffbunny.de>", "zhouzhen1 <zhouzhen1@gmail.com>" ], - "x_generated_by_perl" : "v5.26.1", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.02" + "x_generated_by_perl" : "v5.26.3", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.09" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/META.yml new/Getopt-Long-Descriptive-0.104/META.yml --- old/Getopt-Long-Descriptive-0.103/META.yml 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/META.yml 2019-04-27 11:50:53.000000000 +0200 @@ -36,10 +36,10 @@ bugtracker: https://github.com/rjbs/Getopt-Long-Descriptive/issues homepage: https://github.com/rjbs/Getopt-Long-Descriptive repository: https://github.com/rjbs/Getopt-Long-Descriptive.git -version: '0.103' +version: '0.104' x_Dist_Zilla: perl: - version: '5.026001' + version: '5.026003' plugins: - class: Dist::Zilla::Plugin::Git::GatherDir @@ -55,7 +55,7 @@ Dist::Zilla::Plugin::Git::GatherDir: include_untracked: 0 name: '@RJBS/Git::GatherDir' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@RJBS/CheckPrereqsIndexed' @@ -149,13 +149,13 @@ config: Dist::Zilla::Plugin::Git::NextVersion: first_version: '0.001' - version_by_branch: 1 + version_by_branch: 0 version_regexp: (?^:^([0-9]+\.[0-9]+)$) Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.20.1 repo_root: . name: '@RJBS/Git::NextVersion' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' @@ -279,7 +279,7 @@ name: '@RJBS/List' version: '4.015' name: '@RJBS/PodWeaver' - version: '4.009' + version: '4.008' - class: Dist::Zilla::Plugin::GithubMeta name: '@RJBS/GithubMeta' @@ -296,16 +296,16 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.20.1 repo_root: . name: '@RJBS/@Git/Check' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::Git::Commit config: Dist::Zilla::Plugin::Git::Commit: add_files_in: [] - commit_msg: v%v%n%n%c + commit_msg: v%V%n%n%c Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - Changes @@ -313,12 +313,12 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.20.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@RJBS/@Git/Commit' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -326,40 +326,40 @@ branch: ~ changelog: Changes signed: 0 - tag: '0.103' + tag: '0.104' tag_format: '%v' - tag_message: v%v + tag_message: v%V Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.20.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@RJBS/@Git/Tag' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::Git::Push config: Dist::Zilla::Plugin::Git::Push: push_to: - - 'rjbs :' + - 'origin :' - 'github :' remotes_must_exist: 0 Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.20.1 repo_root: . name: '@RJBS/@Git/Push' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.18.0 + git_version: 2.20.1 include_authors: 0 include_releaser: 1 order_by: name paths: [] name: '@RJBS/Git::Contributors' - version: '0.034' + version: '0.035' - class: Dist::Zilla::Plugin::Breaks name: Breaks @@ -438,5 +438,5 @@ - 'Smylers <SMYLERS@cpan.fsck.com>' - 'Thomas Neumann <blacky+perl@fluffbunny.de>' - 'zhouzhen1 <zhouzhen1@gmail.com>' -x_generated_by_perl: v5.26.1 +x_generated_by_perl: v5.26.3 x_serialization_backend: 'YAML::Tiny version 1.73' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/Makefile.PL new/Getopt-Long-Descriptive-0.104/Makefile.PL --- old/Getopt-Long-Descriptive-0.103/Makefile.PL 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/Makefile.PL 2019-04-27 11:50:53.000000000 +0200 @@ -37,7 +37,7 @@ "Test::More" => "0.96", "Test::Warnings" => "0.005" }, - "VERSION" => "0.103", + "VERSION" => "0.104", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/README new/Getopt-Long-Descriptive-0.104/README --- old/Getopt-Long-Descriptive-0.103/README 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/README 2019-04-27 11:50:53.000000000 +0200 @@ -1,5 +1,5 @@ This archive contains the distribution Getopt-Long-Descriptive, -version 0.103: +version 0.104: Getopt::Long, but simpler and more powerful diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/lib/Getopt/Long/Descriptive/Opts.pm new/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive/Opts.pm --- old/Getopt-Long-Descriptive-0.103/lib/Getopt/Long/Descriptive/Opts.pm 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive/Opts.pm 2019-04-27 11:50:53.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; package Getopt::Long::Descriptive::Opts; # ABSTRACT: object representing command line switches -$Getopt::Long::Descriptive::Opts::VERSION = '0.103'; +$Getopt::Long::Descriptive::Opts::VERSION = '0.104'; use Scalar::Util qw(blessed weaken); #pod =head1 DESCRIPTION @@ -145,7 +145,7 @@ =head1 VERSION -version 0.103 +version 0.104 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/lib/Getopt/Long/Descriptive/Usage.pm new/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive/Usage.pm --- old/Getopt-Long-Descriptive-0.103/lib/Getopt/Long/Descriptive/Usage.pm 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive/Usage.pm 2019-04-27 11:50:53.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; package Getopt::Long::Descriptive::Usage; # ABSTRACT: the usage description for GLD -$Getopt::Long::Descriptive::Usage::VERSION = '0.103'; +$Getopt::Long::Descriptive::Usage::VERSION = '0.104'; use List::Util qw(max); #pod =head1 SYNOPSIS @@ -86,10 +86,15 @@ my $desc = $opt->{desc}; my $assign; if ($desc eq 'spacer') { - my @lines = $self->_split_description($length, $opt->{spec}); - - $string .= length($_) ? sprintf("$spec_fmt\n", $_) : "\n" for @lines; - next; + if (ref $opt->{spec}) { + $string .= "${ $opt->{spec} }\n"; + next; + } else { + my @lines = $self->_split_description($length, $opt->{spec}); + + $string .= length($_) ? sprintf("$spec_fmt\n", $_) : "\n" for @lines; + next; + } } ($spec, $assign) = Getopt::Long::Descriptive->_strip_assignment($spec); @@ -285,7 +290,7 @@ =head1 VERSION -version 0.103 +version 0.104 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/lib/Getopt/Long/Descriptive.pm new/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive.pm --- old/Getopt-Long-Descriptive-0.103/lib/Getopt/Long/Descriptive.pm 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive.pm 2019-04-27 11:50:53.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; package Getopt::Long::Descriptive; # ABSTRACT: Getopt::Long, but simpler and more powerful -$Getopt::Long::Descriptive::VERSION = '0.103'; +$Getopt::Long::Descriptive::VERSION = '0.104'; use Carp qw(carp croak); use File::Basename (); use Getopt::Long 2.33; @@ -131,7 +131,9 @@ #pod than causing a blank line to appear in the usage message. #pod #pod If the option specification contains only one element, it will be printed in -#pod the usage message with no other effect. +#pod the usage message with no other effect. If the element is a reference, its +#pod referent will be printed as-is. Otherwise, it will be reformatted like other +#pod text in the usage message. #pod #pod If the option specification contains a third element, it adds extra constraints #pod or modifiers to the interpretation and validation of the value. These are the @@ -696,7 +698,7 @@ =head1 VERSION -version 0.103 +version 0.104 =head1 SYNOPSIS @@ -816,7 +818,9 @@ than causing a blank line to appear in the usage message. If the option specification contains only one element, it will be printed in -the usage message with no other effect. +the usage message with no other effect. If the element is a reference, its +referent will be printed as-is. Otherwise, it will be reformatted like other +text in the usage message. If the option specification contains a third element, it adds extra constraints or modifiers to the interpretation and validation of the value. These are the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/t/descriptive.t new/Getopt-Long-Descriptive-0.104/t/descriptive.t --- old/Getopt-Long-Descriptive-0.103/t/descriptive.t 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/t/descriptive.t 2019-04-27 11:50:53.000000000 +0200 @@ -209,6 +209,30 @@ local @ARGV; my ($opt, $usage) = describe_options( "%c %o", + [ foo => "a foo option" ], + [], + [\"bar options:\n -> they are cool"], + [ bar => "a bar option" ], + ); + + like( + $usage->text, + qr/foo option\n[\t\x20]*\nbar options:\n -> they are cool\n\s+--bar/, + "verbatim spacer found", + ); + + local $SIG{__WARN__} = sub {}; # we know that this will warn; don't care + like( + $usage->(1), + qr/foo option\n[\t\x20]*\nbar options:\n -> they are cool\n\s+--bar/, + "CODEISH: spacer and non-option description found", + ); +} + +{ + local @ARGV; + my ($opt, $usage) = describe_options( + "%c %o", [ 'foo' => "foo option" ], [ 'bar|b' => "bar option" ], [ 'string|s=s' => "string value" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Long-Descriptive-0.103/xt/release/changes_has_content.t new/Getopt-Long-Descriptive-0.104/xt/release/changes_has_content.t --- old/Getopt-Long-Descriptive-0.103/xt/release/changes_has_content.t 2018-08-02 17:11:35.000000000 +0200 +++ new/Getopt-Long-Descriptive-0.104/xt/release/changes_has_content.t 2019-04-27 11:50:53.000000000 +0200 @@ -2,7 +2,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '0.103'; +my $newver = '0.104'; my $trial_token = '-TRIAL'; my $encoding = 'UTF-8';
participants (1)
-
root