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.3.0.ebuild
Date: Wed, 31 Mar 2010 17:27:13
Message-Id: E1Nx1h4-00022P-Iq@stork.gentoo.org
1 matsuu 10/03/31 17:27:06
2
3 Modified: ChangeLog
4 Added: ibus-pinyin-1.3.0.ebuild
5 Log:
6 Version bumped.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.17 app-i18n/ibus-pinyin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 19 Mar 2010 16:05:58 -0000 1.16
23 +++ ChangeLog 31 Mar 2010 17:27:06 -0000 1.17
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-i18n/ibus-pinyin
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.16 2010/03/19 16:05:58 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.17 2010/03/31 17:27:06 matsuu Exp $
29 +
30 +*ibus-pinyin-1.3.0 (31 Mar 2010)
31 +
32 + 31 Mar 2010; MATSUU Takuto <matsuu@g.o> +ibus-pinyin-1.3.0.ebuild:
33 + Version bumped.
34
35 *ibus-pinyin-1.2.99.20100318 (19 Mar 2010)
36
37
38
39
40 1.1 app-i18n/ibus-pinyin/ibus-pinyin-1.3.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ibus-pinyin-1.3.0.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.0.ebuild,v 1.1 2010/03/31 17:27:06 matsuu Exp $
50
51 EAPI="2"
52 inherit eutils python
53
54 PYDB_TAR="pinyin-database-1.2.99.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[sqlite]
67 dev-libs/libsigc++:2
68 nls? ( virtual/libintl )"
69 DEPEND="${RDEPEND}
70 dev-util/pkgconfig
71 nls? ( >=sys-devel/gettext-0.16.1 )"
72
73 src_prepare() {
74 cp "${DISTDIR}/${PYDB_TAR}" "${S}"/data/db/open-phrase/ || die
75 mv py-compile py-compile.orig || die
76 ln -s "$(type -P true)" py-compile || die
77 }
78
79 src_configure() {
80 econf $(use_enable nls) --enable-db-open-phrase || die
81 }
82
83 src_install() {
84 emake DESTDIR="${D}" install || die
85
86 dodoc AUTHORS ChangeLog NEWS README || die
87 }
88
89 pkg_postinst() {
90 python_mod_optimize /usr/share/${PN}
91 }
92
93 pkg_postrm() {
94 python_mod_cleanup /usr/share/${PN}
95 }