From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dF0Bl-0002kj-KG for guix-patches@gnu.org; Sun, 28 May 2017 11:33:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dF0Bk-0006S1-7c for guix-patches@gnu.org; Sun, 28 May 2017 11:33:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dF0Bk-0006Rx-3L for guix-patches@gnu.org; Sun, 28 May 2017 11:33:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dF0Bj-0007Xa-Uq for guix-patches@gnu.org; Sun, 28 May 2017 11:33:03 -0400 Subject: bug#26524: [PATCH 5/5] gnu: Add python-nose-randomly Resent-Message-ID: From: Muriithi Frederick Muriuki Date: Sun, 28 May 2017 18:32:41 +0300 Message-Id: <20170528153241.15637-5-fredmanglis@gmail.com> In-Reply-To: <20170528153241.15637-1-fredmanglis@gmail.com> References: <20170528153241.15637-1-fredmanglis@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26524@debbugs.gnu.org * gnu/packages/python.scm (python-nose-randomly, python2-nose-randomly): * New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f6b336904..1c812b372 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15055,3 +15055,33 @@ The documentation may contain snippets of code surrounded by python code blocks @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 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)) -- 2.13.0