summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Ramsey <graham.ramsey@gmail.com>2019-10-08 18:05:00 +0100
committerYixun Lan <dlan@gentoo.org>2019-10-09 15:36:42 +0800
commit7e88b8da729ce25c85ca0e99ae3a480f299aec12 (patch)
treeb96e6b2ceb43056c239eac29ca8d56291d268e4d /app-i18n/ibus-libpinyin
parentapp-i18n/ibus-libpinyin: Version bump for 1.11.1 (diff)
downloadgentoo-7e88b8da729ce25c85ca0e99ae3a480f299aec12.tar.gz
gentoo-7e88b8da729ce25c85ca0e99ae3a480f299aec12.tar.bz2
gentoo-7e88b8da729ce25c85ca0e99ae3a480f299aec12.zip
app-i18n/ibus-libpinyin: Updated 11.1 ebuild to EAPI 7 & python3_7
Bug: https://bugs.gentoo.org/696512 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Graham Ramsey <graham.ramsey@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-i18n/ibus-libpinyin')
-rw-r--r--app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild
index 646cb4dae3f4..375b5209b932 100644
--- a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild
+++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-PYTHON_REQ_USE="sqlite(+)"
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
inherit autotools gnome2-utils python-single-r1
@@ -22,17 +21,20 @@ KEYWORDS="~amd64 ~x86"
IUSE="boost lua opencc"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="${PYTHON_DEPS}
+BDEPEND="
+ virtual/pkgconfig"
+
+DEPEND="${PYTHON_DEPS}
app-i18n/ibus[python(+),${PYTHON_USEDEP}]
>=app-i18n/libpinyin-2.1.0:=
dev-python/pygobject:3[${PYTHON_USEDEP}]
+ virtual/libintl
+ dev-db/sqlite:3
boost? ( dev-libs/boost:= )
lua? ( dev-lang/lua:0 )
opencc? ( app-i18n/opencc:= )"
-DEPEND="${RDEPEND}
- virtual/libintl
- virtual/pkgconfig"
+RDEPEND="${DEPEND}"
src_prepare() {
if use boost; then