gnu: python-dbusmock: Adjust indentation.

* gnu/packages/python-xyz.scm (python-dbusmock): Correct indentation in
  affected regions.
This commit is contained in:
Brett Gilio 2019-12-09 15:40:33 -06:00
parent c66bfcedb5
commit 022b0d5ff7
No known key found for this signature in database
GPG key ID: 672243C4A03F0EEE

View file

@ -16716,40 +16716,40 @@ for YAML and JSON.")
(define-public python-dbusmock (define-public python-dbusmock
(package (package
(name "python-dbusmock") (name "python-dbusmock")
(version "0.18.3") (version "0.18.3")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-dbusmock" version)) (uri (pypi-uri "python-dbusmock" version))
(sha256 (sha256
(base32 (base32
"0hp2kyac88nh9iv6l8hlmv7s1sa1s5f1a3wc2pmlmmxnd211fjlr")))) "0hp2kyac88nh9iv6l8hlmv7s1sa1s5f1a3wc2pmlmmxnd211fjlr"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-shell-path (add-after 'unpack 'patch-shell-path
(lambda _ (lambda _
(substitute* "tests/test_code.py" (substitute* "tests/test_code.py"
(("/bin/bash") (which "bash"))) (("/bin/bash") (which "bash")))
#t))))) #t)))))
(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)))
(propagated-inputs (propagated-inputs
`(("python-dbus" ,python-dbus) `(("python-dbus" ,python-dbus)
("python-pygobject" ,python-pygobject))) ("python-pygobject" ,python-pygobject)))
(home-page "https://github.com/martinpitt/python-dbusmock") (home-page "https://github.com/martinpitt/python-dbusmock")
(synopsis "Python library for mock D-Bus objects") (synopsis "Python library for mock D-Bus objects")
(description "python-dbusmock allows for the easy creation of mock objects on (description "python-dbusmock allows for the easy creation of mock objects on
D-Bus. This is useful for writing tests for software which talks to D-Bus D-Bus. This is useful for writing tests for software which talks to D-Bus
services such as upower, systemd, logind, gnome-session or others, and it is services such as upower, systemd, logind, gnome-session or others, and it is
hard (or impossible without root privileges) to set the state of the real hard (or impossible without root privileges) to set the state of the real
services to what you expect in your tests.") services to what you expect in your tests.")
(license license:lgpl3+))) (license license:lgpl3+)))
(define-public python-ujson (define-public python-ujson
(package (package