commit:     6d2cfc5b88811e765f19205f10c8f881a90f2004
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 14:53:26 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:22:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2cfc5b

gnome-extra/chrome-gnome-shell: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...e-gnome-shell-10-r1.ebuild => chrome-gnome-shell-10-r3.ebuild} | 6 ++++--
 ...e-gnome-shell-10-r2.ebuild => chrome-gnome-shell-10-r4.ebuild} | 8 +++++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r1.ebuild 
b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r3.ebuild
similarity index 91%
rename from gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r1.ebuild
rename to gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r3.ebuild
index d60ba0d0a1e..b283ba7f1e9 100644
--- a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r1.ebuild
+++ b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r3.ebuild
@@ -23,8 +23,10 @@ DEPEND="${PYTHON_DEPS}
        sys-apps/coreutils
 "
 RDEPEND="${PYTHON_DEPS}
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+               dev-python/requests[${PYTHON_MULTI_USEDEP}]
+       ')
        gnome-base/gnome-shell
 "
 

diff --git a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r2.ebuild 
b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r4.ebuild
similarity index 88%
rename from gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r2.ebuild
rename to gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r4.ebuild
index cc94f8f1db7..c6249a6e393 100644
--- a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r2.ebuild
+++ b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,8 +23,10 @@ DEPEND="${PYTHON_DEPS}
        sys-apps/coreutils
 "
 RDEPEND="${PYTHON_DEPS}
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+               dev-python/requests[${PYTHON_MULTI_USEDEP}]
+       ')
        gnome-base/gnome-shell
 "
 

Reply via email to