gnome-base/gnome-shell: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 14:52:38 +0000 (15:52 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:22:10 +0000 (17:22 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
gnome-base/gnome-shell/gnome-shell-3.26.2-r4.ebuild
gnome-base/gnome-shell/gnome-shell-3.32.2-r1.ebuild [moved from gnome-base/gnome-shell/gnome-shell-3.32.2.ebuild with 97% similarity]

index 601a0789119c9f0101e748125038dbe74b855ba9..6daa3d58709a3fb4a68f2f4ee4c553019a5e1de1 100644 (file)
@@ -59,7 +59,9 @@ COMMON_DEPEND="
        >=x11-libs/libXfixes-5.0
 
        ${PYTHON_DEPS}
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+       ')
        media-libs/mesa[X(+)]
 "
 # Runtime-only deps are probably incomplete and approximate.
similarity index 97%
rename from gnome-base/gnome-shell/gnome-shell-3.32.2.ebuild
rename to gnome-base/gnome-shell/gnome-shell-3.32.2-r1.ebuild
index cc2d09d474c4ac355e5caa8bcda742c89c0e8852..3b1c0f71c323c93fd88daca968c9c56308394399 100644 (file)
@@ -8,7 +8,7 @@ inherit gnome.org gnome2-utils meson pax-utils python-single-r1 virtualx xdg
 
 DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
 HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"
-SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${PF}-patchset.tar.xz"
+SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
 
 LICENSE="GPL-2+ LGPL-2+"
 SLOT="0"
@@ -56,7 +56,9 @@ DEPEND="
        >=x11-libs/libXfixes-5.0
 
        ${PYTHON_DEPS}
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+       ')
        media-libs/mesa[X(+)]
 "
 # Runtime-only deps are probably incomplete and approximate.