guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Add python-paramunittest


From: Leo Famulari
Subject: 03/05: gnu: Add python-paramunittest
Date: Tue, 28 Mar 2017 16:02:39 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 5d0c3ba856e39be207debdf5091b4431dd726273
Author: Muriithi Frederick Muriuki <address@hidden>
Date:   Sun Mar 26 12:23:34 2017 +0300

    gnu: Add python-paramunittest
    
    * gnu/packages/python.scm (python-paramunittest, python2-paramunittest): New
    variables.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ebb61f1..de459e5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13914,3 +13914,29 @@ possible to write plugins to add your own checks.")
                  ,python2-backports-functools-lru-cache)
                 ("python2-configparser" ,python2-configparser)
                 ,@(package-propagated-inputs pylint))))))
+
+(define-public python-paramunittest
+  (package
+    (name "python-paramunittest")
+    (version "0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ParamUnittest" version))
+       (sha256
+        (base32
+         "0kp793hws5xv1wvycxq7jw2pwy36f35k39jg8hx5qikij5a0jid1"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/rik0/ParamUnittest";)
+    (synopsis
+     "Simple extension to have parametrized unit tests")
+    (description
+     "This package allows to create parametrized unit-tests that work with the 
standard
+unittest package.  A parametrized test case is automatically converted to 
multiple test
+cases.  Since they are TestCase subclasses, they work with other test suites 
that
+recognize TestCases.")
+    (license license:bsd-2)))
+
+(define-public python2-python-paramunittest
+  (package-with-python2 python-paramunittest))



reply via email to

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