From 47106519ddc6cfc4afca59099729a831f08f1626 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 22:32:09 +0100 Subject: [PATCH v5 08/32] 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 @@ (define-public python-pytest-rerunfailures 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") -- 2.34.0