[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 14/31] gnu: Add python-testtools.
From: |
David Thompson |
Subject: |
[PATCH 14/31] gnu: Add python-testtools. |
Date: |
Fri, 5 Sep 2014 11:18:20 -0400 |
* gnu/packages/python.scm (python-testtools, python2-testtools): New
variables.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b597126..2b5a1dd 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1154,6 +1154,36 @@ subprocess and see the output as well as any file
modifications.")
(define-public python2-scripttest
(package-with-python2 python-scripttest))
+(define-public python-testtools
+ (package
+ (name "python-testtools")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/t/testtools/testtools-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1dyml28ykpl5jb9khdmcdvhy1cxqingys6qvj2k04fzlaj6z3bbx"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-mimeparse" ,python-mimeparse)
+ ("python-extras" ,python-extras)))
+ (home-page "https://github.com/testing-cabal/testtools")
+ (synopsis
+ "Extensions to the Python standard library unit testing framework")
+ (description
+ "Testtools extends the Python standard library unit testing framework to
+provide matchers, more debugging information, and cross-Python
+compatibility.")
+ (license psfl)))
+
+(define-public python2-testtools
+ (package-with-python2 python-testtools))
+
(define-public behave
(package
(name "behave")
--
2.0.1
- [PATCH 08/31] gnu: Add python-extras., (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, 2014/09/05
- [PATCH 14/31] gnu: Add python-testtools.,
David Thompson <=
- [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
- [PATCH 19/31] gnu: Add python-testrepository., David Thompson, 2014/09/05