From 0d91c0683ddd59b33c453c73483f9c324db380b8 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 22:32:09 +0100 Subject: [PATCH v6 08/28] 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 d788935caa..c46c6638e4 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2139,6 +2139,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.36.1