Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/ibus-pinyin: ChangeLog ibus-pinyin-1.1.0.20090225.ebuild
Date: Wed, 25 Feb 2009 17:07:52
Message-Id: E1LcNEb-0005F4-RK@stork.gentoo.org
1 matsuu 09/02/25 17:07:49
2
3 Modified: ChangeLog
4 Added: ibus-pinyin-1.1.0.20090225.ebuild
5 Log:
6 Version bumped.
7 (Portage version: 2.1.6.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 app-i18n/ibus-pinyin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 12 Feb 2009 15:11:39 -0000 1.5
23 +++ ChangeLog 25 Feb 2009 17:07:49 -0000 1.6
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-i18n/ibus-pinyin
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.5 2009/02/12 15:11:39 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.6 2009/02/25 17:07:49 matsuu Exp $
29 +
30 +*ibus-pinyin-1.1.0.20090225 (25 Feb 2009)
31 +
32 + 25 Feb 2009; MATSUU Takuto <matsuu@g.o>
33 + +ibus-pinyin-1.1.0.20090225.ebuild:
34 + Version bumped.
35
36 *ibus-pinyin-1.1.0.20090211 (12 Feb 2009)
37
38
39
40
41 1.1 app-i18n/ibus-pinyin/ibus-pinyin-1.1.0.20090225.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.1.0.20090225.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.1.0.20090225.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ibus-pinyin-1.1.0.20090225.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.1.0.20090225.ebuild,v 1.1 2009/02/25 17:07:49 matsuu Exp $
51
52 inherit eutils python
53
54 PYDB_TAR="pinyin-database-0.1.10.6.tar.bz2"
55 DESCRIPTION="Chinese PinYin IMEngine for IBus Framework"
56 HOMEPAGE="http://code.google.com/p/ibus/"
57 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz
58 http://ibus.googlecode.com/files/${PYDB_TAR}"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="nls"
64
65 RDEPEND=">=app-i18n/ibus-1.1.0
66 >=dev-lang/python-2.5
67 nls? ( virtual/libintl )"
68 DEPEND="${RDEPEND}
69 dev-util/pkgconfig
70 nls? ( >=sys-devel/gettext-0.16.1 )"
71
72 pkg_setup() {
73 if ! built_with_use '>=dev-lang/python-2.5' sqlite; then
74 eerror "To use ibus-pinyin you have to build dev-lang/python with \"sqlite\" USE flag!"
75 die "To use ibus-pinyin you have to build dev-lang/python
76 with \"sqlite\" USE flag!"
77 fi
78 }
79
80 src_unpack() {
81 unpack ${P}.tar.gz
82 cd "${S}"
83 mv py-compile py-compile.orig || die
84 ln -s "$(type -P true)" py-compile || die
85 cp "${DISTDIR}/${PYDB_TAR}" "${S}"/engine
86 }
87
88 src_compile() {
89 econf $(use_enable nls) || die
90 emake || die
91 }
92
93 src_install() {
94 emake DESTDIR="${D}" install || die
95
96 dodoc AUTHORS ChangeLog NEWS README
97 }
98
99 pkg_postinst() {
100 ewarn "This package is very experimental, please report your bugs to"
101 ewarn "http://ibus.googlecode.com/issues/list"
102 elog
103 elog "You should run ibus-setup and enable IM Engines you want to use!"
104 elog
105
106 python_mod_optimize /usr/share/${PN}
107 }
108
109 pkg_postrm() {
110 python_mod_cleanup /usr/share/${PN}
111 }