From 090f572edf2fd17f958587c0cdd65f2c3e83f956 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 24 Feb 2025 07:54:50 +0100 Subject: [PATCH] gnu: python-cftime: Update to 1.6.4. * 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 4a4230b95c9e41d7d4f270d8128c630dbe72dda0..d51362fd111ea6339a5aa5cd6f0059acd38a05fc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4014,22 +4014,28 @@ Unicode-to-LaTeX conversion.") (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))