guix-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]