guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 18/31] gnu: Add python-fixtures.


From: David Thompson
Subject: [PATCH 18/31] gnu: Add python-fixtures.
Date: Fri, 5 Sep 2014 11:18:24 -0400

* gnu/packages/python.scm (python-fixtures, python2-fixtures): 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 e48444d..76899d6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1268,6 +1268,34 @@ protocol.")
 (define-public python2-subunit
   (package-with-python2 python-subunit))
 
+(define-public python-fixtures
+  (package
+    (name "python-fixtures")
+    (version "0.3.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://pypi.python.org/packages/source/f/fixtures/fixtures-";
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0x9r2gwilcig5g54k60bxzg96zabizq1855lrprlb4zckalp9asc"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (arguments
+     '(#:tests? #f)) ; no setup.py test command
+    (home-page "https://launchpad.net/python-fixtures";)
+    (synopsis "Python test fixture library")
+    (description
+     "Fixtures provides a way to create reusable state, useful when writing
+Python tests.")
+    (license (list bsd-3 asl2.0))))
+
+(define-public python2-fixtures
+  (package-with-python2 python-fixtures))
+
 (define-public behave
   (package
     (name "behave")
-- 
2.0.1




reply via email to

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