[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: Add python-redo.
From: |
guix-commits |
Subject: |
02/06: gnu: Add python-redo. |
Date: |
Tue, 11 Jul 2023 23:59:51 -0400 (EDT) |
jgart pushed a commit to branch master
in repository guix.
commit b073fb9896e4c6f26a02dca31a9e8f49a16d92fa
Author: AwesomeAdam54321 <adam.faiz@disroot.org>
AuthorDate: Thu Mar 9 21:59:48 2023 +0800
gnu: Add python-redo.
* gnu/packages/python-xyz.scm (python-redo): New variable.
---
gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index eb5972dad7..6d460e286e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30468,6 +30468,41 @@ result.")
lets you write CommonMark inside of Docutils & Sphinx projects.")
(license license:expat)))
+(define-public python-redo
+ ;; The latest release isn't tagged:
+ ;; https://github.com/mozilla-releng/redo/issues/76
+ (let ((commit "50cfe8e3656f253f9e51df3a998530351d2d9a8c")
+ (revision "0"))
+ (package
+ (name "python-redo")
+ (version (git-version "2.0.4" revision commit))
+ (source
+ (origin
+ (method git-fetch) ; There are no tests in the PyPI release.
+ (uri (git-reference
+ (url "https://github.com/mozilla-releng/redo")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xpylx97qr4ikdhsr208ri41007mpp57a4n8mmlmlqmdljmsdpdb"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list python-mock
+ python-pytest))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; The project uses tox to run the tests via pytest.
+ (invoke "pytest")))))))
+ (home-page "https://github.com/mozilla-releng/redo")
+ (synopsis "Utilities to retry Python callables")
+ (description "Redo provides various means to add seamless ability to
+retry to any Python callable.")
+ (license license:mpl2.0))))
+
(define-public python-pyhull
(package
(name "python-pyhull")
- branch master updated (15f9870eb3 -> 4a027d2b0e), guix-commits, 2023/07/11
- 03/06: gnu: Add rapidcheck., guix-commits, 2023/07/11
- 02/06: gnu: Add python-redo.,
guix-commits <=
- 04/06: gnu: nix: Update to 2.16.1., guix-commits, 2023/07/11
- 01/06: gnu: Add python-cloup., guix-commits, 2023/07/11
- 06/06: gnu: rr: Fix typo in synopsis., guix-commits, 2023/07/11
- 05/06: gnu: keepassxc: Fix broken home-page url., guix-commits, 2023/07/11