commit:     5d5063a2289c2306fc299dd7bed309d9e1cb6dab
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 16 13:46:28 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 16 13:46:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d5063a2

app-i18n/ibus-table: update to EAPI 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/ibus-table/ibus-table-1.5.0-r1.ebuild | 35 +++++++++++++-------------
 app-i18n/ibus-table/metadata.xml               | 20 ++++++++-------
 2 files changed, 29 insertions(+), 26 deletions(-)

diff --git a/app-i18n/ibus-table/ibus-table-1.5.0-r1.ebuild 
b/app-i18n/ibus-table/ibus-table-1.5.0-r1.ebuild
index 117770e0b80..6d8c14c9848 100644
--- a/app-i18n/ibus-table/ibus-table-1.5.0-r1.ebuild
+++ b/app-i18n/ibus-table/ibus-table-1.5.0-r1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI="6"
 PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite"
-inherit eutils python-single-r1
+PYTHON_REQ_USE="sqlite(+)"
 
-DESCRIPTION="The Table Engine for IBus Framework"
+inherit python-single-r1
+
+DESCRIPTION="Tables engines for IBus"
 HOMEPAGE="https://github.com/ibus/ibus/wiki";
 SRC_URI="https://ibus.googlecode.com/files/${P}.tar.gz";
 
@@ -14,28 +15,28 @@ LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="nls"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       >=app-i18n/ibus-1.2[python,${PYTHON_USEDEP}]
+       app-i18n/ibus[python(+),${PYTHON_USEDEP}]
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       virtual/libiconv
        nls? ( virtual/libintl )"
 DEPEND="${RDEPEND}
-       nls? ( >=sys-devel/gettext-0.16.1 )
-       virtual/pkgconfig"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
+       virtual/pkgconfig
+       nls? ( sys-devel/gettext )"
 
 src_prepare() {
        python_fix_shebang .
 
-       sed -i -e "s/python/${EPYTHON}/" \
-               engine/ibus-table-createdb.in engine/ibus-engine-table.in || die
+       sed -i \
+               "s/python/${EPYTHON}/" \
+               engine/ibus-table-createdb.in \
+               engine/ibus-engine-table.in
+
+       default
 }
 
 src_configure() {
        econf $(use_enable nls)
 }
-
-src_install() {
-       emake DESTDIR="${D}" install
-
-       dodoc AUTHORS ChangeLog NEWS README
-}

diff --git a/app-i18n/ibus-table/metadata.xml b/app-i18n/ibus-table/metadata.xml
index 8984a413a90..a1a3f62c546 100644
--- a/app-i18n/ibus-table/metadata.xml
+++ b/app-i18n/ibus-table/metadata.xml
@@ -1,13 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Cjk</name>
-       </maintainer>
-       <longdescription lang="en">The package contains general Table engine 
for IBus platform.</longdescription>
-       <upstream>
-               <remote-id type="google-code">ibus</remote-id>
-               <remote-id type="github">ibus/ibus</remote-id>
-       </upstream>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Cjk</name>
+  </maintainer>
+  <longdescription lang="en">
+    A framework for table based input methods using IBus.
+  </longdescription>
+  <upstream>
+    <remote-id type="google-code">ibus</remote-id>
+    <remote-id type="github">ibus/ibus</remote-id>
+  </upstream>
 </pkgmetadata>

Reply via email to