[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/31] gnu: Add python-testscenarios.
From: |
David Thompson |
Subject: |
[PATCH 15/31] gnu: Add python-testscenarios. |
Date: |
Fri, 5 Sep 2014 11:18:21 -0400 |
* gnu/packages/python.scm (python-testscenarios, python2-testscenarios): New
variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2b5a1dd..0338ccc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1184,6 +1184,34 @@ compatibility.")
(define-public python2-testtools
(package-with-python2 python-testtools))
+(define-public python-testscenarios
+ (package
+ (name "python-testscenarios")
+ (version "0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://pypi.python.org/packages/source/t/testscenarios/testscenarios-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1671jvrvqlmbnc42j7pc5y6vc37q44aiwrq0zic652pxyy2fxvjg"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-testtools" ,python-testtools)
+ ("python-mimeparse" ,python-mimeparse)))
+ (home-page "https://launchpad.net/testscenarios")
+ (synopsis "Pyunit extension for dependency injection")
+ (description
+ "Testscenarios provides clean dependency injection for Python unittest
+style tests.")
+ (license (list bsd-3 asl2.0))))
+
+(define-public python2-testscenarios
+ (package-with-python2 python-testscenarios))
+
(define-public behave
(package
(name "behave")
--
2.0.1
- [PATCH 09/31] gnu: Add python-nose., (continued)
- [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, 2014/09/05
- [PATCH 15/31] gnu: Add python-testscenarios.,
David Thompson <=
- [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
- [PATCH 21/31] gnu: Add python-pyjwt., David Thompson, 2014/09/05