gnu: python-cftime: Fix tests.

* gnu/packages/python-xyz.scm (python-cftime) [arguments] <phases>:
Remove 'remove-unwanted-dev-dependencies, add ''remove-unwanted-pytest-options.
[native-inputs]: Remove python-sphinx.

Change-Id: Ib196a6a3781da4067d287f62f5f92b72eb024de3
This commit is contained in:
Sharlatan Hellseher 2025-03-13 08:49:03 +00:00 committed by Andreas Enge
parent de961c303b
commit a5b507230c
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -4025,10 +4025,12 @@ Unicode-to-LaTeX conversion.")
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-unwanted-dev-dependencies
(add-after 'unpack 'remove-unwanted-pytest-options
(lambda _
(substitute* "requirements-dev.txt"
(("(check-manifest|coverage|coveralls|pytest-cov|twine)")
(substitute* "setup.cfg"
(("doctest_optionflags.*")
"")
(("--cov.*")
"")))))))
(propagated-inputs
(list python-numpy))
@ -4036,7 +4038,6 @@ Unicode-to-LaTeX conversion.")
(list python-cython
python-pytest
python-setuptools
python-sphinx
python-twine
python-wheel))
(home-page "https://unidata.github.io/cftime/")