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.2.0.20090617.ebuild
Date: Thu, 18 Jun 2009 15:38:58
Message-Id: E1MHJhY-00025x-Q9@stork.gentoo.org
1 matsuu 09/06/18 15:38:56
2
3 Modified: ChangeLog
4 Added: ibus-pinyin-1.2.0.20090617.ebuild
5 Log:
6 Version bumped.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.9 app-i18n/ibus-pinyin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 12 Jun 2009 13:36:57 -0000 1.8
23 +++ ChangeLog 18 Jun 2009 15:38:56 -0000 1.9
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.8 2009/06/12 13:36:57 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.9 2009/06/18 15:38:56 matsuu Exp $
29 +
30 +*ibus-pinyin-1.2.0.20090617 (18 Jun 2009)
31 +
32 + 18 Jun 2009; MATSUU Takuto <matsuu@g.o>
33 + +ibus-pinyin-1.2.0.20090617.ebuild:
34 + Version bumped.
35
36 *ibus-pinyin-1.1.0.20090612 (12 Jun 2009)
37
38
39
40
41 1.1 app-i18n/ibus-pinyin/ibus-pinyin-1.2.0.20090617.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.2.0.20090617.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.2.0.20090617.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ibus-pinyin-1.2.0.20090617.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.2.0.20090617.ebuild,v 1.1 2009/06/18 15:38:56 matsuu Exp $
51
52 EAPI="2"
53 inherit eutils python
54
55 PYDB_TAR="pinyin-database-0.1.10.6.tar.bz2"
56 DESCRIPTION="Chinese PinYin IMEngine for IBus Framework"
57 HOMEPAGE="http://code.google.com/p/ibus/"
58 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz
59 http://ibus.googlecode.com/files/${PYDB_TAR}"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="nls"
65
66 RDEPEND=">=app-i18n/ibus-1.1.0
67 >=dev-lang/python-2.5[sqlite]
68 nls? ( virtual/libintl )"
69 DEPEND="${RDEPEND}
70 dev-util/pkgconfig
71 nls? ( >=sys-devel/gettext-0.16.1 )"
72
73 src_unpack() {
74 unpack ${P}.tar.gz
75 cd "${S}"
76 mv py-compile py-compile.orig || die
77 ln -s "$(type -P true)" py-compile || die
78 cp "${DISTDIR}/${PYDB_TAR}" "${S}"/engine
79 }
80
81 src_compile() {
82 econf $(use_enable nls) || die
83 emake || die
84 }
85
86 src_install() {
87 emake DESTDIR="${D}" install || die
88
89 dodoc AUTHORS ChangeLog NEWS README
90 }
91
92 pkg_postinst() {
93 ewarn "This package is very experimental, please report your bugs to"
94 ewarn "http://ibus.googlecode.com/issues/list"
95 elog
96 elog "You should run ibus-setup and enable IM Engines you want to use!"
97 elog
98
99 python_mod_optimize /usr/share/${PN}
100 }
101
102 pkg_postrm() {
103 python_mod_cleanup /usr/share/${PN}
104 }