[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/11] gnu: Add python-nose-timer.
From: |
Cyril Roelandt |
Subject: |
[PATCH 06/11] gnu: Add python-nose-timer. |
Date: |
Mon, 11 Sep 2017 20:22:37 +0200 |
* gnu/packages/python.scm (python-nose-time, python2-nose-timer): New variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0487ae32b..e0b577afe 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16304,3 +16304,31 @@ ignoring formatting changes.")
(define-public python2-pydiff
(package-with-python2 python-pydiff))
+
+(define-public python-nose-timer
+ (package
+ (name "python-nose-timer")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nose-timer" version))
+ (patches
+ (search-patches
+ ;; This patch will not be needed in the next version.
+ ;; It is taken from the master branch.
+ "python-nose-timer-drop-ordereddict.patch"))
+ (sha256
+ (base32
+ "1s32ymsnby8lz2qk55ifj9zi50dqcg6swnj5cz2rmwxg2jsslsxp"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-nose" ,python-nose)
+ ("python-termcolor" ,python-termcolor)))
+ (home-page "https://github.com/mahmoudimus/nose-timer")
+ (synopsis "Timer plugin for nosetests")
+ (description "Shows how much time was needed to run individual tests.")
+ (license license:expat)))
+
+(define-public python2-nose-timer
+ (package-with-python2 python-nose-timer))
--
2.14.1
- Re: [PATCH 03/11] gnu: python-requests-toolbelt: Update to 0.8.0., (continued)
- [PATCH 01/11] gnu: Add python-pydiff., Cyril Roelandt, 2017/09/11
- [PATCH 04/11] gnu: Add python2-requests-toolbelt., Cyril Roelandt, 2017/09/11
- [PATCH 05/11] gnu: python-tox: Update to 2.8.1., Cyril Roelandt, 2017/09/11
- [PATCH 07/11] gnu: Add python-ipaddress., Cyril Roelandt, 2017/09/11
- [PATCH 06/11] gnu: Add python-nose-timer.,
Cyril Roelandt <=
- [PATCH 08/11] gnu: Update the propagated inputs of python-urllib3., Cyril Roelandt, 2017/09/11
- [PATCH 10/11] gnu: Add python-pkginfo., Cyril Roelandt, 2017/09/11
- [PATCH 11/11] gnu: Add python-twine., Cyril Roelandt, 2017/09/11
- [PATCH 09/11] gnu: Add python-tqdm., Cyril Roelandt, 2017/09/11