unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45789] [PATCH] gnu: python-mpd2: Update to 3.0.1.
@ 2021-01-11 15:34 Tanguy Le Carrour
  2021-01-12 22:20 ` bug#45789: " Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Tanguy Le Carrour @ 2021-01-11 15:34 UTC (permalink / raw)
  To: 45789; +Cc: Tanguy Le Carrour

* gnu/packages/mpd.scm (python-mpd2): Update to 3.0.1.
[arguments] Use pytest to run the tests. [native-inputs] Add python-pytest.
---
 gnu/packages/mpd.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 3b76b5502a..0183dab79c 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -285,20 +285,22 @@ information about tracks being played to a scrobbler, such as Libre.FM.")
 (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
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#45789: [PATCH] gnu: python-mpd2: Update to 3.0.1.
  2021-01-11 15:34 [bug#45789] [PATCH] gnu: python-mpd2: Update to 3.0.1 Tanguy Le Carrour
@ 2021-01-12 22:20 ` Leo Famulari
  2021-01-13  7:54   ` [bug#45789] " Tanguy LE CARROUR
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2021-01-12 22:20 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 45789-done

On Mon, Jan 11, 2021 at 04:34:07PM +0100, Tanguy Le Carrour wrote:
> * gnu/packages/mpd.scm (python-mpd2): Update to 3.0.1.
> [arguments] Use pytest to run the tests. [native-inputs] Add python-pytest.

Thanks! Pushed as 85e97c96941a2bd283faa71fdb390ff05632f254




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#45789] [PATCH] gnu: python-mpd2: Update to 3.0.1.
  2021-01-12 22:20 ` bug#45789: " Leo Famulari
@ 2021-01-13  7:54   ` Tanguy LE CARROUR
  0 siblings, 0 replies; 3+ messages in thread
From: Tanguy LE CARROUR @ 2021-01-13  7:54 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 45789-done

Hi Leo,


Excerpts from Leo Famulari's message of January 12, 2021 11:20 pm:
> On Mon, Jan 11, 2021 at 04:34:07PM +0100, Tanguy Le Carrour wrote:
>> * gnu/packages/mpd.scm (python-mpd2): Update to 3.0.1.
>> [arguments] Use pytest to run the tests. [native-inputs] Add python-pytest.
> 
> Thanks! Pushed as 85e97c96941a2bd283faa71fdb390ff05632f254

Thanks!

-- 
Tanguy




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-13  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-11 15:34 [bug#45789] [PATCH] gnu: python-mpd2: Update to 3.0.1 Tanguy Le Carrour
2021-01-12 22:20 ` bug#45789: " Leo Famulari
2021-01-13  7:54   ` [bug#45789] " Tanguy LE CARROUR

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).