x11-misc/wbarconf: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 20:30:25 +0000 (21:30 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:37:17 +0000 (17:37 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
x11-misc/wbarconf/wbarconf-0.7.2.2-r4.ebuild [moved from x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild with 80% similarity]
x11-misc/wbarconf/wbarconf-0.7.2.2-r5.ebuild [moved from x11-misc/wbarconf/wbarconf-0.7.2.2-r3.ebuild with 86% similarity]

similarity index 80%
rename from x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild
rename to x11-misc/wbarconf/wbarconf-0.7.2.2-r4.ebuild
index d5ff90ab324ec646bea0d70f1f946f9288f7029b..3caca84352cf01aff10be7dad982756d295c37a9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,8 +21,10 @@ DEPEND="sys-devel/gettext"
 RDEPEND="
        ${PYTHON_DEPS}
        >=x11-misc/wbar-1.3.3
-       dev-python/pygobject:2[${PYTHON_USEDEP}]
-       dev-python/pygtk:2[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 S="${WORKDIR}/${PN}"
 PATCHES=( "${FILESDIR}"/${P}-install.patch )
similarity index 86%
rename from x11-misc/wbarconf/wbarconf-0.7.2.2-r3.ebuild
rename to x11-misc/wbarconf/wbarconf-0.7.2.2-r5.ebuild
index 2de548435dba37c930e87a7210764f206f36d6be..91921185ba3203c9f405318273af3dd2f1d6564f 100644 (file)
@@ -20,8 +20,10 @@ DEPEND="
 RDEPEND="
        ${PYTHON_DEPS}
        >=x11-misc/wbar-1.3.3
-       dev-python/pygobject:2[${PYTHON_USEDEP}]
-       dev-python/pygtk:2[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
+       ')
 "
 PATCHES=(
        "${FILESDIR}"/${P}-install.patch