[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39292] [PATCH 09/10] gnu: Add python-tenacity
From: |
Sebastian Schott |
Subject: |
[bug#39292] [PATCH 09/10] gnu: Add python-tenacity |
Date: |
Sat, 7 Mar 2020 16:11:45 +0100 |
* gnu/packages/python-xyz.scm (python-tenacity): New variable.
---
gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 05c9c1e5d5..989469ad27 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -172,6 +172,36 @@
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26))
+(define-public python-tenacity
+ (package
+ (name "python-tenacity")
+ (version "6.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "tenacity" version))
+ (sha256
+ (base32
+ "1j36v9fcpmmd4985ix0cwnvcq71rkrn5cjiiv0id9vkl4kpxh0gv"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-sphinx" ,python-sphinx)
+ ("python-tornado" ,python-tornado)
+ ("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-six" ,python-six)))
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest")
+ #t)))))
+ (home-page "https://github.com/jd/tenacity")
+ (synopsis "Retrying library for python")
+ (description "Tenacity is a general-purpose python library to simplify the
+task of adding retry behavior to just about anything.")
+ (license license:asl2.0)))
+
(define-public python-colorlog
(package
(name "python-colorlog")
--
2.24.0
- [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo, Sebastian Schott, 2020/03/07
- [bug#39292] [PATCH 04/10] gnu: Add python-d2to1, Sebastian Schott, 2020/03/07
- [bug#39292] [PATCH 02/10] gnu: Add python-easygui, Sebastian Schott, 2020/03/07
- [bug#39292] [PATCH 05/10] gnu: Add python-colour, Sebastian Schott, 2020/03/07
- [bug#39292] [PATCH 09/10] gnu: Add python-tenacity,
Sebastian Schott <=
- [bug#39292] [PATCH 07/10] gnu: Add python-pyprind, Sebastian Schott, 2020/03/07
- [bug#39292] [PATCH 06/10] gnu: Add python-gphoto2, Sebastian Schott, 2020/03/07
- [bug#39292] [PATCH 10/10] gnu: Add rapid-photo-downloader, Sebastian Schott, 2020/03/07
- [bug#39292] [PATCH 03/10] gnu: Add python-rawkit, Sebastian Schott, 2020/03/07
- [bug#39292] [PATCH 08/10] gnu: Add python-colorlog, Sebastian Schott, 2020/03/07
- [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo, Leo Famulari, 2020/03/15