From a12b30a05a7e2795803f043925ceb6f4b271c955 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 15 Jul 2017 11:46:18 +0200 Subject: gnu: Add python-pytest-capturelog. * gnu/packages/python.scm (python-pytest-capturelog, python2-pytest-capturelog): New variables. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1f138a8efd..1c53956fb1 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14362,6 +14362,29 @@ pytest report.") (define-public python2-pytest-warnings (package-with-python2 python-pytest-warnings)) +(define-public python-pytest-capturelog + (package + (name "python-pytest-capturelog") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-capturelog" version ".tar.gz")) + (sha256 + (base32 + "038049nyjl7di59ycnxvc9nydivc5m8np3hqq84j2iirkccdbs5n")))) + (build-system python-build-system) + (propagated-inputs + `(("pytest" ,python-pytest-3.0))) + (home-page "http://bitbucket.org/memedough/pytest-capturelog/overview") + (synopsis "Pytest plugin to catch log messages") + (description + "Python-pytest-catchlog is a pytest plugin to catch log messages.") + (license license:expat))) + +(define-public python2-pytest-capturelog + (package-with-python2 python-pytest-capturelog)) + (define-public python-pytest-catchlog (package (name "python-pytest-catchlog") -- cgit v1.2.3