[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/31] gnu: Add python-unittest2.
From: |
David Thompson |
Subject: |
[PATCH 10/31] gnu: Add python-unittest2. |
Date: |
Fri, 5 Sep 2014 11:18:16 -0400 |
* gnu/packages/python.scm (python-unittest2, python2-unittest2): New
variables.
---
gnu/packages/python.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 646ba81..a68c0b5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1023,6 +1023,48 @@ matching them against a list of media-ranges.")
(define-public python2-nose
(package-with-python2 python-nose))
+(define-public python-unittest2
+ (package
+ (name "python-unittest2")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://pypi.python.org/packages/source/u/unittest2py3k/unittest2py3k-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "00yl6lskygcrddx5zspkhr0ibgvpknl4678kkm6s626539grq93q"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://pypi.python.org/pypi/unittest2")
+ (synopsis "Python unit testing library")
+ (description
+ "Unittest2 is a replacement for the unittest module in the Python
+standard library.")
+ (license psfl)))
+
+(define-public python2-unittest2
+ (package (inherit python-unittest2)
+ (name "python2-unittest2")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/u/unittest2/unittest2-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0wbs4i4x3x7klr3v35ss6p9mcqz883i1xgcpkhvl7n2lyv6yhpda"))))
+ (inputs
+ `(("python2-setuptools" ,python-setuptools)))
+ (arguments
+ `(#:python ,python-2
+ #:tests? #f)))) ; no setup.py test command
+
(define-public behave
(package
(name "behave")
--
2.0.1
- Re: [PATCH 06/31] gnu: Add python-unidecode., (continued)
- [PATCH 08/31] gnu: Add python-extras., David Thompson, 2014/09/05
- [PATCH 09/31] gnu: Add python-nose., David Thompson, 2014/09/05
- [PATCH 11/31] gnu: Add python-py., David Thompson, 2014/09/05
- [PATCH 13/31] gnu: Add python-scripttest., David Thompson, 2014/09/05
- [PATCH 10/31] gnu: Add python-unittest2.,
David Thompson <=
- [PATCH 14/31] gnu: Add python-testtools., David Thompson, 2014/09/05
- [PATCH 15/31] gnu: Add python-testscenarios., David Thompson, 2014/09/05
- [PATCH 16/31] gnu: Add python-testresources., David Thompson, 2014/09/05
- [PATCH 17/31] gnu: Add python-subunit., David Thompson, 2014/09/05
- [PATCH 18/31] gnu: Add python-fixtures., David Thompson, 2014/09/05