Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-anthy/
Date: Mon, 07 May 2018 13:51:28
Message-Id: 1525700689.a04b58b808db782b2ef9a7146fb698977b449fdd.hattya@gentoo
1 commit: a04b58b808db782b2ef9a7146fb698977b449fdd
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 7 13:44:49 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Mon May 7 13:44:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a04b58b8
7
8 app-i18n/ibus-anthy: new upstream release
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-i18n/ibus-anthy/Manifest | 1 +
13 app-i18n/ibus-anthy/ibus-anthy-1.5.10.ebuild | 67 ++++++++++++++++++++++++++++
14 2 files changed, 68 insertions(+)
15
16 diff --git a/app-i18n/ibus-anthy/Manifest b/app-i18n/ibus-anthy/Manifest
17 index ed4572478cd..3212bf688c4 100644
18 --- a/app-i18n/ibus-anthy/Manifest
19 +++ b/app-i18n/ibus-anthy/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST ibus-anthy-1.5.10.tar.gz 758528 BLAKE2B 39496f5c3a5f2038f3f81e09504e472a32da85f27701741cbe77b576afcd8685c4f2209aaf24ef84420cbeec1614b251d2903c1ea4e7175a1014f92615399847 SHA512 963b1dfba18259aad2296c10de35f9f321b0169d6f85afa058ed57b6894fe4e1d44514ffadeee3c3108aac77f54aa645096ddf4bdb353fafaedb83d27d8c5d47
22 DIST ibus-anthy-1.5.4.tar.gz 592595 BLAKE2B d483079c72ee8a500f79dfa6a1fe28b6dc13b8a7671c4ef6aba8df5994d6f2e3cddc9c8ebafe173a9f4799f1073745c8b23ea2aa7438e93d8e84c4b2c1ec129c SHA512 8478e9ea14472d0153cc7a35feae4edea791476dc98cfc266b598f915376d267bd5db48ea0a676209d7a6fa680628116a30fec59afaf696477cfaa14082aad8d
23 DIST ibus-anthy-1.5.9.tar.gz 765672 BLAKE2B 88a2b935bfe1007bdcbd70af358509da77533a67df4b6d0be218b5f9d5e1c0ca093e62618765f1e2d7c06c2127458319bbf482ce8598398b9562ecec8a258301 SHA512 2f57db784ddbd4ea57afba245dc532fe4ee8c9fea5fc7df9b3ca26600816ef4c0626b4ebdbbd976826c391890216af587863707caa26c3926a6278cc6b720ef6
24
25 diff --git a/app-i18n/ibus-anthy/ibus-anthy-1.5.10.ebuild b/app-i18n/ibus-anthy/ibus-anthy-1.5.10.ebuild
26 new file mode 100644
27 index 00000000000..497c5293094
28 --- /dev/null
29 +++ b/app-i18n/ibus-anthy/ibus-anthy-1.5.10.ebuild
30 @@ -0,0 +1,67 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="6"
35 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
36 +
37 +inherit gnome2-utils python-single-r1
38 +
39 +DESCRIPTION="Japanese Anthy engine for IBus"
40 +HOMEPAGE="https://github.com/ibus/ibus/wiki"
41 +SRC_URI="https://github.com/ibus/${PN}/releases/download/${PV}/${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~ppc ~x86"
46 +IUSE="nls"
47 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
48 +
49 +RDEPEND="${PYTHON_DEPS}
50 + app-i18n/anthy
51 + app-i18n/ibus[python(+),${PYTHON_USEDEP}]
52 + dev-python/pygobject:3[${PYTHON_USEDEP}]
53 + nls? ( virtual/libintl )"
54 +DEPEND="${RDEPEND}
55 + dev-util/intltool
56 + virtual/pkgconfig
57 + nls? ( sys-devel/gettext )"
58 +
59 +src_prepare() {
60 + default
61 + gnome2_environment_reset
62 +}
63 +
64 +src_configure() {
65 + econf \
66 + $(use_enable nls) \
67 + --enable-private-png \
68 + --with-layout=default \
69 + --with-python=${EPYTHON}
70 +}
71 +
72 +src_test() {
73 + :
74 +}
75 +
76 +src_install() {
77 + default
78 + find "${ED}" -name '*.la' -delete || die
79 +
80 + python_optimize
81 +}
82 +
83 +pkg_preinst() {
84 + gnome2_icon_savelist
85 +}
86 +
87 +pkg_postinst() {
88 + gnome2_icon_cache_update
89 +
90 + if ! has_version app-dicts/kasumi; then
91 + elog "app-dicts/kasumi is not required but probably useful for you."
92 + fi
93 +}
94 +
95 +pkg_postrm() {
96 + gnome2_icon_cache_update
97 +}