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.7.ebuild
Date: Sat, 29 May 2010 08:08:23
Message-Id: 20100529080819.F1B7B2CF37@corvid.gentoo.org
1 matsuu 10/05/29 08:08:19
2
3 Modified: ChangeLog
4 Added: ibus-pinyin-1.3.7.ebuild
5 Log:
6 Version bumped.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.24 app-i18n/ibus-pinyin/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?r1=1.23&r2=1.24
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -u -r1.23 -r1.24
22 --- ChangeLog 26 May 2010 10:36:49 -0000 1.23
23 +++ ChangeLog 29 May 2010 08:08:19 -0000 1.24
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.23 2010/05/26 10:36:49 pacho Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.24 2010/05/29 08:08:19 matsuu Exp $
29 +
30 +*ibus-pinyin-1.3.7 (29 May 2010)
31 +
32 + 29 May 2010; MATSUU Takuto <matsuu@g.o> +ibus-pinyin-1.3.7.ebuild:
33 + Version bumped.
34
35 26 May 2010; Pacho Ramos <pacho@g.o>
36 ibus-pinyin-1.2.0.20090915.ebuild:
37
38
39
40 1.1 app-i18n/ibus-pinyin/ibus-pinyin-1.3.7.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.7.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.7.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ibus-pinyin-1.3.7.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.7.ebuild,v 1.1 2010/05/29 08:08:19 matsuu Exp $
50
51 EAPI="2"
52 PYTHON_DEPEND="2:2.5"
53 PYTHON_USE_WITH="sqlite"
54 inherit 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.3
68 >=dev-libs/boost-1.39
69 sys-apps/util-linux
70 nls? ( virtual/libintl )"
71 DEPEND="${RDEPEND}
72 dev-util/pkgconfig
73 nls? ( >=sys-devel/gettext-0.16.1 )"
74
75 pkg_setup() {
76 python_set_active_version 2
77 }
78
79 src_prepare() {
80 cp "${DISTDIR}/${PYDB_TAR}" "${S}"/data/db/open-phrase/ || die
81 mv py-compile py-compile.orig || die
82 ln -s "$(type -P true)" py-compile || die
83 }
84
85 src_configure() {
86 econf $(use_enable nls) --enable-db-open-phrase || die
87 }
88
89 src_install() {
90 emake DESTDIR="${D}" install || die
91
92 dodoc AUTHORS ChangeLog NEWS README || die
93 }
94
95 pkg_postinst() {
96 python_mod_optimize /usr/share/${PN}
97 }
98
99 pkg_postrm() {
100 python_mod_cleanup /usr/share/${PN}
101 }