* [bug#51933] [PATCH] gnu: Add python-logzero.
@ 2021-11-18 1:30 jgart via Guix-patches via
2021-12-26 18:18 ` bug#51933: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2021-11-18 1:30 UTC (permalink / raw)
To: 51933; +Cc: jgart
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#51933: [PATCH] gnu: Add python-logzero.
2021-11-18 1:30 [bug#51933] [PATCH] gnu: Add python-logzero jgart via Guix-patches via
@ 2021-12-26 18:18 ` Mathieu Othacehe
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2021-12-26 18:18 UTC (permalink / raw)
To: jgart; +Cc: 51933-done
> * gnu/packages/python-xyz.scm (python-logzero): New variable.
Pushed, thanks!
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-26 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 1:30 [bug#51933] [PATCH] gnu: Add python-logzero jgart via Guix-patches via
2021-12-26 18:18 ` bug#51933: " 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.