>From 27b9b1a020841c80fbf39bc81b7c665a462d0343 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 22 Apr 2017 22:14:02 +0200 Subject: [PATCH 03/34] gnu: Add python-pytest-catchlog. * gnu/packages/python.scm (python-pytest-catchlog, python2-pytest-catchlog): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9a38fbafd..ef6c2ac5f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14022,3 +14022,28 @@ exception message with a traceback that points to the culprit.") (define-public python2-pytest-warnings (package-with-python2 python-pytest-warnings)) + +(define-public python-pytest-catchlog + (package + (name "python-pytest-catchlog") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-catchlog" version ".zip")) + (sha256 + (base32 + "1w7wxh27sbqwm4jgwrjr9c2gy384aca5jzw9c0wzhl0pmk2mvqab")))) + (build-system python-build-system) + (native-inputs + `(("unzip" ,unzip))) + (propagated-inputs + `(("pytest" ,python-pytest-3.0))) + (home-page "https://github.com/fschulze/pytest-warnings") + (synopsis "Pytest plugin to catch log messages") + (description + "Pytest plugin to catch log messages. This is a fork of pytest-capturelog.") + (license license:expat))) + +(define-public python2-pytest-catchlog + (package-with-python2 python-pytest-catchlog)) -- 2.12.2