aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-07-15 11:46:18 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-07-15 11:46:18 +0200
commita12b30a05a7e2795803f043925ceb6f4b271c955 (patch)
tree520a900c0ccaea5cb153afc085d5258ea302301f /gnu
parent841e59083d0481c9efcbe5e3bb4c728ad8cbd044 (diff)
downloadguix-a12b30a05a7e2795803f043925ceb6f4b271c955.tar
guix-a12b30a05a7e2795803f043925ceb6f4b271c955.tar.gz
gnu: Add python-pytest-capturelog.
* gnu/packages/python.scm (python-pytest-capturelog, python2-pytest-capturelog): New variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm23
1 files changed, 23 insertions, 0 deletions
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")