summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2025-10-19 12:28:39 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2025-10-21 00:28:29 +0200
commit4cd5e933d0470a1656666112f7067b270b42d56f (patch)
tree7c77da98b771361899dcda5e3686ad9048b91aeb /gnu/packages/python-science.scm
parentaabdd4f098215801a246ce8623403abe8a9a0097 (diff)
gnu: python-scikit-misc: Remove development inputs.
* gnu/packages/python-science.scm (python-scikit-misc): [arguments][phases][fix-pytest-config]: New phase. [propagated-inputs]: Remove python-twine. [native-inputs]: Remove python-pytest-cov. Change-Id: I4f52ff2819775d65fd205f6222c8fba854161580
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d4a89c2e9e9..ce33eb570ca 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2951,6 +2951,11 @@ logic, also known as grey logic.")
'(list "--pyargs" "skmisc")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-pytest-config
+ (lambda _
+ ;; Drop test coverage requirements.
+ (substitute* "pyproject.toml"
+ (("--cov(-[^ ]*)?=[^ ]*") ""))))
(add-after 'unpack 'fix-version
(lambda _
(call-with-output-file "skmisc/_version.py"
@@ -2966,15 +2971,13 @@ logic, also known as grey logic.")
(propagated-inputs (list meson-python
python-numpy
python-numpydoc
- python-spin
- python-twine))
+ python-spin))
(native-inputs (list gfortran
pkg-config
python-cython-3
python-meson-python
python-numpy
python-pytest
- python-pytest-cov
python-setuptools
python-wheel))
(home-page "https://has2k1.github.io/scikit-misc/stable")