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

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

bug#51933: closed ([PATCH] gnu: Add python-logzero.)


From: GNU bug Tracking System
Subject: bug#51933: closed ([PATCH] gnu: Add python-logzero.)
Date: Sun, 26 Dec 2021 18:19:01 +0000

Your message dated Sun, 26 Dec 2021 19:18:04 +0100
with message-id <87ee5znsbn.fsf@gnu.org>
and subject line Re: bug#51933: [PATCH] gnu: Add python-logzero.
has caused the debbugs.gnu.org bug report #51933,
regarding [PATCH] gnu: Add python-logzero.
to be marked as done.

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


-- 
51933: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51933
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-logzero. Date: Wed, 17 Nov 2021 20:30:51 -0500
* gnu/packages/python-xyz.scm (python-logzero): 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 696028f2df..e8728ad96e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -272,6 +272,35 @@ (define-public python-janus
 design}.")
     (license license:asl2.0)))
 
+(define-public python-logzero
+  (package
+  (name "python-logzero")
+  (version "1.7.0")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "logzero" version))
+      (sha256
+        (base32 "10nh186vk6hpnpfycym44gja4fja0jyzw7q8dwimfd1rmv9xswvz"))))
+  (build-system python-build-system)
+  (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-runner" ,python-pytest-runner)))
+  (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest")))))))
+  (home-page "https://github.com/metachris/logzero";)
+  (synopsis "Robust and effective logging for Python")
+  (description
+"@code{logzero} provides a fully configured Python logger object for
+easy logging and rotating to a console or a file.")
+  (license license:expat)))
+
 (define-public python-logbook
   (package
     (name "python-logbook")
-- 
2.33.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#51933: [PATCH] gnu: Add python-logzero. Date: Sun, 26 Dec 2021 19:18:04 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
> * gnu/packages/python-xyz.scm (python-logzero): New variable.

Pushed, thanks!

Mathieu


--- End Message ---

reply via email to

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