From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mEfjAJFglmFFFQEAgWs5BA (envelope-from ) for ; Thu, 18 Nov 2021 15:17:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sBMYOJBglmGkTAAAbx9fmQ (envelope-from ) for ; Thu, 18 Nov 2021 14:17:52 +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 8E270DB3C for ; Thu, 18 Nov 2021 15:17:52 +0100 (CET) Received: from localhost ([::1]:49562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mniEZ-0004hr-8B for larch@yhetil.org; Thu, 18 Nov 2021 09:17:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mniDt-0003Pi-80 for bug-guix@gnu.org; Thu, 18 Nov 2021 09:17:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mniDs-0001ys-V9 for bug-guix@gnu.org; Thu, 18 Nov 2021 09:17:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mniDs-0000gO-Os for bug-guix@gnu.org; Thu, 18 Nov 2021 09:17:08 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#51900: [PATCH 10/11] gnu: python-dbusmock: Patch reference to dbus-daemon. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Nov 2021 14:17:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51900 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51900@debbugs.gnu.org Received: via spool by 51900-submit@debbugs.gnu.org id=B51900.16372450272558 (code B ref 51900); Thu, 18 Nov 2021 14:17:08 +0000 Received: (at 51900) by debbugs.gnu.org; 18 Nov 2021 14:17:07 +0000 Received: from localhost ([127.0.0.1]:35301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mniDq-0000eq-Kx for submit@debbugs.gnu.org; Thu, 18 Nov 2021 09:17:06 -0500 Received: from mail-qk1-f175.google.com ([209.85.222.175]:40463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mniDV-0000JW-Pt for 51900@debbugs.gnu.org; Thu, 18 Nov 2021 09:16:51 -0500 Received: by mail-qk1-f175.google.com with SMTP id p4so6425153qkm.7 for <51900@debbugs.gnu.org>; Thu, 18 Nov 2021 06:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j6QJ0MMbWU5KT7hkKQLpR0rhXRoznQPKi0IpC6iuk/I=; b=EoxDr5zN+KHcplMYusa3KTFh9JEUN0clNn3tf+tq1KiQjL4mOG99Sj8GnvSViThvN6 5vP3TC4aMCyyVkS40nhsTbrfNhOhdpKMHBPrcj6CVht5dcabPSOYeCApAhwQ3C98UP3G c4Gur8zHQMwypMAPOzuHBUER2fb4gwBwI7km5dv/w/rsU/Bg8J9xORF5kVdq25RbvPAf wgIm0Q/7bmk3dIx2Wg8ABR/HCYHkZwqP/R7ZTVh5tGQL1Uyh+3MShzbqSSuRy7Ty3Ekz X0Vg7BBCI0Aqu+D1jfSQRva2/lT80bB7rhJoyDnBmN1P2WuBHCKT93BOVTZ9LSNgeCgd +fmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=j6QJ0MMbWU5KT7hkKQLpR0rhXRoznQPKi0IpC6iuk/I=; b=bDalCURiS1vKLyOqHA6pgUd+tZIqovvQEPK3DfFs9p37I6EGpA7fO9n8dcNVrlEy2O fZ6O/AKYoGiFKtptrNgLq5PGXV6A05zS286gfIZUfXVJCasyZQZM87dX2SbciMywbSR+ BeBFKZSzESOnfABjrraVL334MEjDPWzyfoH9pCGQ6rPST26L5L/EBoEEmr2v1z0s4oUK /wMTuPmclkWOO7wB21Q9BIhWKrfUwaJprdcvNbVxHYin7K6aarrLuLHUavJ4gXRFxns+ OJuMncfg8OFIIGkQy2JrVdiU3f45g9FxHkrwXCrF3x2kKPiobn0lJHF5u+EbM2u1VZAj xBvQ== X-Gm-Message-State: AOAM531GR8wtfUAgLh5MHSNrFYgBG+XyvNV1259+InTdmGSn6VQa/2RM BQCTvWtNJ3HGynM/uch5XryZtGIlukgB3g== X-Google-Smtp-Source: ABdhPJxxo+1tHA2ChWoJ8qbOzcddzHeBaRyzn40RrGWQY967cxcv3FlWStBwCM0aevhStDQADzifSw== X-Received: by 2002:a37:8607:: with SMTP id i7mr21249770qkd.159.1637245000387; Thu, 18 Nov 2021 06:16:40 -0800 (PST) Received: from localhost.localdomain (dsl-10-133-135.b2b2c.ca. [72.10.133.135]) by smtp.gmail.com with ESMTPSA id h22sm1655780qkk.14.2021.11.18.06.16.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 06:16:40 -0800 (PST) From: Maxim Cournoyer Date: Thu, 18 Nov 2021 09:16:15 -0500 Message-Id: <20211118141616.4252-10-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211118141616.4252-1-maxim.cournoyer@gmail.com> References: <20211118141616.4252-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxim Cournoyer Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637245072; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=j6QJ0MMbWU5KT7hkKQLpR0rhXRoznQPKi0IpC6iuk/I=; b=UEPrXo1rgFzGyxK6Zg5XpFkBivDWo+ZV9vVfQcHkMPse9xhHsTQG9engaDvMkLGmqAMADj tJK3l3rfANB1p9NAiPSDaL17/7go+tsxzZkLMbdBdkU4n71NMfSeeSWzCikp55WuoOqBHX 7P8ByKXnu8Fyb9vbYI/s2HYvNDA/IxycuMHO8H1K2sifJJ90vBrNHHR4NUJBcMMiHcqCPG wzlzZdsz8Knphgew9ofa+eAoMEQcANh0lYDvOfJp5Ak0ZbkJ/YQHxVErBHLB/4JN1zrVZk 2/jfowSh78iZrzsMT+5WReoevclxZ2pWR4v3wwiAubBaMoZRsCFsJTzktfxKBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637245072; a=rsa-sha256; cv=none; b=jXv3FjWv/pKoYrP792Ycx0j61XEAUuj934N3dhkJi0BDtIq1GIendqSkA8Pe0m4EZZ93lh 0glMEwKo8N/+0q/S+F830f2gxhvJZn9XZhzz7L71mi/dC3XPAaOBXf80lU0z9+OFUkB3dP uQdNTUi7CM27kGjZVQZkt6erh2lXyq+xiNjse6Y+WsFsBjOmpXLncwnPtDnSq0XHLWMOp2 /Sb5AYvop4mBNaGxN9FILnOcVvWfPiXyinvSHaJZ2FGgZXRVCv/NtnCZuv9gXvCfqcznii 1JKcxQ03VlaD6jFmm41hSirBQhCaUJS4KYVK5JS+ND4qrQX04VbZYOZn4heDZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EoxDr5zN; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EoxDr5zN; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8E270DB3C X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: w0FaLm/pbd9W * gnu/packages/python-xyz.scm (python-dbusmock) [phases]{patch-shell-path}: Rename to... {patch-paths}: ... this, and also patch the dbus-daemon reference. --- gnu/packages/python-xyz.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d02b89bc35..b0e28e48ca 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23646,15 +23646,21 @@ (define-public python-dbusmock (arguments '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-shell-path - (lambda _ + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) (substitute* "tests/test_code.py" - (("/bin/bash") (which "bash")))))))) + (("/bin/bash") (which "bash"))) + (substitute* "dbusmock/testcase.py" + (("'dbus-daemon'") + (string-append "'" (assoc-ref inputs "dbus") + "/bin/dbus-daemon'")))))))) (native-inputs `(;; For tests. ("dbus" ,dbus) ; for dbus-daemon ("python-nose" ,python-nose) ("which" ,which))) + (inputs + `(("dbus" ,dbus))) (propagated-inputs `(("python-dbus" ,python-dbus) ("python-pygobject" ,python-pygobject))) -- 2.33.1