diff options
author | 2017-08-23 23:57:21 +0900 | |
---|---|---|
committer | 2017-08-23 23:57:21 +0900 | |
commit | 9567164531f9d9d4668dccfc8159c0426b341a2d (patch) | |
tree | 05ccf17ed9b6978eb459b1ee6b5ac269a197fb09 /app-i18n/ibus-pinyin | |
parent | app-i18n/ibus-pinyin: update patch (diff) | |
download | gentoo-9567164531f9d9d4668dccfc8159c0426b341a2d.tar.gz gentoo-9567164531f9d9d4668dccfc8159c0426b341a2d.tar.bz2 gentoo-9567164531f9d9d4668dccfc8159c0426b341a2d.zip |
app-i18n/ibus-pinyin: update to EAPI 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/ibus-pinyin')
-rw-r--r-- | app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild | 39 | ||||
-rw-r--r-- | 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 59fec005f737..103c52c7ea0b 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 e0ff686abcdf..f82714b167fa 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> |