[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 20/31] gnu: Add python-discover.
From: |
David Thompson |
Subject: |
[PATCH 20/31] gnu: Add python-discover. |
Date: |
Fri, 5 Sep 2014 11:18:26 -0400 |
* gnu/packages/python.scm (python-discover, python2-discover): New variables.
---
gnu/packages/python.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 40e62ac..115168e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1326,6 +1326,61 @@ have failed since the last commit or what tests are
currently failing.")
(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 python-discover
+ (package
+ (name "python-discover")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/d/discover/discover-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0y8d0zwiqar51kxj8lzmkvwc3b8kazb04gk5zcb4nzg5k68zmhq5"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://pypi.python.org/pypi/discover/")
+ (synopsis
+ "Python test discovery for unittest")
+ (description
+ "Discover provides test discovery for unittest, a feature that has been
+backported from Python 2.7 for Python 2.4+")
+ (license bsd-3)))
+
+(define-public python2-discover
+ (package-with-python2 python-discover))
+
(define-public behave
(package
(name "behave")
--
2.0.1
- Re: [PATCH 26/31] gnu: Add python-pip., (continued)
- [PATCH 12/31] gnu: Add python-pytest., David Thompson, 2014/09/05
- [PATCH 28/31] gnu: Add python-jinja2., David Thompson, 2014/09/05
- [PATCH 27/31] gnu: Add python-markupsafe., David Thompson, 2014/09/05
- [PATCH 29/31] gnu: Add python-docutils., David Thompson, 2014/09/05
- [PATCH 20/31] gnu: Add python-discover.,
David Thompson <=
- [PATCH 30/31] gnu: Add python-pygments., David Thompson, 2014/09/05
- [PATCH 31/31] gnu: Add python-sphinx., David Thompson, 2014/09/05
- Re: [PATCH 01/31] gnu: Add python-exif-read., Ludovic Courtès, 2014/09/05