app-i18n/mozc: Use EAPI="7".
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Thu, 18 Apr 2019 17:29:33 +0000 (17:29 +0000)
committerMike Gilbert <floppym@gentoo.org>
Fri, 19 Apr 2019 16:39:06 +0000 (12:39 -0400)
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
app-i18n/mozc/mozc-2.23.2815.102.ebuild
app-i18n/mozc/mozc-9999.ebuild

index 73baeb4cc28b6a04e7ad5113964c0ee5d119d354..21a1291f1ea5575ae7defa8c285371187a2d8394 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2010-2019 Arfrever Frehtes Taifersar Arahesis and others
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 PYTHON_COMPAT=(python2_7)
 
 inherit elisp-common multiprocessing python-any-r1 toolchain-funcs
@@ -38,9 +38,19 @@ KEYWORDS="amd64 ~ppc64 x86"
 IUSE="debug emacs fcitx4 +gui +handwriting-tegaki handwriting-tomoe ibus renderer test"
 REQUIRED_USE="|| ( emacs fcitx4 ibus ) gui? ( ^^ ( handwriting-tegaki handwriting-tomoe ) ) !gui? ( !handwriting-tegaki !handwriting-tomoe )"
 
+BDEPEND="${PYTHON_DEPS}
+       >=dev-libs/protobuf-3.0.0
+       dev-util/gyp
+       dev-util/ninja
+       virtual/pkgconfig
+       emacs? ( virtual/emacs )
+       fcitx4? ( sys-devel/gettext )"
 RDEPEND=">=dev-libs/protobuf-3.0.0:=
        emacs? ( virtual/emacs )
-       fcitx4? ( app-i18n/fcitx:4 )
+       fcitx4? (
+               app-i18n/fcitx:4
+               virtual/libintl
+       )
        gui? (
                app-i18n/zinnia
                dev-qt/qtcore:5
@@ -61,10 +71,6 @@ RDEPEND=">=dev-libs/protobuf-3.0.0:=
                x11-libs/pango
        )"
 DEPEND="${RDEPEND}
-       ${PYTHON_DEPS}
-       dev-util/gyp
-       dev-util/ninja
-       virtual/pkgconfig
        test? (
                >=dev-cpp/gtest-1.8.0
                dev-libs/jsoncpp
@@ -319,5 +325,7 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-       use emacs && elisp-site-regen
+       if use emacs; then
+               elisp-site-regen
+       fi
 }
index b51359f01fb3981bc89979024f6bb08e56740825..7876d9ed37835fcd3517bd8934f4d4e65e6543a0 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2010-2019 Arfrever Frehtes Taifersar Arahesis and others
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 PYTHON_COMPAT=(python2_7)
 
 inherit elisp-common multiprocessing python-any-r1 toolchain-funcs
@@ -38,9 +38,19 @@ KEYWORDS=""
 IUSE="debug emacs fcitx4 +gui +handwriting-tegaki handwriting-tomoe ibus renderer test"
 REQUIRED_USE="|| ( emacs fcitx4 ibus ) gui? ( ^^ ( handwriting-tegaki handwriting-tomoe ) ) !gui? ( !handwriting-tegaki !handwriting-tomoe )"
 
+BDEPEND="${PYTHON_DEPS}
+       >=dev-libs/protobuf-3.0.0
+       dev-util/gyp
+       dev-util/ninja
+       virtual/pkgconfig
+       emacs? ( virtual/emacs )
+       fcitx4? ( sys-devel/gettext )"
 RDEPEND=">=dev-libs/protobuf-3.0.0:=
        emacs? ( virtual/emacs )
-       fcitx4? ( app-i18n/fcitx:4 )
+       fcitx4? (
+               app-i18n/fcitx:4
+               virtual/libintl
+       )
        gui? (
                app-i18n/zinnia
                dev-qt/qtcore:5
@@ -61,10 +71,6 @@ RDEPEND=">=dev-libs/protobuf-3.0.0:=
                x11-libs/pango
        )"
 DEPEND="${RDEPEND}
-       ${PYTHON_DEPS}
-       dev-util/gyp
-       dev-util/ninja
-       virtual/pkgconfig
        test? (
                >=dev-cpp/gtest-1.8.0
                dev-libs/jsoncpp
@@ -318,5 +324,7 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-       use emacs && elisp-site-regen
+       if use emacs; then
+               elisp-site-regen
+       fi
 }