rekado pushed a commit to branch python-team
in repository guix.
commit 14902ea75894929279689cc009fc741b62883244
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Feb 24 07:54:50 2025 +0100
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 f2d76b56f7..2b3356be6c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3770,22 +3770,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))