mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add python-coverage.
* gnu/packages/python.scm (python-coverage, python2-coverage): New variables.
This commit is contained in:
parent
b24a0c00e4
commit
243a009ada
1 changed files with 28 additions and 0 deletions
|
@ -1326,6 +1326,34 @@ (define-public python-testrepository
|
|||
(define-public python2-testrepository
|
||||
(package-with-python2 python-testrepository))
|
||||
|
||||
(define-public python-coverage
|
||||
(package
|
||||
(name "python-coverage")
|
||||
(version "3.7.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://pypi.python.org/packages/source/c/coverage/coverage-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0knlbq79g2ww6xzsyknj9rirrgrgc983dpa2d9nkdf31mb2a3bni"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(home-page "http://nedbatchelder.com/code/coverage")
|
||||
(synopsis "Code coverage measurement for Python")
|
||||
(description
|
||||
"Coverage measures code coverage, typically during test execution. It
|
||||
uses the code analysis tools and tracing hooks provided in the Python standard
|
||||
library to determine which lines are executable, and which have been
|
||||
executed.")
|
||||
(license bsd-3)))
|
||||
|
||||
(define-public python2-coverage
|
||||
(package-with-python2 python-coverage))
|
||||
|
||||
(define-public behave
|
||||
(package
|
||||
(name "behave")
|
||||
|
|
Loading…
Reference in a new issue