[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: Add python-parameterized.
From: |
Ricardo Wurmus |
Subject: |
02/02: gnu: Add python-parameterized. |
Date: |
Wed, 4 Oct 2017 09:20:04 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 63aa8558ada81b291723796d940d430067ac7270
Author: Ricardo Wurmus <address@hidden>
Date: Wed Oct 4 15:03:48 2017 +0200
gnu: Add python-parameterized.
* gnu/packages/check.scm (python-parameterized, python2-parameterized): New
variables.
---
gnu/packages/check.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index fcfedb9..45ac7d7 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
;;; Copyright © 2017 Kei Kebreau <address@hidden>
;;; Copyright © 2017 ng0 <address@hidden>
+;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -294,3 +295,26 @@ generation.")
C++ but is used in C and C++ projects and frequently used in embedded systems
but it works for any C/C++ project.")
(license bsd-3)))
+
+(define-public python-parameterized
+ (package
+ (name "python-parameterized")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "parameterized" version))
+ (sha256
+ (base32
+ "1qj1939shm48d9ql6fm1nrdy4p7sdyj8clz1szh5swwpf1qqxxfa"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ; there are no tests
+ (home-page "https://github.com/wolever/parameterized")
+ (synopsis "Parameterized testing with any Python test framework")
+ (description
+ "Parameterized is a Python library that aims to fix parameterized testing
+for every Python test framework. It supports nose, py.test, and unittest.")
+ (license bsd-2)))
+
+(define-public python2-parameterized
+ (package-with-python2 python-parameterized))