From 9ebcce5a922a3110bdf9ce309108eb1d42974d73 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 18 Mar 2025 13:37:20 +0100 Subject: [PATCH] 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 0ab7ffc089745b1aea1226d886cf215f44948270..3bd783dd34e5fe44f148b4e53996e2e1da84c442 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8158,6 +8158,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")