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
This commit is contained in:
committed by
Git OBS Bridge
parent
6cba0752de
commit
d6d7a75d26
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cfbf3c0d928ac45b23d7f0c6cccfe6e147ef4d42ca8b21f2fbe73eab4654f938
|
||||
size 31725
|
||||
3
Text-ANSI-Util-0.22.tar.gz
Normal file
3
Text-ANSI-Util-0.22.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c96a915621c5acefa4031c755b248a25bc173b9682a0a483b7b6f8cc8a1dca02
|
||||
size 28122
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user