From d6d7a75d2642a2798492cde3a30b8d83e1e7474088a90b7831565e76eddb6d8b Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 15 Mar 2016 09:18:54 +0000 Subject: [PATCH] Accepting request 372729 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/372729 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-ANSI-Util?expand=0&rev=3 --- Text-ANSI-Util-0.21.tar.gz | 3 --- Text-ANSI-Util-0.22.tar.gz | 3 +++ perl-Text-ANSI-Util.changes | 12 ++++++++++++ perl-Text-ANSI-Util.spec | 36 +++++++++++++++--------------------- 4 files changed, 30 insertions(+), 24 deletions(-) delete mode 100644 Text-ANSI-Util-0.21.tar.gz create mode 100644 Text-ANSI-Util-0.22.tar.gz diff --git a/Text-ANSI-Util-0.21.tar.gz b/Text-ANSI-Util-0.21.tar.gz deleted file mode 100644 index d4a3a94..0000000 --- a/Text-ANSI-Util-0.21.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cfbf3c0d928ac45b23d7f0c6cccfe6e147ef4d42ca8b21f2fbe73eab4654f938 -size 31725 diff --git a/Text-ANSI-Util-0.22.tar.gz b/Text-ANSI-Util-0.22.tar.gz new file mode 100644 index 0000000..b3da107 --- /dev/null +++ b/Text-ANSI-Util-0.22.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c96a915621c5acefa4031c755b248a25bc173b9682a0a483b7b6f8cc8a1dca02 +size 28122 diff --git a/perl-Text-ANSI-Util.changes b/perl-Text-ANSI-Util.changes index f3a3b74..2e70953 100644 --- a/perl-Text-ANSI-Util.changes +++ b/perl-Text-ANSI-Util.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Mar 14 10:32:42 UTC 2016 - coolo@suse.com + +- updated to 0.22 + see /usr/share/doc/packages/perl-Text-ANSI-Util/Changes + + 0.22 2016-03-11 (PERLANCAR) + + - [Removed features] Remove Text::ANSI::NonWideUtil (ugly name), but + remove wide-character supporting functions (ta_mb*()) in + Text::ANSI::Util. + ------------------------------------------------------------------- Sun Aug 23 09:25:43 UTC 2015 - coolo@suse.com diff --git a/perl-Text-ANSI-Util.spec b/perl-Text-ANSI-Util.spec index cd559d9..00d9a37 100644 --- a/perl-Text-ANSI-Util.spec +++ b/perl-Text-ANSI-Util.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Text-ANSI-Util # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,10 +17,10 @@ Name: perl-Text-ANSI-Util -Version: 0.21 +Version: 0.22 Release: 0 %define cpan_name Text-ANSI-Util -Summary: (DEPRECATED) Routines for text containing ANSI color codes +Summary: Routines for text containing ANSI color codes License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Text-ANSI-Util/ @@ -32,42 +32,36 @@ BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::Dump) BuildRequires: perl(Test::More) >= 0.98 -Recommends: perl(Text::WideChar::Util) >= 0.10 %{perl_requires} %description -*DEPRECATION NOTICE:* To keep dependencies stay slim, since 0.17 this -module has been split into the Text::ANSI::NonWideUtil manpage (for -routines dealing with just ASCII characters, which does not depend on -Unicode/wide-char libraries) and the Text::ANSI::WideUtil manpage (for -routines supporting Unicode/wide characters). It is advised that you use -either one of the two, depending on your needs. This module might be -removed in the future. +This module provides routines for dealing with text that contains ANSI +color codes, e.g. for determining its length/width (excluding the color +codes), stripping the color codes, extracting the color codes, and so on. -This module provides routines for dealing with text containing ANSI color -codes (Select Graphic Rendition/SGR/'\e[...m' codes). +For functions that support wide characters, see Text::ANSI::WideUtil. Current caveats: * * Other ANSI codes (non-color codes) are ignored - These are codes like for altering cursor positions, etc. +These are codes like for altering cursor positions, etc. * * Single-character CSI (control sequence introducer) currently ignored - Only 'ESC+[' (two-character CSI) is currently parsed. +Only 'ESC+[' (two-character CSI) is currently parsed. - BTW, in ASCII terminals, single-character CSI is '0x9b'. In UTF-8 - terminals, it is '0xc2, 0x9b' (2 bytes). +BTW, in ASCII terminals, single-character CSI is '0x9b'. In UTF-8 +terminals, it is '0xc2, 0x9b' (2 bytes). * * Private-mode- and trailing-intermediate character currently not parsed * * Only color reset code \e[0m is recognized - For simplicity, currently multiple SGR parameters inside a single ANSI - color code is not parsed. This means that color reset code like '\e[1;0m' - or '\e[31;47;0m' is not recognized, only '\e[0m' is. I believe this - should not be a problem with most real-world text out there. +For simplicity, currently multiple SGR parameters inside a single ANSI +color code is not parsed. This means that color reset code like '\e[1;0m' +or '\e[31;47;0m' is not recognized, only '\e[0m' is. I believe this should +not be a problem with most real-world text out there. %prep %setup -q -n %{cpan_name}-%{version}