From owner-svn-ports-head@freebsd.org Sat Feb 9 23:27:36 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A41514D1A1D; Sat, 9 Feb 2019 23:27:36 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFB21874F5; Sat, 9 Feb 2019 23:27:35 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 82FED7C15; Sat, 9 Feb 2019 23:27:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x19NRYH7060904; Sat, 9 Feb 2019 23:27:34 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x19NRXxY060901; Sat, 9 Feb 2019 23:27:33 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201902092327.x19NRXxY060901@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 9 Feb 2019 23:27:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492536 - head/devel/py-colorlog X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/py-colorlog X-SVN-Commit-Revision: 492536 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: AFB21874F5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 23:27:36 -0000 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