mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-mir-eval: Update to 0.8.2.
* gnu/packages/python-xyz.scm (python-mir-eval): Update to 0.8.2. [source]: Fetch from GitHub. [build-system]: Use pyproject-build-system. [arguments]: Add phase 'cd-tests' before 'check'. [propagated-inputs]: Remove python-future, python-six. Add python-decorator. [native-inputs]: Add python-pytest, python-pytest-cov, python-pytest-mpl, python-setuptools, python-wheel. [home-page]: Follow redirect. Change-Id: I63ce6b9295292595218e83edf8590134bd80a5f6
This commit is contained in:
parent
7aae3e3b8a
commit
1e44e976e7
1 changed files with 25 additions and 9 deletions
|
@ -6444,18 +6444,34 @@ server.")
|
|||
(define-public python-mir-eval
|
||||
(package
|
||||
(name "python-mir-eval")
|
||||
(version "0.7")
|
||||
(version "0.8.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "mir_eval" version))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/mir-evaluation/mir_eval")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0pp6xdflqhj2czhb2w3kk2c7mx4h2hj0n5rabiaafrbcfsjvmzp1"))))
|
||||
(build-system python-build-system)
|
||||
(propagated-inputs (list python-future python-numpy python-scipy
|
||||
python-six))
|
||||
(native-inputs (list python-matplotlib))
|
||||
(home-page "https://github.com/craffel/mir_eval")
|
||||
"0mna57q2r0cjsvgz67v6bay1c6a33wl33yna9s083wfqhjmf9bqf"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'cd-tests
|
||||
(lambda _
|
||||
;; Move to 'tests' directory because tests read data files from
|
||||
;; a relative path.
|
||||
(chdir "tests"))))))
|
||||
(propagated-inputs (list python-decorator python-numpy python-scipy))
|
||||
(native-inputs (list python-matplotlib
|
||||
python-pytest
|
||||
python-pytest-cov ; used by default
|
||||
python-pytest-mpl
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(home-page "https://github.com/mir-evaluation/mir_eval")
|
||||
(synopsis "Common metrics for common audio/music processing tasks")
|
||||
(description "This is a Python library for computing common heuristic
|
||||
accuracy scores for various music/audio information retrieval/signal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue