diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-03-13 08:49:03 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:15 +0200 |
| commit | a5b507230c2ee3c8052cbcf7c5cd855c6816593e (patch) | |
| tree | 30593886a5a720c4ef247263899a756f0f427297 | |
| parent | de961c303b52fb32892a887dad161621d5c65449 (diff) | |
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
| -rw-r--r-- | gnu/packages/python-xyz.scm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6fc0552e1a..727d8c1c19 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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/") |
