gnu: python-dbusmock: Update to 0.30.0.
* gnu/packages/python-xyz.scm (python-dbusmock): Update to 0.30.0. [#:phases]<patch-paths>: Adjust accordingly. [native-inputs]: Add upower. (python-dbus-minimal): New variable. * gnu/packages/gnome.scm (upower)[native-inputs]: Replace python-dbusmock with python-dbusmock-minimal. * gnu/packages/gtk.scm (at-spi2-core)[native-inputs]: Likewise. (at-spi2-core-with-documentation)[native-inputs]: Adjust accordingly. * gnu/packages/polkit.scm (polkit)[native-inputs]: Replace python-dbusmock with python-dbusmock-minimal. Change-Id: If0cd76da0495d052f94ee5d654436c4d1dd1e2c3
This commit is contained in:
parent
4c441dbb14
commit
a62f59d32d
4 changed files with 22 additions and 8 deletions
|
@ -5810,7 +5810,7 @@ faster results and to avoid unnecessary server load.")
|
||||||
python
|
python
|
||||||
;; For tests.
|
;; For tests.
|
||||||
python-dbus
|
python-dbus
|
||||||
python-dbusmock
|
python-dbusmock-minimal
|
||||||
python-packaging
|
python-packaging
|
||||||
python-pygobject
|
python-pygobject
|
||||||
umockdev
|
umockdev
|
||||||
|
|
|
@ -849,7 +849,7 @@ ever use this library.")
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
pkg-config
|
pkg-config
|
||||||
python-dbusmock
|
python-dbusmock-minimal
|
||||||
python-pytest
|
python-pytest
|
||||||
python-wrapper))
|
python-wrapper))
|
||||||
(synopsis "Assistive Technology Service Provider Interface, core components")
|
(synopsis "Assistive Technology Service Provider Interface, core components")
|
||||||
|
@ -880,7 +880,8 @@ is part of the GNOME accessibility project.")
|
||||||
"/share/doc'\n")))))))))
|
"/share/doc'\n")))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(modify-inputs (package-native-inputs at-spi2-core)
|
(modify-inputs (package-native-inputs at-spi2-core)
|
||||||
(append gi-docgen python python-sphinx)))
|
(append gi-docgen python python-sphinx)
|
||||||
|
(replace "python-dbusmock" python-dbusmock)))
|
||||||
(properties (alist-delete 'hidden?
|
(properties (alist-delete 'hidden?
|
||||||
(package-properties at-spi2-core)))))
|
(package-properties at-spi2-core)))))
|
||||||
|
|
||||||
|
|
|
@ -158,7 +158,7 @@
|
||||||
perl
|
perl
|
||||||
pkg-config
|
pkg-config
|
||||||
python
|
python
|
||||||
python-dbusmock))
|
python-dbusmock-minimal))
|
||||||
(home-page "https://www.freedesktop.org/wiki/Software/polkit/")
|
(home-page "https://www.freedesktop.org/wiki/Software/polkit/")
|
||||||
(synopsis "Authorization API for privilege management")
|
(synopsis "Authorization API for privilege management")
|
||||||
(description "Polkit is an application-level toolkit for defining and
|
(description "Polkit is an application-level toolkit for defining and
|
||||||
|
|
|
@ -27374,14 +27374,14 @@ reference implementation of the D-Bus protocol.")
|
||||||
(define-public python-dbusmock
|
(define-public python-dbusmock
|
||||||
(package
|
(package
|
||||||
(name "python-dbusmock")
|
(name "python-dbusmock")
|
||||||
(version "0.25.0")
|
(version "0.30.0")
|
||||||
(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
|
||||||
"1nwl0gzzds2g1w1gfxfzlgrkb5hr1rrdyn619ml25c6b1rjyfk3g"))))
|
"1hanz6x76jq66ypdirga5h15zjs67kwysl6rmsf0i22dbdqrxdfv"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:modules `((guix build python-build-system)
|
(list #:modules `((guix build python-build-system)
|
||||||
|
@ -27392,6 +27392,9 @@ reference implementation of the D-Bus protocol.")
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-paths
|
(add-after 'unpack 'patch-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "tests/test_api.py"
|
||||||
|
(("/usr/bin/python3")
|
||||||
|
(which "python3")))
|
||||||
(substitute* "tests/test_code.py"
|
(substitute* "tests/test_code.py"
|
||||||
(("/bin/bash")
|
(("/bin/bash")
|
||||||
(which "bash")))
|
(which "bash")))
|
||||||
|
@ -27418,11 +27421,11 @@ reference implementation of the D-Bus protocol.")
|
||||||
status))
|
status))
|
||||||
(loop)))))))))))))
|
(loop)))))))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list dbus python-pytest which))
|
(list dbus python-pytest upower which))
|
||||||
(inputs
|
(inputs
|
||||||
(list dbus))
|
(list dbus))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-dbus python-pygobject))
|
(list python-dbus-python 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
|
||||||
|
@ -27432,6 +27435,16 @@ 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-dbusmock-minimal
|
||||||
|
(package
|
||||||
|
(inherit python-dbusmock)
|
||||||
|
(name "python-dbusmock-minimal")
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments python-dbusmock)
|
||||||
|
((#:tests? _ #t) #f)))
|
||||||
|
(native-inputs (list which))
|
||||||
|
(properties '((hidden? . #t)))))
|
||||||
|
|
||||||
(define-public python-jsonplus
|
(define-public python-jsonplus
|
||||||
(package
|
(package
|
||||||
(name "python-jsonplus")
|
(name "python-jsonplus")
|
||||||
|
|
Reference in a new issue