commit:     479669f15de0f3709ad445f4bc9b9fb06b9a366a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 09:34:27 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:10:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=479669f1

app-i18n/ibus-typing-booster: Switch to PYTHON_MULTI_USEDEP API

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

 ...ster-2.7.0.ebuild => ibus-typing-booster-2.7.0-r1.ebuild} | 12 +++++++-----
 .../ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild     | 12 +++++++-----
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.7.0.ebuild 
b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.7.0-r1.ebuild
similarity index 70%
rename from app-i18n/ibus-typing-booster/ibus-typing-booster-2.7.0.ebuild
rename to app-i18n/ibus-typing-booster/ibus-typing-booster-2.7.0-r1.ebuild
index 55d27fd99d7..99d431fc2d5 100644
--- a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.7.0.ebuild
+++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.7.0-r1.ebuild
@@ -19,12 +19,14 @@ RESTRICT="test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 CDEPEND="${PYTHON_DEPS}
-       app-i18n/ibus[python(+),${PYTHON_USEDEP}]
        dev-libs/m17n-lib
-       dev-python/dbus-python[${PYTHON_USEDEP}]
-       dev-python/pyenchant[${PYTHON_USEDEP}]
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
-       dev-python/pyxdg[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}]
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyenchant[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyxdg[${PYTHON_MULTI_USEDEP}]
+       ')"
 RDEPEND="${CDEPEND}
        >=dev-db/m17n-db-1.7"
 DEPEND="${RDEPEND}

diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild 
b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild
index 0845963503c..0091f717eec 100644
--- a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild
+++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild
@@ -19,12 +19,14 @@ RESTRICT="test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 CDEPEND="${PYTHON_DEPS}
-       app-i18n/ibus[python(+),${PYTHON_USEDEP}]
        dev-libs/m17n-lib
-       dev-python/dbus-python[${PYTHON_USEDEP}]
-       dev-python/pyenchant[${PYTHON_USEDEP}]
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
-       dev-python/pyxdg[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}]
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyenchant[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyxdg[${PYTHON_MULTI_USEDEP}]
+       ')"
 RDEPEND="${CDEPEND}
        >=dev-db/m17n-db-1.7"
 DEPEND="${RDEPEND}

Reply via email to