Date: Sat, 9 Feb 2019 23:27:33 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492536 - head/devel/py-colorlog Message-ID: <201902092327.x19NRXxY060901@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Feb 9 23:27:33 2019 New Revision: 492536 URL: https://svnweb.freebsd.org/changeset/ports/492536 Log: Update to 4.0.0 - Update pkg-descr - Update WWW - Take maintainership Changes: https://github.com/borntyping/python-colorlog/releases Modified: head/devel/py-colorlog/Makefile head/devel/py-colorlog/distinfo head/devel/py-colorlog/pkg-descr Modified: head/devel/py-colorlog/Makefile ============================================================================== --- head/devel/py-colorlog/Makefile Sat Feb 9 23:27:28 2019 (r492535) +++ head/devel/py-colorlog/Makefile Sat Feb 9 23:27:33 2019 (r492536) @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= colorlog -PORTVERSION= 3.1.4 +PORTVERSION= 4.0.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= python@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python module for log formatting with colors LICENSE= MIT @@ -15,9 +15,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= DOCS -NO_ARCH= yes USES= python USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes PORTDOCS= README.md Modified: head/devel/py-colorlog/distinfo ============================================================================== --- head/devel/py-colorlog/distinfo Sat Feb 9 23:27:28 2019 (r492535) +++ head/devel/py-colorlog/distinfo Sat Feb 9 23:27:33 2019 (r492536) @@ -1,3 +1,3 @@ -TIMESTAMP = 1524316411 -SHA256 (colorlog-3.1.4.tar.gz) = 418db638c9577f37f0fae4914074f395847a728158a011be2a193ac491b9779d -SIZE (colorlog-3.1.4.tar.gz) = 14424 +TIMESTAMP = 1549711726 +SHA256 (colorlog-4.0.0.tar.gz) = a6e4eb3a451b01a8a6406ba4438db328f2426847ed0e94c06982aab7a497e6ac +SIZE (colorlog-4.0.0.tar.gz) = 26375 Modified: head/devel/py-colorlog/pkg-descr ============================================================================== --- head/devel/py-colorlog/pkg-descr Sat Feb 9 23:27:28 2019 (r492535) +++ head/devel/py-colorlog/pkg-descr Sat Feb 9 23:27:33 2019 (r492536) @@ -1,6 +1,16 @@ -It allows colors to be placed in the format string, which is mostly useful -when paired with a StreamHandler that is outputting to a terminal. This is -accomplished by added a set of terminal color codes to the record before it -is used to format the string. Convenient for logging with colors support. +colorlog.ColoredFormatter is a formatter for use with Python's logging module +that outputs records using terminal colors. -WWW: https://pypi.org/project/colorlog/ +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. + +WWW: https://github.com/borntyping/python-colorlog
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902092327.x19NRXxY060901>