dlan 14/06/19 15:19:47
Modified: ChangeLog
Added: ibus-pinyin-1.5.0-r1.ebuild
ibus-pinyin-1.4.0-r1.ebuild
Log:
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)
Revision Changes Path
1.48 app-i18n/ibus-pinyin/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.48&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.48&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?r1=1.47&r2=1.48
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- ChangeLog 10 Jun 2014 08:44:59 -0000 1.47
+++ ChangeLog 19 Jun 2014 15:19:47 -0000 1.48
@@ -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 <[email protected]> +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 <[email protected]> ibus-pinyin-1.4.0.ebuild,
ibus-pinyin-1.5.0.ebuild:
1.1 app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r1.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r1.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r1.ebuild?rev=1.1&content-type=text/plain
Index: ibus-pinyin-1.5.0-r1.ebuild
===================================================================
# 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
<dev-lang/lua-5.2 )
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
sys-apps/sed
virtual/pkgconfig
nls? ( >=sys-devel/gettext-0.16.1 )"
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
sed -i -e "s/python/&2/" setup/ibus-setup-pinyin.in || die
epatch "${FILESDIR}"/${P}-content-type-method.patch
}
src_configure() {
econf \
$(use_enable boost) \
$(use_enable lua lua-extension) \
$(use_enable nls) \
--enable-english-input-mode
}
pkg_postinst() {
python_mod_optimize /usr/share/${PN}
}
pkg_postrm() {
python_mod_cleanup /usr/share/${PN}
}
1.1 app-i18n/ibus-pinyin/ibus-pinyin-1.4.0-r1.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0-r1.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0-r1.ebuild?rev=1.1&content-type=text/plain
Index: ibus-pinyin-1.4.0-r1.ebuild
===================================================================
# 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
<dev-lang/lua-5.2.0
)
nls? ( virtual/libintl )
opencc? ( app-i18n/opencc )"
DEPEND="${RDEPEND}
sys-apps/sed
virtual/pkgconfig
nls? ( >=sys-devel/gettext-0.16.1 )"
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
sed -i -e "s/python/&2/" setup/ibus-setup-pinyin.in || die
cp "${DISTDIR}"/${PYDB_TAR} data/db/open-phrase/ || die
>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}
}