app-i18n/ibus-libpinyin: Updated 11.1 ebuild to EAPI 7 & python3_7
authorGraham Ramsey <graham.ramsey@gmail.com>
Tue, 8 Oct 2019 17:05:00 +0000 (18:05 +0100)
committerYixun Lan <dlan@gentoo.org>
Wed, 9 Oct 2019 07:36:42 +0000 (15:36 +0800)
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>
app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.1.ebuild

index 646cb4dae3f4f79fe0b908ad3195013d867c4065..375b5209b9328851ab4b880273417a22c47c6d08 100644 (file)
@@ -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