From nobody Tue Dec 21 16:56:01 2021 X-Original-To: dev-commits-ports-all@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 6844D18F8144; Tue, 21 Dec 2021 16:56:02 +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 4JJMzP6fhyz4Wv4; Tue, 21 Dec 2021 16:56:01 +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 B6C535789; Tue, 21 Dec 2021 16:56:01 +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 1BLGu1tr094317; Tue, 21 Dec 2021 16:56:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BLGu1OE094316; Tue, 21 Dec 2021 16:56:01 GMT (envelope-from git) Date: Tue, 21 Dec 2021 16:56:01 GMT Message-Id: <202112211656.1BLGu1OE094316@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lewis Cook Subject: git: 40131f2c50e4 - main - sysutils/py-concurrent-log-handler: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lcook X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 40131f2c50e4af829e15c6a2aca0d07445bea2b0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640105761; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U37a8yItaIf1PY/YyySBRUC2N098oISUJfXJ4pRTW+8=; b=Dy+wINUbnhfWsncJgPQDxLfV2QNiOi7mn9vvYUfN5DjGNgjKULiok5crGOyaSAKFJDD98V NLvxW4nhkh8WO/snQ7jCtwoD1/0J8d68b7y0Fmo0VaxwSUOwsRUmXnXLutGuCmgDpLrXjL PUIZpYGFcUkewgn01z717i4NYYG/mOjJbJKAnmXZm/UrhoBXvtUc4w/wRjgEH+XwMpoZqK vWlfMtEV4HpnaoOS5+CcsUDkHtdtUgH4lPlBd2h+6b+LLdOzvr7nRmiPvKIBB/6/bVp2K4 1N3DSs8YfnFLpmjqz2mnV743yK+q9wUiluRwyOYUd11LiKO1UF7HrV5jDhg0JA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640105761; a=rsa-sha256; cv=none; b=JvI0+Q+Z2V/+ruZEIvCbEqk/6Se+pmK2wZd+NbABT4waYcfOtLcrIkJ/Ywzw2N7vZ5+hl/ yGdQPBMaKhYv4xCC912SI9RarSJKQcmy+OAxODfJw1OS4Hrtk120NILyjgXIn6kEeLF9bn QNxu/t9/crykxCoKTZqAkJhQVn+kOIUWLKHMtukTzrnUN5wpZeD36Ls1TrhJ0GRvIFNroM mAFXLYJKUy4joXGbkKnuygdbadI+OKD4TXxQ0kuN+gxOGbxpfIufKxC457SRiQNrReMj4c 0n02Ts9tTnS6ouKGhqPmjk5J6QmPq+HAa2Jxeb//Fe+6kZt/e5MBeMVlznJHCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lcook: URL: https://cgit.FreeBSD.org/ports/commit/?id=40131f2c50e4af829e15c6a2aca0d07445bea2b0 commit 40131f2c50e4af829e15c6a2aca0d07445bea2b0 Author: Lewis Cook AuthorDate: 2021-12-21 16:49:39 +0000 Commit: Lewis Cook CommitDate: 2021-12-21 16:54:57 +0000 sysutils/py-concurrent-log-handler: Add new port PR: 256268 --- sysutils/Makefile | 1 + sysutils/py-concurrent-log-handler/Makefile | 18 ++++++++++++++++++ sysutils/py-concurrent-log-handler/distinfo | 3 +++ sysutils/py-concurrent-log-handler/pkg-descr | 11 +++++++++++ 4 files changed, 33 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 391750bd7490..b9adca679046 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1023,6 +1023,7 @@ SUBDIR += py-azure-cli-telemetry SUBDIR += py-bitrot SUBDIR += py-borgmatic + SUBDIR += py-concurrent-log-handler SUBDIR += py-cron-descriptor SUBDIR += py-croniter SUBDIR += py-dict-toolbox diff --git a/sysutils/py-concurrent-log-handler/Makefile b/sysutils/py-concurrent-log-handler/Makefile new file mode 100644 index 000000000000..9fdc9e43e2cf --- /dev/null +++ b/sysutils/py-concurrent-log-handler/Makefile @@ -0,0 +1,18 @@ +PORTNAME= concurrent-log-handler +DISTVERSION= 0.9.19 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= risner@stdio.com +COMMENT= RotatingFileHandler replacement with concurrency, gzip + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}portalocker>=1.4.0:devel/py-portalocker@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +.include diff --git a/sysutils/py-concurrent-log-handler/distinfo b/sysutils/py-concurrent-log-handler/distinfo new file mode 100644 index 000000000000..5b05a5d9b4c0 --- /dev/null +++ b/sysutils/py-concurrent-log-handler/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1622378074 +SHA256 (concurrent-log-handler-0.9.19.tar.gz) = b12f79abed3f94121c25ce9c24cdb57d889282ec6ff61f5535ab2068dc37d409 +SIZE (concurrent-log-handler-0.9.19.tar.gz) = 20780 diff --git a/sysutils/py-concurrent-log-handler/pkg-descr b/sysutils/py-concurrent-log-handler/pkg-descr new file mode 100644 index 000000000000..6343eaa48859 --- /dev/null +++ b/sysutils/py-concurrent-log-handler/pkg-descr @@ -0,0 +1,11 @@ +This package provides an additional log handler for Python's standard logging +package (PEP 282). This handler will write log events to a log file which is +rotated when the log file reaches a certain size. Multiple processes can +safely write to the same log file concurrently. Rotated logs can be gzipped +if desired. Both Windows and POSIX systems are supported. An optional threaded +queue logging handler is provided to perform logging in the background. + +This is a fork of Lowell Alleman's ConcurrentLogHandler 0.9.1 which fixes +a hanging/deadlocking problem. + +WWW: https://pypi.org/project/concurrent-log-handler/