[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: Add python-ddt.
From: |
Marius Bakke |
Subject: |
05/07: gnu: Add python-ddt. |
Date: |
Thu, 9 Feb 2017 17:47:47 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 2f4623dbd85bab738056e5898ea9a2aadfc49733
Author: Muriithi Frederick Muriuki <address@hidden>
Date: Thu Feb 9 20:48:34 2017 +0300
gnu: Add python-ddt.
* gnu/packages/python.scm (python-ddt, python2-ddt): New variables.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index da6deb5..7ee9376 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12580,3 +12580,31 @@ faster ones are not available.")
"Python module dedicated to rendering RST (reStructuredText) documents
to ansi-escaped strings suitable for display in a terminal.")
(license license:expat)))
+
+(define-public python-ddt
+ (package
+ (name "python-ddt")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ddt" version))
+ (sha256
+ (base32
+ "1c00ikkxr7lha97c81k938bzhgd4pbwamkjn0h4nkhr3xk00zp6n"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-nose" ,python-nose)))
+ (propagated-inputs
+ `(("python-six" ,python-six)
+ ("python-pyyaml" ,python-pyyaml)))
+ (home-page "https://github.com/txels/ddt")
+ (synopsis "Data-Driven Tests")
+ (description
+ "DDT (Data-Driven Tests) allows you to multiply one test case by running
+it with different test data, and make it appear as multiple test cases.")
+ (license license:expat)))
+
+(define-public python2-ddt
+ (package-with-python2 python-ddt))
- branch master updated (6554be6 -> 8fd6850), Marius Bakke, 2017/02/09
- 01/07: gnu: vte-ng: Update to 0.46.1.a., Marius Bakke, 2017/02/09
- 06/07: gnu: Add python-pycosat., Marius Bakke, 2017/02/09
- 02/07: gnu: xf86-video-intel: Update to 2.99.917-3-e4fe79c., Marius Bakke, 2017/02/09
- 03/07: gnu: Add python-rst2ansi., Marius Bakke, 2017/02/09
- 04/07: gnu: Add python-flake8-polyfill., Marius Bakke, 2017/02/09
- 05/07: gnu: Add python-ddt.,
Marius Bakke <=
- 07/07: gnu: Add python2-ruamel.ordereddict., Marius Bakke, 2017/02/09