~ruther/guix-local

e6405cf0955d515daeb2f2454bee243d416d0993 — Sharlatan Hellseher 4 months ago 7e01f6e
gnu: python-salib: Update to 1.5.2.

* gnu/packages/python-science.scm (python-salib): Update to 1.5.2.
[phases]{set-version}: New phase.
[native-inputs]: Remove python-pytest-cov; add python-hatch-vcs.

Change-Id: Ibff2633efa0f7657a40b580a3028cb71f57b923d
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 28 insertions(+), 16 deletions(-)

M gnu/packages/python-science.scm
M gnu/packages/python-science.scm => gnu/packages/python-science.scm +28 -16
@@ 2796,23 2796,35 @@ automated with the minimum of fuss and the least effort.")
(define-public python-salib
  (package
    (name "python-salib")
    (version "1.4.7")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/SALib/SALib")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18xfyzircsx2q2lmfc9lxb6xvkxicnc83qzghd7df1jsprr5ymch"))))
    (version "1.5.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/SALib/SALib")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0v7l6qbxgclz644fq1vmakfasxcdhg1g019b5w47hlxqw8fx0ipl"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-matplotlib
                             python-multiprocess
                             python-numpy
                             python-pandas
                             python-scipy))
    (native-inputs (list python-hatchling python-pytest python-pytest-cov))
    (arguments
     (list
      ;; tests: 190 passed, 1 xfailed, 28 warnings
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'set-version
            (lambda _
              (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
    (native-inputs
     (list python-hatch-vcs
           python-hatchling
           python-pytest))
    (propagated-inputs
     (list python-matplotlib
           python-multiprocess
           python-numpy
           python-pandas
           python-scipy))
    (home-page "https://salib.readthedocs.io/en/latest/")
    (synopsis "Tools for global sensitivity analysis")
    (description "SALib provides tools for global sensitivity analysis.  It