[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: Add python-retry.
From: |
guix-commits |
Subject: |
04/09: gnu: Add python-retry. |
Date: |
Wed, 19 Jan 2022 04:08:25 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 7b11fd565cc1799b0ba07c121ce4e40eb772b1c9
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 19 00:11:37 2022 +0100
gnu: Add python-retry.
* gnu/packages/python-xyz.scm (python-retry): New public variable.
---
gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83dd6dafc3..223c4533a6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27050,6 +27050,31 @@ integration, human-readable errors, and standard
OS-specific locations.")
implementations.")
(license license:expat)))
+(define-public python-retry
+ (package
+ (name "python-retry")
+ (version "0.9.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "retry" version))
+ (sha256
+ (base32
"197v6qrh6858bhzzrjgk2zdqrybppymb1lsvdxnm1i39kfwsigzq"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "pytest" "-vv")))))))
+ (native-inputs (list python-pbr python-pytest))
+ (propagated-inputs (list python-decorator python-py))
+ (home-page "https://github.com/invl/retry")
+ (synopsis "Retry decorator")
+ (description
+ "@code{retry} is an easy to use retry decorator for Python. It can be
+used to retry a function a given number of times.")
+ (license license:asl2.0)))
+
(define-public python-pivy
(package
(name "python-pivy")
- branch master updated (e45f28f220 -> bf34db9914), guix-commits, 2022/01/19
- 02/09: gnu: python-geventhttpclient: Update to 1.5.3., guix-commits, 2022/01/19
- 03/09: gnu: python-flufl-testing: Explicitly disable tests., guix-commits, 2022/01/19
- 04/09: gnu: Add python-retry.,
guix-commits <=
- 06/09: gnu: python-pyzmq: Update to 22.3.0., guix-commits, 2022/01/19
- 08/09: gnu: ganeti: Fix test failure., guix-commits, 2022/01/19
- 01/09: gnu: python-flask-cors: Update to 3.0.10., guix-commits, 2022/01/19
- 05/09: gnu: Add python-roundrobin., guix-commits, 2022/01/19
- 07/09: gnu: python-locust: Update to 2.5.1., guix-commits, 2022/01/19
- 09/09: gnu: ganeti: Remove input labels., guix-commits, 2022/01/19