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