From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cMw9F7Fw/F/0WAAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 15:37:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GDcWE7Fw/F+LDgAA1q6Kng (envelope-from ) for ; Mon, 11 Jan 2021 15:37:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F2B779403AA for ; Mon, 11 Jan 2021 15:37:20 +0000 (UTC) Received: from localhost ([::1]:57904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyzFv-0007i1-P3 for larch@yhetil.org; Mon, 11 Jan 2021 10:37:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyzDj-000618-K4 for guix-patches@gnu.org; Mon, 11 Jan 2021 10:35:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46307) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyzDi-000632-HU for guix-patches@gnu.org; Mon, 11 Jan 2021 10:35:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kyzDi-0007bX-En for guix-patches@gnu.org; Mon, 11 Jan 2021 10:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45789] [PATCH] gnu: python-mpd2: Update to 3.0.1. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Jan 2021 15:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45789@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161037929529213 (code B ref -1); Mon, 11 Jan 2021 15:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jan 2021 15:34:55 +0000 Received: from localhost ([127.0.0.1]:57853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyzDa-0007b6-SO for submit@debbugs.gnu.org; Mon, 11 Jan 2021 10:34:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:48232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyzDa-0007b0-1a for submit@debbugs.gnu.org; Mon, 11 Jan 2021 10:34:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyzDZ-0005rj-Of for guix-patches@gnu.org; Mon, 11 Jan 2021 10:34:53 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:33745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyzDX-00061G-HZ for guix-patches@gnu.org; Mon, 11 Jan 2021 10:34:53 -0500 X-Originating-IP: 176.159.32.89 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPA id E9740FF811; Mon, 11 Jan 2021 15:34:45 +0000 (UTC) From: Tanguy Le Carrour Date: Mon, 11 Jan 2021 16:34:07 +0100 Message-Id: <20210111153407.32129-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.183.199; envelope-from=tanguy@bioneland.org; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tanguy Le Carrour Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.65 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: F2B779403AA X-Spam-Score: 2.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: JD3GzoNATBwy * 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