Subject: [bug#71540] [PATCH 6/7] gnu: python-cleo: Update to 2.1.0.

From: Antero Mejr <[email-masked]>
Date: Thu, 13 Jun 2024 19:28:35 +0000

* gnu/packages/python-xyz.scm (python-cleo): Update to 2.1.0.
[propagated-inputs]: Remove python-backpack, python-clikit, python-pastel, and
python-pylev; add python-rapidfuzz.
[native-inputs]: Add python-crashtest and python-poetry-core.

Change-Id: Idf67960e91106f5c0f7065d84fa00b7f69f5841e
---
 gnu/packages/python-xyz.scm | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5db5bb9d02..c05526b7cf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21033,19 +21033,25 @@ (define-public python-rapidfuzz
 (define-public python-cleo
   (package
     (name "python-cleo")
-    (version "0.8.1")
+    (version "2.1.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "cleo" version))
               (sha256
                (base32
-                "17q6wi3q280kxmxzb2iwnnqih2xbljn18v0bjx2ip18p079j43ix"))))
-    (build-system python-build-system)
+                "08ym7xaalxzka3k9wp7i05n6j9xmmjs1y02ilrz0lrhkbl5qhb0b"))
+              (modules '((guix build utils)))
+              (snippet
+               #~(substitute* "pyproject.toml"
+                   (("crashtest = \".*\"") "crashtest = \"^0.3.1\"")))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list ;; For testing
-           python-mock python-pytest-mock python-pytest))
-    (propagated-inputs
-     (list python-backpack python-clikit python-pastel python-pylev))
+     (list python-crashtest
+           python-mock
+           python-poetry-core
+           python-pytest-mock
+           python-pytest))
+    (propagated-inputs (list python-rapidfuzz))
     (home-page "https://github.com/sdispater/cleo")
     (synopsis "Command-line arguments library for Python")
     (description
-- 
2.41.0