From nobody Thu Oct 28 07:18:52 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 54E001811B17; Thu, 28 Oct 2021 07:18:52 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HfxkN1ycMz4XHS; Thu, 28 Oct 2021 07:18:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 23C521F561; Thu, 28 Oct 2021 07:18:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19S7Iqkh050561; Thu, 28 Oct 2021 07:18:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19S7Iq9c050560; Thu, 28 Oct 2021 07:18:52 GMT (envelope-from git) Date: Thu, 28 Oct 2021 07:18:52 GMT Message-Id: <202110280718.19S7Iq9c050560@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 1570b78b9484 - main - devel/py-logzero: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1570b78b94840adb22f563883c73b223ad7ec73b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=1570b78b94840adb22f563883c73b223ad7ec73b commit 1570b78b94840adb22f563883c73b223ad7ec73b Author: Neal Nelson AuthorDate: 2021-10-28 01:24:45 +0000 Commit: Yasuhiro Kimura CommitDate: 2021-10-28 07:17:17 +0000 devel/py-logzero: Add new port Robust and effective logging for Python 2 and 3. PR: 256924 --- devel/Makefile | 1 + devel/py-logzero/Makefile | 15 +++++++++++++++ devel/py-logzero/distinfo | 3 +++ devel/py-logzero/pkg-descr | 18 ++++++++++++++++++ 4 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index f17f1b1eb886..3b1e3a5d8f8d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4710,6 +4710,7 @@ SUBDIR += py-logilab-common SUBDIR += py-loguru SUBDIR += py-logutils + SUBDIR += py-logzero SUBDIR += py-louie SUBDIR += py-lunardate SUBDIR += py-lxml diff --git a/devel/py-logzero/Makefile b/devel/py-logzero/Makefile new file mode 100644 index 000000000000..1a63a4f5491e --- /dev/null +++ b/devel/py-logzero/Makefile @@ -0,0 +1,15 @@ +PORTNAME= logzero +DISTVERSION= 1.7.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ports@nicandneal.net +COMMENT= Robust and effective logging for Python + +LICENSE= MIT + +USES= python +USE_PYTHON= autoplist distutils + +.include diff --git a/devel/py-logzero/distinfo b/devel/py-logzero/distinfo new file mode 100644 index 000000000000..7b43b075ef86 --- /dev/null +++ b/devel/py-logzero/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1626095363 +SHA256 (logzero-1.7.0.tar.gz) = 7f73ddd3ae393457236f081ffebd044a3aa2e423a47ae6ddb5179ab90d0ad082 +SIZE (logzero-1.7.0.tar.gz) = 577803 diff --git a/devel/py-logzero/pkg-descr b/devel/py-logzero/pkg-descr new file mode 100644 index 000000000000..d32f2943f636 --- /dev/null +++ b/devel/py-logzero/pkg-descr @@ -0,0 +1,18 @@ +Robust and effective logging for Python 2 and 3. + +- Easy logging to console and/or (rotating) file. +- Provides a fully configured standard Python logger object. +- Pretty formatting, including level-specific colors in the console. +- Windows color output supported by colorama +- Robust against str/bytes encoding problems, works with all kinds of + character encodings and special characters. +- Multiple loggers can write to the same logfile (also across multiple + Python files). +- Global default logger with logzero.logger and custom loggers with + logzero.setup_logger(..). +- Compatible with Python 2 and 3. +- All contained in a single file. +- Licensed under the MIT license. +- Heavily inspired by the Tornado web framework. + +WWW: https://github.com/metachris/logzero