summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-08-16 22:46:28 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-08-16 22:46:28 +0900
commit5d5063a2289c2306fc299dd7bed309d9e1cb6dab (patch)
treeb55dbe038730f140d176fa5bfddd69f94aedfb93 /app-i18n/ibus-table
parentwww-client/firefox: Version bump, bug #617690 (diff)
downloadgentoo-5d5063a2289c2306fc299dd7bed309d9e1cb6dab.tar.gz
gentoo-5d5063a2289c2306fc299dd7bed309d9e1cb6dab.tar.bz2
gentoo-5d5063a2289c2306fc299dd7bed309d9e1cb6dab.zip
app-i18n/ibus-table: update to EAPI 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/ibus-table')
-rw-r--r--app-i18n/ibus-table/ibus-table-1.5.0-r1.ebuild35
-rw-r--r--app-i18n/ibus-table/metadata.xml20
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 117770e0b80a..6d8c14c9848c 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 8984a413a909..a1a3f62c5461 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>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>