NOTICE: This package has been removed from pkgsrc

./devel/p5-Term-ANSIColor, Perl termcap interface

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 5.01nb1, Package name: p5-Term-ANSIColor-5.01nb1, Maintainer: pkgsrc-users

This module has two interfaces, one through color() and colored()
and the other through constants. It also offers the utility function
uncolor(), which has to be explicitly imported to be used (see
"SYNOPSIS").

color() takes any number of strings as arguments and considers them
to be space-separated lists of attributes. It then forms and returns
the escape sequence to set those attributes. It doesn't print it
out, just returns it, so you'll have to print it yourself if you
want to (this is so that you can save it as a string, pass it to
something else, send it to a file handle, or do anything else with
it that you might care to).

uncolor() performs the opposite translation, turning escape sequences
into a list of strings.


Required to run:
[lang/perl5]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: d76da2b01c70e4372ddd7810a15e170ecc693e25
RMD160: 8d5a82b67fae717b384ae0eefdb6dc0e6130427d
Filesize: 56.065 KB

Version history: (Expand)


CVS history: (Expand)


   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631) | Package updated
Log message:
*: bump PKGREVISION for perl-5.32.
   2020-04-18 03:33:53 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/p5-Term-ANSIColor) Updated 4.06 to 5.01

Term::ANSIColor 5.01 (2020-01-17)

    Add support for NO_COLOR <https://no-color.org/> to suppress all
    formatting sequences.  Thanks, Andrea Telatin.

    Document that aliases are expanded during alias definition, and thus
    an alias defined in terms of another alias will not change if the
    other alias is redefined.

    Fix SYNOPSIS example of uncolor.  The function returns a list, not a
    reference to a list.  Thanks, Joe Smith.  (#131414)

Term::ANSIColor 5.00 (2020-01-05)

    Drop support for Perl 5.6.  The minimum supported version is now Perl
    5.8.  Perl 5.6 isn't supported by Travis-CI and is only spottily
    tested, so true support is dubious.

    Add suport for true color (24-bit color) via new rNNNgNNNbNNN and
    on_rNNNgNNNbNNN attributes.  These are only supported via the function
    interface, not in the constant interface.  Based on work by Lars
    Dɪᴇᴄᴋᴏᴡ 迪拉斯.  (#130083)

    Allow color aliases to map to multiple attributes instead of only one
    attribute.  Based on work by Yanick Champoux.

    Aliases may now be defined in terms of other aliases.

    Document bad interactions between colored output to standard output
    and standard error when standard output is line-buffered in a couple
    of places in the manual and suggest setting autoflush() or EACHLINE
    as a fix.  (#121974)

    Document how to support CLICOLOR <https://bixense.com/clicolors/> in
    programs using Term::ANSIColor.  (Due to backward compatibility and
    non-output uses, there's no easy way to support CLICOLOR in the module
    automatically.)

    Update to rra-c-util 8.1:

    * Update perlcritic configuration.
    * Add SPDX-License-Identifier headers to all significant files.
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-06-30 22:17:50 by Nia Alarie | Files touched by this commit (1816) | Package updated
Log message:
Update packages using a search.cpan.org HOMEPAGE to metacpan.org.

The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-10-30 06:10:11 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated devel/p5-Term-ANSIColor to 4.06
---------------------------------------
Term::ANSIColor 4.06 (2016-10-28)
    Add aliases ansi16 through ansi255 and on_ansi16 through on_ansi255
    (plus the corresponding constants) for the grey and rgb colors so that
    one can refer to all of the 256 ANSI colors with consistent names.
    These are aliases; the colors returned by uncolor will still use the
    grey and rgb names.  (#118267)
   2016-07-28 04:47:11 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 4.05

Upstream changes:
Term::ANSIColor 4.05 (2016-03-20)

    Color aliases are now restricted to ASCII alphanumerics, due to the
    below change.

    Delay loading of the Carp module and avoid using [:upper:], \w, and \d
    in regular expressions to reduce the amount of memory this module
    consumes.  (Normally, I wouldn't worry about this, but this module is
    very light-weight and can be useful even in highly space-constrained
    environments, and the impact is slight.)  Thanks, Nicolas R.
    (#111552)

    Provide a mailto address in bug tracking metadata, use the shorter
    form of the RT bug tracker URL, and fix the license value to match the
    new metadata specification.  Rework Makefile.PL so that the munging
    for older versions of ExtUtils::MakeMaker is less intrusive.

Term::ANSIColor 4.04 (2015-12-06)

    Revert the build system back to ExtUtils::MakeMaker.  This is the
    build system actually used in Perl core, so this removes a level of
    indirectly generated files and means that normal module development
    tests the same build system used by Perl.  Update Makefile.PL with the
    additional metadata from the Module::Build build system.

    For versions of Perl prior to 5.11, install the module into the Perl
    core module directories, since in those versions site modules did not
    take precedence over Perl core modules.

    Rename NEWS to Changes to match the normal Perl convention.