emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68435: closed ([PATCH] gnu: Add python-concurrent-log-handler.)


From: GNU bug Tracking System
Subject: bug#68435: closed ([PATCH] gnu: Add python-concurrent-log-handler.)
Date: Wed, 17 Jan 2024 10:02:01 +0000

Your message dated Wed, 17 Jan 2024 11:01:30 +0100
with message-id <87ply0jn2d.fsf@gnu.org>
and subject line Re: [bug#68435] [PATCH] gnu: Add python-concurrent-log-handler.
has caused the debbugs.gnu.org bug report #68435,
regarding [PATCH] gnu: Add python-concurrent-log-handler.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
68435: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68435
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-concurrent-log-handler. Date: Sat, 13 Jan 2024 21:15:49 +0100
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#68435] [PATCH] gnu: Add python-concurrent-log-handler. Date: Wed, 17 Jan 2024 11:01:30 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
> * gnu/packages/python-xyz.scm (python-concurrent-log-handler): New variable.

Applied, thanks!

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]