BSD Ports

devel/py-colorlog 6.12.0 FreeBSD

Add colours to the output of Python logging module

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
7fb7158b05
License
MIT
Categories
devel, python
Package size
18.7 KiB, 69.2 KiB installed

Description

colorlog.ColoredFormatter is a formatter for use with Python's logging module that outputs records using terminal colors.

The ColoredFormatter class takes several arguments:

  • format: The format string used to output the message (required).
  • datefmt: An optional date format passed to the base class. See logging.Formatter.
  • reset: Implicitly adds a color reset code to the message output, unless the output already ends with one. Defaults to True.
  • log_colors: A mapping of record level names to color names. The defaults can be found in colorlog.default_log_colors.
  • secondary_log_colors: A mapping of names to log_colors style mappings, defining additional colors that can be used in format strings.
  • style: Available on Python 3.2 and above. See logging.Formatter.

In the other systems

SystemPortVersion
FreeBSDdevel/py-colorlog6.12.0
OpenBSDdevel/py-colorlog6.8.2p1
NetBSDdevel/py-colorlog6.12.0
DragonFlydevel/py-colorlog6.9.0
MidnightBSDdevel/py-colorlog6.9.0_1
HardenedBSDdevel/py-colorlog6.12.0
GhostBSDdevel/py-colorlog6.12.0

Install

Binary package:

pkg install py312-colorlog

From the ports tree:

cd /usr/ports/devel/py-colorlog/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-colorlog>0:devel/py-colorlog

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest6.12.06.12.06.7.06.9.06.12.0
FreeBSD:14:quarterly6.12.06.12.0n/a6.9.06.12.0
FreeBSD:15:latest6.12.06.12.0n/a6.9.06.9.0
FreeBSD:15:quarterly6.12.06.12.0n/an/an/a
FreeBSD:16:latest6.12.06.12.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
colorlog-6.12.0.tar.gz181512a7924c1dadf18b22a0eb8b06d1c7b01d5341707ec1641eb6fcc4fde0c3e8e5f
Master sites 1
  • PYPI

Commit history 2

DateCommitCreditsLog message
7fb7158b05 Po-Chuan Hsieh devel/py-colorlog: Update to 6.12.0
Changes: https://github.com/borntyping/python-colorlog/releases
c95ed214cb Po-Chuan Hsieh devel/py-colorlog: Update to 6.10.1
Changes: https://github.com/borntyping/python-colorlog/releases