commit:     7e88b8da729ce25c85ca0e99ae3a480f299aec12
Author:     Graham Ramsey <graham.ramsey <AT> gmail <DOT> com>
AuthorDate: Tue Oct  8 17:05:00 2019 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Oct  9 07:36:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e88b8da

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 <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild | 16 +++++++++-------
 1 file 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 646cb4dae3f..375b5209b93 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

Reply via email to