[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: Add python2-coverage-test-runner.
From: |
Marius Bakke |
Subject: |
05/07: gnu: Add python2-coverage-test-runner. |
Date: |
Sun, 19 Mar 2017 19:42:32 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 61550dedf3fd16d6174c48243439b232b9a4ef4f
Author: Arun Isaac <address@hidden>
Date: Sun Mar 19 00:22:54 2017 +0530
gnu: Add python2-coverage-test-runner.
* gnu/packages/python.scm (python2-coverage-test-runner): New variable.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index eb2c65f..2250061 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13799,3 +13799,34 @@ in other versions.")
(define-public python2-configparser
(package-with-python2 python-configparser))
+
+(define-public python2-coverage-test-runner
+ (package
+ (name "python2-coverage-test-runner")
+ (version "1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/"
+ "coverage-test-runner/snapshot/coverage-test-runner-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0y1m7z3dl63kmhcmydl1mwg0hacnf6ghrx9dah17j9iasssfa3g7"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero? (system* "./testrun")))))))
+ (propagated-inputs
+ `(("python2-coverage" ,python2-coverage)))
+ (home-page "https://liw.fi/coverage-test-runner/")
+ (synopsis "Python module for running unit tests")
+ (description "@code{CoverageTestRunner} is a python module for running
+unit tests and failing them if the unit test module does not excercise all
+statements in the module it tests.")
+ (license license:gpl3+)))
- branch master updated (6fdbd86 -> f75b140), Marius Bakke, 2017/03/19
- 01/07: gnu: Add python-astroid., Marius Bakke, 2017/03/19
- 04/07: gnu: Add python-configparser., Marius Bakke, 2017/03/19
- 02/07: gnu: Add python-isort., Marius Bakke, 2017/03/19
- 03/07: gnu: Add python2-backports-functools-lru-cache., Marius Bakke, 2017/03/19
- 05/07: gnu: Add python2-coverage-test-runner.,
Marius Bakke <=
- 07/07: gnu: obnam: Enable tests., Marius Bakke, 2017/03/19
- 06/07: gnu: Add python-pylint., Marius Bakke, 2017/03/19