diff options
author | Mart Raudsepp <leio@gentoo.org> | 2017-05-28 18:22:07 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2017-05-28 18:24:10 +0300 |
commit | 990e3963ab5de8bede3588443fad2997a08d58e8 (patch) | |
tree | 979aaa046052c6e4bba98dcadd80764f7d916fc9 /gnome-base | |
parent | dev-python/dbusmock: New package for easily running tests by D-Bus requiring ... (diff) | |
download | gentoo-990e3963ab5de8bede3588443fad2997a08d58e8.tar.gz gentoo-990e3963ab5de8bede3588443fad2997a08d58e8.tar.bz2 gentoo-990e3963ab5de8bede3588443fad2997a08d58e8.zip |
gnome-base/gnome-settings-daemon: prepare for dbusmock tests, but still disabled due to failures
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'gnome-base')
-rw-r--r-- | gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.24.0.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.24.0.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.24.0.ebuild index b2b2e7cdcd87..29d5996402cf 100644 --- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.24.0.ebuild +++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.24.0.ebuild @@ -4,7 +4,7 @@ EAPI=6 GNOME2_EAUTORECONF="yes" GNOME2_LA_PUNT="yes" -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit gnome2 python-any-r1 systemd udev virtualx @@ -81,6 +81,7 @@ DEPEND="${COMMON_DEPEND} test? ( ${PYTHON_DEPS} $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/dbusmock[${PYTHON_USEDEP}]') gnome-base/gnome-session ) dev-libs/libxml2:2 sys-devel/gettext @@ -92,7 +93,7 @@ DEPEND="${COMMON_DEPEND} >=x11-proto/xproto-7.0.15 " -# FIXME: tests require dbus-mock +# TypeErrors with python3; weird test errors with python2; all in power component that was made required now RESTRICT="test" PATCHES=( @@ -103,7 +104,8 @@ PATCHES=( ) python_check_deps() { - use test && has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" + use test && has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" \ + && has_version "dev-python/dbusmock[${PYTHON_USEDEP}]" } pkg_setup() { |