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.3.ebuild
Date: Fri, 23 Apr 2010 17:51:29
Message-Id: 20100423175127.627E02C04B@corvid.gentoo.org
1 matsuu 10/04/23 17:51:27
2
3 Modified: ChangeLog
4 Added: ibus-pinyin-1.3.3.ebuild
5 Log:
6 Version bumped.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.21 app-i18n/ibus-pinyin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 13 Apr 2010 16:04:54 -0000 1.20
23 +++ ChangeLog 23 Apr 2010 17:51:27 -0000 1.21
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.20 2010/04/13 16:04:54 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.21 2010/04/23 17:51:27 matsuu Exp $
29 +
30 +*ibus-pinyin-1.3.3 (23 Apr 2010)
31 +
32 + 23 Apr 2010; MATSUU Takuto <matsuu@g.o> +ibus-pinyin-1.3.3.ebuild:
33 + Version bumped.
34
35 *ibus-pinyin-1.3.2 (13 Apr 2010)
36
37
38
39
40 1.1 app-i18n/ibus-pinyin/ibus-pinyin-1.3.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ibus-pinyin-1.3.3.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.3.ebuild,v 1.1 2010/04/23 17:51:27 matsuu Exp $
50
51 EAPI="2"
52 PYTHON_DEPEND="2:2.5"
53 PYTHON_USE_WITH="sqlite"
54 inherit eutils python
55
56 PYDB_TAR="pinyin-database-1.2.99.tar.bz2"
57 DESCRIPTION="Chinese PinYin IMEngine for IBus Framework"
58 HOMEPAGE="http://code.google.com/p/ibus/"
59 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz
60 http://ibus.googlecode.com/files/${PYDB_TAR}"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="nls"
66
67 RDEPEND=">=app-i18n/ibus-1.1.0
68 sys-apps/util-linux
69 dev-libs/libsigc++:2
70 nls? ( virtual/libintl )"
71 DEPEND="${RDEPEND}
72 dev-util/pkgconfig
73 nls? ( >=sys-devel/gettext-0.16.1 )"
74
75 src_prepare() {
76 cp "${DISTDIR}/${PYDB_TAR}" "${S}"/data/db/open-phrase/ || die
77 mv py-compile py-compile.orig || die
78 ln -s "$(type -P true)" py-compile || die
79 }
80
81 src_configure() {
82 econf $(use_enable nls) --enable-db-open-phrase || die
83 }
84
85 src_install() {
86 emake DESTDIR="${D}" install || die
87
88 dodoc AUTHORS ChangeLog NEWS README || die
89 }
90
91 pkg_postinst() {
92 python_mod_optimize /usr/share/${PN}
93 }
94
95 pkg_postrm() {
96 python_mod_cleanup /usr/share/${PN}
97 }