Subject: bug#26140: [PATCH 5/7] gnu: Add python2-coverage-test-runner.

From: Arun Isaac <[email-masked]>
Date: Sun, 19 Mar 2017 00:22:54 +0530

* gnu/packages/python.scm (python2-coverage-test-runner): New variable.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f7bdae75c..667edc14b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13799,3 +13799,29 @@ from python 3.5 so that it can be used directly in python 2.6 - 3.5.")
 
 (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))
+    (propagated-inputs
+     `(("python2-coverage" ,python2-coverage)))
+    (home-page "https://liw.fi/coverage-test-runner/")
+    (synopsis "Python module for running unit tests")
+    (description "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+)))
-- 
2.11.0