gnu: Add python-pytest-capturelog.

* gnu/packages/python.scm (python-pytest-capturelog,
python2-pytest-capturelog): New variables.
This commit is contained in:
Danny Milosavljevic 2017-07-15 11:46:18 +02:00
parent 841e59083d
commit a12b30a05a
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 23 additions and 0 deletions

View File

@ -14362,6 +14362,29 @@ pytest report.")
(define-public python2-pytest-warnings (define-public python2-pytest-warnings
(package-with-python2 python-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 (define-public python-pytest-catchlog
(package (package
(name "python-pytest-catchlog") (name "python-pytest-catchlog")