~ruther/guix-local

4cd5e933d0470a1656666112f7067b270b42d56f — Hartmut Goebel 4 months ago aabdd4f
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
1 files changed, 6 insertions(+), 3 deletions(-)

M gnu/packages/python-science.scm
M gnu/packages/python-science.scm => gnu/packages/python-science.scm +6 -3
@@ 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")