1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

sysutils/py-concurrent-log-handler: Add new port

PR:	256268
This commit is contained in:
Lewis Cook 2021-12-21 16:49:39 +00:00
parent 961004fa4c
commit 40131f2c50
4 changed files with 33 additions and 0 deletions

View File

@ -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

View File

@ -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 <bsd.port.mk>

View File

@ -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

View File

@ -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/