summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.22.2.ebuild4
-rw-r--r--gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.24.0.ebuild7
2 files changed, 8 insertions, 3 deletions
diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.22.2.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.22.2.ebuild
index c0268205f73a..b748cd5fa444 100644
--- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.22.2.ebuild
+++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.22.2.ebuild
@@ -101,7 +101,9 @@ PATCHES=(
)
python_check_deps() {
- use test && has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
+ if use test; then
+ has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
+ fi
}
pkg_setup() {
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 29d5996402cf..640a918763b1 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
@@ -95,6 +95,7 @@ DEPEND="${COMMON_DEPEND}
# TypeErrors with python3; weird test errors with python2; all in power component that was made required now
RESTRICT="test"
+# RESTRICT="!test? ( test )"
PATCHES=(
# Make colord and wacom optional; requires eautoreconf
@@ -104,8 +105,10 @@ PATCHES=(
)
python_check_deps() {
- use test && has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" \
- && has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
+ if use test; then
+ has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" &&
+ has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
+ fi
}
pkg_setup() {