summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2008-10-23 22:57:48 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2008-10-23 22:57:48 +0000
commite223c586267c6d728ca8139378a03af100ce90db (patch)
tree75aebc9d3bcd7fb91ec8fe5e09364c42f27f1726 /app-i18n
parentVersion bumped. (diff)
downloadgentoo-2-e223c586267c6d728ca8139378a03af100ce90db.tar.gz
gentoo-2-e223c586267c6d728ca8139378a03af100ce90db.tar.bz2
gentoo-2-e223c586267c6d728ca8139378a03af100ce90db.zip
Version bumped. Fixed QA issue.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-chewing/ChangeLog8
-rw-r--r--app-i18n/ibus-chewing/ibus-chewing-0.1.1.20081023.ebuild (renamed from app-i18n/ibus-chewing/ibus-chewing-0.1.1.20080901.ebuild)19
2 files changed, 24 insertions, 3 deletions
diff --git a/app-i18n/ibus-chewing/ChangeLog b/app-i18n/ibus-chewing/ChangeLog
index d7c252778eea..cc85fe8193c5 100644
--- a/app-i18n/ibus-chewing/ChangeLog
+++ b/app-i18n/ibus-chewing/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/ibus-chewing
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ChangeLog,v 1.3 2008/09/21 15:59:27 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ChangeLog,v 1.4 2008/10/23 22:57:48 matsuu Exp $
+
+*ibus-chewing-0.1.1.20081023 (23 Oct 2008)
+
+ 23 Oct 2008; MATSUU Takuto <matsuu@gentoo.org>
+ -ibus-chewing-0.1.1.20080901.ebuild, +ibus-chewing-0.1.1.20081023.ebuild:
+ Version bumped. Removed old version.
*ibus-chewing-0.1.1.20080917 (21 Sep 2008)
diff --git a/app-i18n/ibus-chewing/ibus-chewing-0.1.1.20080901.ebuild b/app-i18n/ibus-chewing/ibus-chewing-0.1.1.20081023.ebuild
index 07c3493c4e36..bae589881849 100644
--- a/app-i18n/ibus-chewing/ibus-chewing-0.1.1.20080901.ebuild
+++ b/app-i18n/ibus-chewing/ibus-chewing-0.1.1.20081023.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ibus-chewing-0.1.1.20080901.ebuild,v 1.2 2008/09/06 04:06:09 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ibus-chewing-0.1.1.20081023.ebuild,v 1.1 2008/10/23 22:57:48 matsuu Exp $
+
+inherit python
DESCRIPTION="The Chewing IMEngine for IBus Framework"
HOMEPAGE="http://code.google.com/p/ibus/"
@@ -12,7 +14,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="app-i18n/ibus
- dev-libs/libchewing
+ >=dev-libs/libchewing-0.3.0.901
>=dev-lang/python-2.5
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
@@ -20,6 +22,13 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
nls? ( >=sys-devel/gettext-0.16.1 )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ mv py-compile py-compile.orig || die
+ ln -s "$(type -P true)" py-compile || die
+}
+
src_compile() {
econf $(use_enable nls) || die
emake || die
@@ -37,4 +46,10 @@ pkg_postinst() {
elog
elog "You should run ibus-setup and enable IM Engines you want to use!"
elog
+
+ python_mod_optimize /usr/share/${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/${PN}
}