gnome-extra/chrome-gnome-shell: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 14:53:26 +0000 (15:53 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:22:11 +0000 (17:22 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r3.ebuild [moved from gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r1.ebuild with 91% similarity]
gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r4.ebuild [moved from gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r2.ebuild with 88% similarity]

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 d60ba0d0a1ecb303e1f4d5a1cf5ef8785fd900e8..b283ba7f1e9fcb76efc51957e8e40d979249d042 100644 (file)
@@ -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
 "
 
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 cc94f8f1db7220d71980ff7abf3c12fe08f99514..c6249a6e393c20dadc8936bd5935f9fb304efad5 100644 (file)
@@ -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
 "