* [bug#68435] [PATCH] gnu: Add python-concurrent-log-handler.
@ 2024-01-13 20:15 Troy Figiel
2024-01-17 10:01 ` bug#68435: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Troy Figiel @ 2024-01-13 20:15 UTC (permalink / raw)
To: 68435
* gnu/packages/python-xyz.scm (python-concurrent-log-handler): New variable.
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 37d7dd0dd5..422ee47200 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -398,6 +398,35 @@ (define-public python-jupytext
")
(license license:expat)))
+(define-public python-concurrent-log-handler
+ (package
+ (name "python-concurrent-log-handler")
+ (version "0.9.25")
+ ;; No tests in the PyPI tarball.
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Preston-Landers/concurrent-log-handler")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jp4zkm0idfdsrq3jzb52iqfkh6xzm7sacz1sa34ffnkyqdk3xzh"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-portalocker))
+ (native-inputs (list python-hatchling python-pytest))
+ (home-page "https://github.com/Preston-Landers/concurrent-log-handler")
+ (synopsis
+ "Additional log handler for Python's standard @code{logging} package")
+ (description
+ "This package provides an additional log handler for Python's standard
+@code{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 and rotated logs
+can be gzipped if desired. An optional threaded queue logging handler is
+provided to perform logging in the background.")
+ (license license:asl2.0)))
+
(define-public python-logzero
(package
(name "python-logzero")
base-commit: 31e736dac29e6f0ff8a2de3f28e210a68684ad21
--
2.42.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#68435: [PATCH] gnu: Add python-concurrent-log-handler.
2024-01-13 20:15 [bug#68435] [PATCH] gnu: Add python-concurrent-log-handler Troy Figiel
@ 2024-01-17 10:01 ` Mathieu Othacehe
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2024-01-17 10:01 UTC (permalink / raw)
To: Troy Figiel; +Cc: 68435-done
> * gnu/packages/python-xyz.scm (python-concurrent-log-handler): New variable.
Applied, thanks!
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-17 10:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-13 20:15 [bug#68435] [PATCH] gnu: Add python-concurrent-log-handler Troy Figiel
2024-01-17 10:01 ` bug#68435: " Mathieu Othacehe
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.