From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-pinyin/
Date: Wed, 23 Aug 2017 15:02:06 +0000 (UTC) [thread overview]
Message-ID: <1503500241.9567164531f9d9d4668dccfc8159c0426b341a2d.hattya@gentoo> (raw)
commit: 9567164531f9d9d4668dccfc8159c0426b341a2d
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 14:57:21 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 14:57:21 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95671645
app-i18n/ibus-pinyin: update to EAPI 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild | 39 +++++++++++-------------
app-i18n/ibus-pinyin/metadata.xml | 9 +++---
2 files changed, 22 insertions(+), 26 deletions(-)
diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild
index 59fec005f73..103c52c7ea0 100644
--- a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild
+++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild
@@ -1,14 +1,12 @@
-# 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 python-single-r1 eutils
+inherit python-single-r1
-DESCRIPTION="Chinese PinYin IMEngine for IBus Framework"
+DESCRIPTION="Chinese Pinyin and Bopomofo engines for IBus"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
SRC_URI="https://ibus.googlecode.com/files/${P}.tar.gz"
@@ -16,35 +14,32 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="boost lua nls"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
- >=app-i18n/ibus-1.4[python,${PYTHON_USEDEP}]
- dev-python/pygtk[${PYTHON_USEDEP}]
+ app-i18n/ibus[python(+),${PYTHON_USEDEP}]
app-i18n/pyzy
- boost? ( >=dev-libs/boost-1.39 )
- lua? (
- >=dev-lang/lua-5.1
- <dev-lang/lua-5.2 )
+ dev-db/sqlite:3
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ boost? ( dev-libs/boost )
+ lua? ( =dev-lang/lua-5.1*:= )
nls? ( virtual/libintl )"
-
DEPEND="${RDEPEND}
- sys-apps/sed
+ dev-util/intltool
virtual/pkgconfig
- nls? ( >=sys-devel/gettext-0.16.1 )"
+ nls? ( sys-devel/gettext )"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-DOCS="AUTHORS ChangeLog NEWS README"
+PATCHES=( "${FILESDIR}"/${P}-content-type-method.patch )
src_prepare() {
- sed -i -e "s/python/${EPYTHON}/" setup/ibus-setup-pinyin.in || die
- epatch "${FILESDIR}"/${P}-content-type-method.patch
+ sed -i "s/python/${EPYTHON}/" setup/${PN/-/-setup-}.in
+
+ default
}
src_configure() {
econf \
$(use_enable boost) \
$(use_enable lua lua-extension) \
- $(use_enable nls) \
- --enable-english-input-mode
+ $(use_enable nls)
}
diff --git a/app-i18n/ibus-pinyin/metadata.xml b/app-i18n/ibus-pinyin/metadata.xml
index e0ff686abcd..f82714b167f 100644
--- a/app-i18n/ibus-pinyin/metadata.xml
+++ b/app-i18n/ibus-pinyin/metadata.xml
@@ -10,12 +10,13 @@
<name>Cjk</name>
</maintainer>
<longdescription lang="en">
-PinYin engine for IBus platform. It provides a Chinese PinYin input method.
-</longdescription>
+ The Pinyin engine for IBus. It provides Chinese input method from
+ <pkg>app-i18n/pyzy</pkg>.
+ </longdescription>
<use>
- <flag name="boost">Compile against <pkg>dev-libs/boost</pkg> libraries</flag>
+ <flag name="boost">Enable support for <pkg>dev-libs/boost</pkg></flag>
</use>
<upstream>
- <remote-id type="github">ibus/ibus</remote-id>
+ <remote-id type="github">ibus/ibus-pinyin</remote-id>
</upstream>
</pkgmetadata>
next reply other threads:[~2017-08-23 15:02 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-23 15:02 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-29 1:33 [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-pinyin/ Sam James
2024-08-29 1:33 Sam James
2024-06-25 8:00 Yixun Lan
2024-05-31 2:50 Yixun Lan
2023-03-17 13:18 Yixun Lan
2022-07-15 3:32 Yixun Lan
2021-04-12 1:09 Sam James
2020-12-07 18:14 Mike Gilbert
2020-12-03 22:58 Marek Szuba
2020-09-05 2:04 Mike Gilbert
2020-08-27 2:15 Yixun Lan
2020-08-11 18:53 Agostino Sarubbo
2020-08-10 14:33 Agostino Sarubbo
2020-02-09 16:11 Michał Górny
2017-08-23 15:02 Akinori Hattori
2016-10-16 10:04 Pacho Ramos
2016-10-16 10:04 Pacho Ramos
2016-10-09 10:25 Pacho Ramos
2016-10-09 7:56 Pacho Ramos
2015-09-01 18:47 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1503500241.9567164531f9d9d4668dccfc8159c0426b341a2d.hattya@gentoo \
--to=hattya@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox