app-i18n/ibus-table: update to EAPI 6
authorAkinori Hattori <hattya@gentoo.org>
Wed, 16 Aug 2017 13:46:28 +0000 (22:46 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Wed, 16 Aug 2017 13:46:28 +0000 (22:46 +0900)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-i18n/ibus-table/ibus-table-1.5.0-r1.ebuild
app-i18n/ibus-table/metadata.xml

index 117770e0b80a044e4dce11a966c3c41326e88e5a..6d8c14c9848c5bc420deb0fbaa9f38025c531b5d 100644 (file)
@@ -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
-}
index 8984a413a9099157a22fc59d641fb1aee485a628..a1a3f62c5461c98060641f662883c2af4b3a3252 100644 (file)
@@ -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>cjk@gentoo.org</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>cjk@gentoo.org</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>