[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: python-dbusmock: Patch reference to dbus-daemon.
From: |
guix-commits |
Subject: |
10/10: gnu: python-dbusmock: Patch reference to dbus-daemon. |
Date: |
Thu, 18 Nov 2021 11:49:36 -0500 (EST) |
apteryx pushed a commit to branch core-updates-frozen
in repository guix.
commit 61576d592714610d77200a56e154784a5c8b051e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Nov 18 08:30:35 2021 -0500
gnu: python-dbusmock: Patch reference to dbus-daemon.
* 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 43ba219..603ef2a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23620,15 +23620,21 @@ for YAML and JSON.")
(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)))
- branch core-updates-frozen updated (235adae -> 61576d5), guix-commits, 2021/11/18
- 02/10: gnu: libxkbfile: Propagate libx11 and kbproto., guix-commits, 2021/11/18
- 03/10: gnu: mesa: Update to 21.2.5., guix-commits, 2021/11/18
- 01/10: gnu: libinput: Update to 1.19.2., guix-commits, 2021/11/18
- 04/10: gnu: xorg-server: Update to 21.1.1 and reinstate parallel tests., guix-commits, 2021/11/18
- 08/10: gnu: xorg-server-xwayland: Update to 21.1.3 and adjust package., guix-commits, 2021/11/18
- 06/10: gnu: Move eglexternalplatform and egl-wayland to (gnu packages xorg)., guix-commits, 2021/11/18
- 05/10: gnu: xorg-server: Enable X security extensions (xcsecurity)., guix-commits, 2021/11/18
- 07/10: gnu: egl-wayland: Update to 1.1.9., guix-commits, 2021/11/18
- 09/10: gnu: python-dbusmock: Update to 0.24.1., guix-commits, 2021/11/18
- 10/10: gnu: python-dbusmock: Patch reference to dbus-daemon.,
guix-commits <=