From 022b0d5ff743b2b95ae8bc9dea95baa9bf78b588 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Mon, 9 Dec 2019 15:40:33 -0600 Subject: gnu: python-dbusmock: Adjust indentation. * gnu/packages/python-xyz.scm (python-dbusmock): Correct indentation in affected regions. --- gnu/packages/python-xyz.scm | 58 ++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9cf716c0e2..57c40aa3f0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16716,40 +16716,40 @@ for YAML and JSON.") (define-public python-dbusmock (package - (name "python-dbusmock") - (version "0.18.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "python-dbusmock" version)) - (sha256 + (name "python-dbusmock") + (version "0.18.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-dbusmock" version)) + (sha256 (base32 - "0hp2kyac88nh9iv6l8hlmv7s1sa1s5f1a3wc2pmlmmxnd211fjlr")))) - (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-shell-path - (lambda _ - (substitute* "tests/test_code.py" - (("/bin/bash") (which "bash"))) - #t))))) - (native-inputs - `(;; For tests. - ("dbus" ,dbus) ; for dbus-daemon - ("python-nose" ,python-nose) - ("which" ,which))) - (propagated-inputs - `(("python-dbus" ,python-dbus) - ("python-pygobject" ,python-pygobject))) - (home-page "https://github.com/martinpitt/python-dbusmock") - (synopsis "Python library for mock D-Bus objects") - (description "python-dbusmock allows for the easy creation of mock objects on + "0hp2kyac88nh9iv6l8hlmv7s1sa1s5f1a3wc2pmlmmxnd211fjlr")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-shell-path + (lambda _ + (substitute* "tests/test_code.py" + (("/bin/bash") (which "bash"))) + #t))))) + (native-inputs + `(;; For tests. + ("dbus" ,dbus) ; for dbus-daemon + ("python-nose" ,python-nose) + ("which" ,which))) + (propagated-inputs + `(("python-dbus" ,python-dbus) + ("python-pygobject" ,python-pygobject))) + (home-page "https://github.com/martinpitt/python-dbusmock") + (synopsis "Python library for mock D-Bus objects") + (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 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 services to what you expect in your tests.") - (license license:lgpl3+))) + (license license:lgpl3+))) (define-public python-ujson (package -- cgit 1.4.1