[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/05: gnu: Add python-pytest-capturelog.
From: |
Danny Milosavljevic |
Subject: |
04/05: gnu: Add python-pytest-capturelog. |
Date: |
Sat, 15 Jul 2017 06:05:07 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit a12b30a05a7e2795803f043925ceb6f4b271c955
Author: Danny Milosavljevic <address@hidden>
Date: Sat Jul 15 11:46:18 2017 +0200
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(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1f138a8..1c53956 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")