mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: python-mpd2: Update to 3.0.1.
* gnu/packages/mpd.scm (python-mpd2): Update to 3.0.1. [arguments]: Use pytest to run the tests. [native-inputs] Add python-pytest. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
080d80b6fe
commit
85e97c9694
1 changed files with 6 additions and 4 deletions
|
@ -285,20 +285,22 @@ (define-public mpdscribble
|
|||
(define-public python-mpd2
|
||||
(package
|
||||
(name "python-mpd2")
|
||||
(version "0.5.5")
|
||||
(version "3.0.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "python-mpd2" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0laypd7h1j14b4vrmiayqlzdsh2j5hc3zv4l0fqvbrbw9y6763ii"))))
|
||||
"0fxssbmnv44m03shjyvbqslc69b0160702j2s0flgvdxjggrnbjj"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _ (invoke "python" "mpd_test.py"))))))
|
||||
(native-inputs `(("python-mock" ,python-mock)))
|
||||
(lambda _ (invoke "python" "-m" "pytest" "mpd/tests.py"))))))
|
||||
(native-inputs
|
||||
`(("python-mock" ,python-mock)
|
||||
("python-pytest" ,python-pytest)))
|
||||
(home-page "https://github.com/Mic92/python-mpd2")
|
||||
(synopsis "Python MPD client library")
|
||||
(description "Python-mpd2 is a Python library which provides a client
|
||||
|
|
Loading…
Reference in a new issue