From 2d10bb2a702b170c86aad1c99ffe303851e041573047d2221fc74b23cf0bfaba Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 6 Dec 2021 13:29:12 +0000 Subject: [PATCH] Accepting request 935398 from devel:languages:perl:autoupdate - updated to 0.133 see /usr/share/doc/packages/perl-JSON-Color/Changes 0.133 2021-11-24 Released-By: PERLANCAR; Urgency: medium - [bugfix] Previous commit to work better with ColorTheme::NoColor was incomplete. Apply patch from Kevin Van Workum (RT#140117). - Observe NO_COLOR. - [test] Add test script. 0.132 2021-11-23 Released-By: PERLANCAR; Urgency: medium - Work better when using ColorTheme::NoColor (don't emit ANSI reset because there's no ANSI color set, avoid perl undef warning) (RT#140117, reported by Kevin Van Workum). - Observe object's TO_JSON() (thanks Kevin Van Workum, RT #140118). - Rename color theme modules to be more compliant with ColorTheme v2 (all modules are named under ColorTheme:: namespace). But allow searching using ColorTheme:: as well as ColorTheme::JSON::Color:: prefixes. OBS-URL: https://build.opensuse.org/request/show/935398 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-Color?expand=0&rev=4 --- JSON-Color-0.131.tar.gz | 3 --- JSON-Color-0.133.tar.gz | 3 +++ perl-JSON-Color.changes | 21 +++++++++++++++++++++ perl-JSON-Color.spec | 5 ++++- 4 files changed, 28 insertions(+), 4 deletions(-) delete mode 100644 JSON-Color-0.131.tar.gz create mode 100644 JSON-Color-0.133.tar.gz diff --git a/JSON-Color-0.131.tar.gz b/JSON-Color-0.131.tar.gz deleted file mode 100644 index fe05a39..0000000 --- a/JSON-Color-0.131.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa83ef8274717e2a6e474a32015fcb8a877a0848156a59ab931ad7d6bbae16c0 -size 18406 diff --git a/JSON-Color-0.133.tar.gz b/JSON-Color-0.133.tar.gz new file mode 100644 index 0000000..e17d1e8 --- /dev/null +++ b/JSON-Color-0.133.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6b99e4ce4443c6503d53e8208d09dccbb11301107a12cc43864c75235edb6aa +size 19609 diff --git a/perl-JSON-Color.changes b/perl-JSON-Color.changes index 8cbe3b2..b698c18 100644 --- a/perl-JSON-Color.changes +++ b/perl-JSON-Color.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Thu Nov 25 03:07:04 UTC 2021 - Tina Müller + +- updated to 0.133 + see /usr/share/doc/packages/perl-JSON-Color/Changes + + 0.133 2021-11-24 Released-By: PERLANCAR; Urgency: medium + - [bugfix] Previous commit to work better with ColorTheme::NoColor was + incomplete. Apply patch from Kevin Van Workum (RT#140117). + - Observe NO_COLOR. + - [test] Add test script. + 0.132 2021-11-23 Released-By: PERLANCAR; Urgency: medium + - Work better when using ColorTheme::NoColor (don't emit ANSI reset + because there's no ANSI color set, avoid perl undef warning) + (RT#140117, reported by Kevin Van Workum). + - Observe object's TO_JSON() (thanks Kevin Van Workum, RT #140118). + - Rename color theme modules to be more compliant with ColorTheme v2 + (all modules are named under ColorTheme:: namespace). But allow + searching using ColorTheme:: as well as ColorTheme::JSON::Color:: + prefixes. + ------------------------------------------------------------------- Sun May 9 03:08:24 UTC 2021 - Tina Müller diff --git a/perl-JSON-Color.spec b/perl-JSON-Color.spec index 5fb9364..09f64ec 100644 --- a/perl-JSON-Color.spec +++ b/perl-JSON-Color.spec @@ -18,7 +18,7 @@ %define cpan_name JSON-Color Name: perl-JSON-Color -Version: 0.131 +Version: 0.133 Release: 0 Summary: Encode to colored JSON License: Artistic-1.0 OR GPL-1.0-or-later @@ -29,14 +29,17 @@ BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Color::ANSI::Util) >= 0.164 +BuildRequires: perl(ColorTheme::NoColor) BuildRequires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006 BuildRequires: perl(ColorThemeRole::ANSI) BuildRequires: perl(Graphics::ColorNamesLite::WWW) BuildRequires: perl(Module::Load::Util) >= 0.004 BuildRequires: perl(Role::Tiny) BuildRequires: perl(Term::ANSIColor) >= 3.00 +BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(parent) Requires: perl(Color::ANSI::Util) >= 0.164 +Requires: perl(ColorTheme::NoColor) Requires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006 Requires: perl(ColorThemeRole::ANSI) Requires: perl(Graphics::ColorNamesLite::WWW)