[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: Add python-nose-randomly.
From: |
Marius Bakke |
Subject: |
06/06: gnu: Add python-nose-randomly. |
Date: |
Sun, 4 Jun 2017 08:54:14 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 7e488f9991cfec1ef9e8ca5d1910a65920ab2750
Author: Muriithi Frederick Muriuki <address@hidden>
Date: Sun May 28 18:32:41 2017 +0300
gnu: Add python-nose-randomly.
* gnu/packages/python.scm (python-nose-randomly, python2-nose-randomly): New
variables.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ee21611..07f4f81 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15050,3 +15050,32 @@ markdown. The documentation may contain snippets of
code surrounded by python
code blocks and @code{Steadymark} will find these snippets and run them, making
sure that there are no old malfunctional examples in the documentation
examples.")
(license license:expat)))
+
+(define-public python-nose-randomly
+ (package
+ (name "python-nose-randomly")
+ (version "1.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nose-randomly" version))
+ (sha256
+ (base32
+ "1cw9dlr1zh3w4i438kin7z0rm8092ki52hayisyc43h9pcplq7rn"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-nose" ,python-nose)
+ ("python-numpy" ,python-numpy)))
+ (home-page "https://github.com/adamchainz/nose-randomly")
+ (synopsis
+ "Nose plugin to randomly order tests and control random.seed")
+ (description
+ "This is a @code{Nose} plugin to randomly order tests which can be quite
+powerful in discovering hidden flaws in the tests themselves, while helping to
+reduce inter-test dependencies. It also helps in controlling
@code{random.seed},
+by resetting it to a repeatable number for each test, enabling the tests to
+create data based on random numbers and yet remain repeatable.")
+ (license license:bsd-3)))
+
+(define-public python2-nose-randomly
+ (package-with-python2 python-nose-randomly))
- branch master updated (c1151ec -> 7e488f9), Marius Bakke, 2017/06/04
- 03/06: gnu: Add python2-couleur., Marius Bakke, 2017/06/04
- 05/06: gnu: Add python2-steadymark., Marius Bakke, 2017/06/04
- 04/06: gnu: Add python-misaka., Marius Bakke, 2017/06/04
- 06/06: gnu: Add python-nose-randomly.,
Marius Bakke <=
- 01/06: gnu: kodi: Update to 18.0_alpha-6-f22d62d., Marius Bakke, 2017/06/04
- 02/06: gnu: Add python-sure., Marius Bakke, 2017/06/04