From 874f39726f9bfe634cd606d4c56aa9bd9d6603a6 Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Thu, 19 Jun 2014 15:19:47 +0000 Subject: add pygtk dep, fix python shebang, bug 511922. thanks @Yi Yang (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55) --- app-i18n/ibus-pinyin/ChangeLog | 9 +++- app-i18n/ibus-pinyin/ibus-pinyin-1.4.0-r1.ebuild | 68 ++++++++++++++++++++++++ app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r1.ebuild | 61 +++++++++++++++++++++ 3 files changed, 137 insertions(+), 1 deletion(-) create mode 100644 app-i18n/ibus-pinyin/ibus-pinyin-1.4.0-r1.ebuild create mode 100644 app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r1.ebuild diff --git a/app-i18n/ibus-pinyin/ChangeLog b/app-i18n/ibus-pinyin/ChangeLog index e74408ea2879..4348342bd804 100644 --- a/app-i18n/ibus-pinyin/ChangeLog +++ b/app-i18n/ibus-pinyin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-i18n/ibus-pinyin # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.47 2014/06/10 08:44:59 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.48 2014/06/19 15:19:47 dlan Exp $ + +*ibus-pinyin-1.5.0-r1 (19 Jun 2014) +*ibus-pinyin-1.4.0-r1 (19 Jun 2014) + + 19 Jun 2014; Yixun Lan +ibus-pinyin-1.4.0-r1.ebuild, + +ibus-pinyin-1.5.0-r1.ebuild: + add pygtk dep, fix python shebang, bug 511922. thanks @Yi Yang 10 Jun 2014; Naohiro Aota ibus-pinyin-1.4.0.ebuild, ibus-pinyin-1.5.0.ebuild: diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0-r1.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0-r1.ebuild new file mode 100644 index 000000000000..e57c68eeda03 --- /dev/null +++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0-r1.ebuild,v 1.1 2014/06/19 15:19:47 dlan Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.5" +PYTHON_USE_WITH="sqlite" + +inherit python + +PYDB_TAR="pinyin-database-1.2.99.tar.bz2" +DESCRIPTION="Chinese PinYin IMEngine for IBus Framework" +HOMEPAGE="http://code.google.com/p/ibus/" +SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz + http://ibus.googlecode.com/files/${PYDB_TAR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="boost lua nls opencc" + +RDEPEND=">=app-i18n/ibus-1.4 + dev-python/pygtk + sys-apps/util-linux + boost? ( >=dev-libs/boost-1.39 ) + lua? ( + >=dev-lang/lua-5.1 + py-compile +} + +src_configure() { + econf \ + $(use_enable boost) \ + $(use_enable lua lua-extension) \ + $(use_enable nls) \ + $(use_enable opencc) \ + --enable-db-open-phrase + #--disable-db-android \ + #--disable-english-input-mode \ +} + +pkg_postinst() { + python_mod_optimize /usr/share/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r1.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r1.ebuild new file mode 100644 index 000000000000..46b65d6b6f50 --- /dev/null +++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r1.ebuild,v 1.1 2014/06/19 15:19:47 dlan Exp $ + +EAPI=5 + +PYTHON_DEPEND="2:2.5" +PYTHON_USE_WITH="sqlite" + +inherit python eutils + +DESCRIPTION="Chinese PinYin IMEngine for IBus Framework" +HOMEPAGE="http://code.google.com/p/ibus/" +SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="boost lua nls" + +RDEPEND=">=app-i18n/ibus-1.4 + dev-python/pygtk + app-i18n/pyzy + boost? ( >=dev-libs/boost-1.39 ) + lua? ( + >=dev-lang/lua-5.1 +