guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/09: gnu: Add python-reretry.


From: guix-commits
Subject: 02/09: gnu: Add python-reretry.
Date: Tue, 18 Mar 2025 09:10:44 -0400 (EDT)

rekado pushed a commit to branch python-team
in repository guix.

commit 2e2b77a827f526c42fcc4757e2baf5a2c4c4f5c2
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Mar 18 13:37:20 2025 +0100

    gnu: Add python-reretry.
    
    * gnu/packages/python-xyz.scm (python-reretry): New variable.
    
    Change-Id: Ic54bdb5eee422b12d2c0e475abb6c4f142cad1e3
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e2deffac03..cc2ad03202 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7934,6 +7934,26 @@ Microsoft Word (.docx) documents.")
      "This package provides a tiny LRU cache implementation and decorator.")
     (license license:bsd-4)))
 
+(define-public python-reretry
+  (package
+    (name "python-reretry")
+    (version "0.11.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "reretry" version))
+       (sha256
+        (base32 "1qrjsjzah8gw1bciqn8bhrj80fjjg13qg8jks7qs4bjipv71yygj"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://github.com/leshchenko1979/reretry";)
+    (synopsis "Functional decorator for retrying on exceptions")
+    (description
+     "This package is a fork from the retry package, but with some of added
+community-sourced features.  It provides an easy to use, but functional
+decorator for retrying on exceptions.")
+    (license license:asl2.0)))
+
 (define-public python-restructuredtext-lint
   (package
     (name "python-restructuredtext-lint")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]