guix-commits
[Top][All Lists]
Advanced

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

08/32: gnu: Add python-pytest-logging.


From: guix-commits
Subject: 08/32: gnu: Add python-pytest-logging.
Date: Wed, 16 Feb 2022 11:39:33 -0500 (EST)

nckx pushed a commit to branch wip-python-mne
in repository guix.

commit 5206461c1e5c775ba6c2cca32dda428507cfca95
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Thu Jan 20 22:32:09 2022 +0100

    gnu: Add python-pytest-logging.
    
    * gnu/packages/python-check.scm (python-pytest-logging): New variable.
---
 gnu/packages/python-check.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 05a378601f..547813cce7 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1978,6 +1978,31 @@ HTTP requests.")
 eliminate flaky failures.")
     (license license:mpl2.0)))
 
+(define-public python-pytest-logging
+  (package
+    (name "python-pytest-logging")
+    (version "2015.11.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-logging" version))
+       (sha256
+        (base32
+         "15n8fyxvvwmk982vj0m9yl76hn7pp4qqljfmxarbgahqrxgciiff"))))
+    (build-system python-build-system)
+    (arguments
+     `(;; The tests are not present in the pypi source, and they all fail if
+       ;; building from git
+       #:tests? #f))
+    (propagated-inputs (list python-pytest))
+    (home-page "https://github.com/saltstack/pytest-logging";)
+    (synopsis
+     "Logging with a @code{py.test} flag")
+    (description
+     "This package configures logging and allows tweaking the log level with a
+@code{py.test} flag.")
+    (license license:asl2.0)))
+
 (define-public python-xunitparser
   (package
     (name "python-xunitparser")



reply via email to

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