[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51900: [PATCH 10/11] gnu: python-dbusmock: Patch reference to dbus-d
From: |
Maxim Cournoyer |
Subject: |
bug#51900: [PATCH 10/11] gnu: python-dbusmock: Patch reference to dbus-daemon. |
Date: |
Thu, 18 Nov 2021 09:16:15 -0500 |
* 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
- bug#51900: [core-updates-frozen] xorg-server-xwayland broken, (continued)
- bug#51900: [core-updates-frozen] xorg-server-xwayland broken, Guillaume Le Vaillant, 2021/11/17
- bug#51900: [PATCH 01/11] gnu: libinput: Update to 1.19.2., Maxim Cournoyer, 2021/11/18
- bug#51900: [PATCH 04/11] gnu: xorg-server: Update to 21.1.1 and reinstate parallel tests., Maxim Cournoyer, 2021/11/18
- bug#51900: [PATCH 07/11] gnu: egl-wayland: Update to 1.1.9., Maxim Cournoyer, 2021/11/18
- bug#51900: [PATCH 11/11] gnu: mutter: Update to 41.0 and fix test (WIP)., Maxim Cournoyer, 2021/11/18
- bug#51900: [PATCH 02/11] gnu: libxkbfile: Propagate libx11 and kbproto., Maxim Cournoyer, 2021/11/18
- bug#51900: [PATCH 03/11] gnu: mesa: Update to 21.2.5., Maxim Cournoyer, 2021/11/18
- bug#51900: [PATCH 05/11] gnu: xorg-server: Enable X security extensions (xcsecurity)., Maxim Cournoyer, 2021/11/18
- bug#51900: [PATCH 08/11] gnu: xorg-server-xwayland: Update to 21.1.3 and adjust package., Maxim Cournoyer, 2021/11/18
- bug#51900: [PATCH 10/11] gnu: python-dbusmock: Patch reference to dbus-daemon.,
Maxim Cournoyer <=
- bug#51900: [PATCH 06/11] gnu: Move eglexternalplatform and egl-wayland to (gnu packages xorg)., Maxim Cournoyer, 2021/11/18
- bug#51900: [PATCH 09/11] gnu: python-dbusmock: Update to 0.24.1., Maxim Cournoyer, 2021/11/18