summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 10:31:28 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:10:40 +0100
commit16fca335f73d3bcf970e56f9cfcbf9736c5d6af9 (patch)
tree1233f6df47c771c1d1191a2861f03ec7b5244ef7 /app-i18n
parentapp-i18n/ibus-hangul: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-16fca335f73d3bcf970e56f9cfcbf9736c5d6af9.tar.gz
gentoo-16fca335f73d3bcf970e56f9cfcbf9736c5d6af9.tar.bz2
gentoo-16fca335f73d3bcf970e56f9cfcbf9736c5d6af9.zip
app-i18n/ibus-libpinyin: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-libpinyin/ibus-libpinyin-1.10.0-r1.ebuild (renamed from app-i18n/ibus-libpinyin/ibus-libpinyin-1.10.0.ebuild)6
-rw-r--r--app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1-r1.ebuild (renamed from app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild)6
2 files changed, 8 insertions, 4 deletions
diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.10.0.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.10.0-r1.ebuild
index a686aaa32ec4..d66e92b25ef9 100644
--- a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.10.0.ebuild
+++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.10.0-r1.ebuild
@@ -23,9 +23,11 @@ IUSE="boost lua opencc"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
- app-i18n/ibus[python(+),${PYTHON_USEDEP}]
>=app-i18n/libpinyin-2.1.0:=
- dev-python/pygobject:3[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+ ')
boost? ( dev-libs/boost:= )
lua? ( dev-lang/lua:0 )
opencc? ( app-i18n/opencc:= )"
diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1-r1.ebuild
index 510770469de5..f60c0c9f7904 100644
--- a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild
+++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1-r1.ebuild
@@ -22,12 +22,14 @@ BDEPEND="dev-db/sqlite:3
virtual/pkgconfig"
DEPEND="${PYTHON_DEPS}
- app-i18n/ibus[python(+),${PYTHON_USEDEP}]
>=app-i18n/libpinyin-2.1.0:=
dev-db/sqlite:3
dev-libs/glib:2
- dev-python/pygobject:3[${PYTHON_USEDEP}]
virtual/libintl
+ $(python_gen_cond_dep '
+ app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+ ')
boost? ( dev-libs/boost:= )
lua? ( dev-lang/lua:0 )
opencc? ( app-i18n/opencc:= )"