[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: |
Sun, 26 Jan 2020 18:24:36 +0100 |
* gnu/packages/python-xyz.scm (python-tenacity): New variable.
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 979db8be21..141c81dcf4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -168,6 +168,34 @@
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26))
+(define-public python-tenacity
+ (package
+ (name "python-tenacity")
+ (version "6.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "tenacity" version))
+ (sha256
+ (base32
+ "0w9miqmmi63yqp9lw7p6nf6gh5pa57vg60v6f94f11qqpg19gwvj"))))
+ (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"))))))
+ (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, (continued)
- [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 02/10] gnu: Add python-easygui, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 03/10] gnu: Add python-rawkit, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 06/10] gnu: Add python-gphoto2, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 07/10] gnu: Add python-pyprind, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 04/10] gnu: Add python-d2to1, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 05/10] gnu: Add python-colour, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 08/10] gnu: Add python-colorlog, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 09/10] gnu: Add python-tenacity,
Sebastian Schott <=
- [bug#39292] [PATCH 10/10] gnu: Add rapid-photo-downloader, Sebastian Schott, 2020/01/26
- [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo, Christopher Baines, 2020/01/27