mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
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.
This commit is contained in:
parent
416c706729
commit
61576d5927
1 changed files with 9 additions and 3 deletions
|
@ -23620,15 +23620,21 @@ (define-public python-dbusmock
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-shell-path
|
(add-after 'unpack 'patch-paths
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "tests/test_code.py"
|
(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
|
(native-inputs
|
||||||
`(;; For tests.
|
`(;; For tests.
|
||||||
("dbus" ,dbus) ; for dbus-daemon
|
("dbus" ,dbus) ; for dbus-daemon
|
||||||
("python-nose" ,python-nose)
|
("python-nose" ,python-nose)
|
||||||
("which" ,which)))
|
("which" ,which)))
|
||||||
|
(inputs
|
||||||
|
`(("dbus" ,dbus)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-dbus" ,python-dbus)
|
`(("python-dbus" ,python-dbus)
|
||||||
("python-pygobject" ,python-pygobject)))
|
("python-pygobject" ,python-pygobject)))
|
||||||
|
|
Loading…
Reference in a new issue