[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/182: gnu: Add python-dbusmock.
From: |
guix-commits |
Subject: |
14/182: gnu: Add python-dbusmock. |
Date: |
Fri, 15 Nov 2019 00:01:23 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.
commit c79d71556f8db4042f528c0361d3f38be35a1427
Author: Kei Kebreau <address@hidden>
Date: Fri Jul 26 08:31:17 2019 -0400
gnu: Add python-dbusmock.
* gnu/packages/python-xyz.scm (python-dbusmock): New variable.
---
gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b7e50ee..adb513a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -41,7 +41,7 @@
;;; Copyright © 2017, 2018, 2019 Mathieu Othacehe <address@hidden>
;;; Copyright © 2017 José Miguel Sánchez García <address@hidden>
;;; Copyright © 2017 Roel Janssen <address@hidden>
-;;; Copyright © 2017, 2018 Kei Kebreau <address@hidden>
+;;; Copyright © 2017, 2018, 2019 Kei Kebreau <address@hidden>
;;; Copyright © 2017 Rutger Helling <address@hidden>
;;; Copyright © 2017 Muriithi Frederick Muriuki <address@hidden>
;;; Copyright © 2017, 2019 Brendan Tildesley <address@hidden>
@@ -103,6 +103,7 @@
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages graphics)
#:use-module (gnu packages gstreamer)
@@ -16869,3 +16870,40 @@ qvarious formats: PDF, PostScript, PNG and even SVG.")
(description "Pyphen is a pure Python module to hyphenate text using
existing Hunspell hyphenation dictionaries.")
(license (list license:gpl2 license:lgpl2.1 license:mpl1.1))))
+
+(define-public python-dbusmock
+ (package
+ (name "python-dbusmock")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-dbusmock" version))
+ (sha256
+ (base32
+ "1hj02p65cic4jdc6a5xf1hx8j5icwy7dcrm5kg91lkjks4gwpg5h"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/sh
+ (lambda _
+ (substitute* "tests/test_code.py"
+ (("/bin/sh") (which "sh")))
+ #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+)))
- 04/182: gnu: epiphany: Update to 3.32.3., (continued)
- 04/182: gnu: epiphany: Update to 3.32.3., guix-commits, 2019/11/15
- 08/182: gnu: gnome-bluetooth: Update to 3.32.1., guix-commits, 2019/11/15
- 02/182: gnu: baobab: Update to 3.32.0., guix-commits, 2019/11/15
- 05/182: gnu: file-roller: Update to 3.32.1., guix-commits, 2019/11/15
- 07/182: gnu: gnome-backgrounds: Update to 3.32.0., guix-commits, 2019/11/15
- 06/182: gnu: gedit: Update to 3.32.2., guix-commits, 2019/11/15
- 11/182: gnu: gnome-desktop: Update to 3.32.2., guix-commits, 2019/11/15
- 10/182: gnu: gnome-icon-theme: Update home page., guix-commits, 2019/11/15
- 13/182: gnu: gnome-settings-daemon: Update to 3.32.1., guix-commits, 2019/11/15
- 16/182: gnu: grilo: Update to 0.3.9., guix-commits, 2019/11/15
- 14/182: gnu: Add python-dbusmock.,
guix-commits <=
- 17/182: gnu: tracker: Update to 2.2.2., guix-commits, 2019/11/15
- 09/182: gnu: gsettings-desktop-schemas: Update to 3.32.0., guix-commits, 2019/11/15
- 12/182: gnu: gnome-online-accounts: Update to 3.32.0., guix-commits, 2019/11/15
- 19/182: gnu: python2-pylint: Update to 1.9.5., guix-commits, 2019/11/15
- 22/182: gnu: evolution: Update to 3.32.4., guix-commits, 2019/11/15
- 25/182: gnu: gnome-tweaks: Update to 3.32.0., guix-commits, 2019/11/15
- 27/182: gnu: nautilus: Update to 3.32.1., guix-commits, 2019/11/15
- 29/182: gnu: gnome-clocks: Update to 3.32.0., guix-commits, 2019/11/15
- 24/182: gnu: mutter: Update to 3.32.2., guix-commits, 2019/11/15
- 26/182: gnu: Add tracker-miners., guix-commits, 2019/11/15