Subject: [PATCH 03/15] gnu: python-cftime: Update to 1.6.4.

From: Nicolas Graves <[email-masked]>
Date: Mon, 24 Feb 2025 07:54:50 +0100

* gnu/packages/python-xyz.scm (python-cftime): Update to 1.6.4.
[arguments]{phases}: Add phase 'remove-unwanted-dev-dependencies.
[native-inputs]: Remove python-check-manifest, python-pytest-cov. Add
python-setuptools.
---
 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 7d21beb4ce..6cf0862eed 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3719,22 +3719,28 @@ (define-public python-sh
 (define-public python-cftime
   (package
     (name "python-cftime")
-    (version "1.6.2")
+    (version "1.6.4")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "cftime" version))
        (sha256
-        (base32 "1lp6jrjjgl18csn4bcnphn0l16ag4aynvn7x0kins155p07w0546"))))
+        (base32 "1p5fw25hjqpzwxw3662f72ga30kpf8pbbph8fgb7x2kmjdhl09g3"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'remove-unwanted-dev-dependencies
+                 (lambda _
+                   (substitute* "requirements-dev.txt"
+                     (("(check-manifest|coverage|coveralls|pytest-cov|twine)")
+                      "")))))))
     (propagated-inputs
      (list python-numpy))
     (native-inputs
-     (list python-check-manifest
-           python-coverage
-           python-coveralls
-           python-cython
-           python-pytest-cov
+     (list python-cython
+           python-pytest
+           python-setuptools
            python-sphinx
            python-twine
            python-wheel))
-- 
2.48.1

-- 
Best regards,
Nicolas Graves