app-i18n/tomoe-gtk: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 09:35:59 +0000 (10:35 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:10:45 +0000 (17:10 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r5.ebuild [moved from app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r4.ebuild with 77% similarity]

similarity index 77%
rename from app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r4.ebuild
rename to app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r5.ebuild
index 52bdcab8445ff8d01648caf9ccec8bea3e1f161c..f5a0c638be4f18a664949c1ccae6079edbcf195c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -16,12 +16,14 @@ KEYWORDS="amd64 x86"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-RDEPEND="app-i18n/tomoe[python(+)?,${PYTHON_USEDEP}]
+RDEPEND="app-i18n/tomoe[python(+)?,${PYTHON_SINGLE_USEDEP}]
        x11-libs/gtk+:2
        python? (
                ${PYTHON_DEPS}
-               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}]
+               ')
        )"
 DEPEND="${RDEPEND}
        dev-util/gtk-doc-am