GNU bug report logs - #51933
[PATCH] gnu: Add python-logzero.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Thu, 18 Nov 2021 01:32:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51933 in the body.
You can then email your comments to 51933 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#51933; Package guix-patches. (Thu, 18 Nov 2021 01:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 18 Nov 2021 01:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
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





Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Sun, 26 Dec 2021 18:19:01 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Sun, 26 Dec 2021 18:19:01 GMT) Full text and rfc822 format available.

Message #10 received at 51933-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: jgart <jgart <at> dismail.de>
Cc: 51933-done <at> debbugs.gnu.org
Subject: Re: bug#51933: [PATCH] gnu: Add python-logzero.
Date: Sun, 26 Dec 2021 19:18:04 +0100
> * gnu/packages/python-xyz.scm (python-logzero): New variable.

Pushed, thanks!

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Jan 2022 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 100 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.