app-i18n/ibus-typing-booster: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 09:34:27 +0000 (10:34 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:10:43 +0000 (17:10 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-i18n/ibus-typing-booster/ibus-typing-booster-2.7.0-r1.ebuild [moved from app-i18n/ibus-typing-booster/ibus-typing-booster-2.7.0.ebuild with 70% similarity]
app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.0.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 55d27fd99d77f1087b844f264fcfab3ebe78eea7..99d431fc2d5c3f82a5c3d84b5b6d5ddafdb14b13 100644 (file)
@@ -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}
index 0845963503ced27d31f908590190be8db846adbb..0091f717eeca5b7294fd494e3ad06b8ebb65c006 100644 (file)
@@ -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}