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: Tue, 12 May 2020 14:10:42
Message-Id: 1589292615.fa292aeff7ca2bf3d3220f7ca729c656162e7e98.hattya@gentoo
1 commit: fa292aeff7ca2bf3d3220f7ca729c656162e7e98
2 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
3 AuthorDate: Thu May 7 19:33:32 2020 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Tue May 12 14:10:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa292aef
7
8 app-i18n/ibus-anthy: Version bump to 1.5.11
9
10 Closes: https://bugs.gentoo.org/721138
11 Closes: https://github.com/gentoo/gentoo/pull/15687
12 Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
13 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
14
15 app-i18n/ibus-anthy/Manifest | 1 +
16 app-i18n/ibus-anthy/ibus-anthy-1.5.11.ebuild | 69 ++++++++++++++++++++++++++++
17 2 files changed, 70 insertions(+)
18
19 diff --git a/app-i18n/ibus-anthy/Manifest b/app-i18n/ibus-anthy/Manifest
20 index 6c20199d807..0d7178973c8 100644
21 --- a/app-i18n/ibus-anthy/Manifest
22 +++ b/app-i18n/ibus-anthy/Manifest
23 @@ -1,2 +1,3 @@
24 +DIST ibus-anthy-1.5.11.tar.gz 809725 BLAKE2B b12139e208c401e3fdda0d3a184b0246d039e077b827d1aeb2da20470deeb62551026c68ba39c289e7876467147a6ba93d318d0582a9b45866c2f5a4f52e85aa SHA512 2ac85bf4ddba56e3f84c3732082b3b63a07175ea712aad2865de4f87b8c0967da303ee1edccbed0890095e8ddab10e58307a47b72ee11b51de3927fdb9e72418
25 DIST ibus-anthy-1.5.10.tar.gz 758528 BLAKE2B 39496f5c3a5f2038f3f81e09504e472a32da85f27701741cbe77b576afcd8685c4f2209aaf24ef84420cbeec1614b251d2903c1ea4e7175a1014f92615399847 SHA512 963b1dfba18259aad2296c10de35f9f321b0169d6f85afa058ed57b6894fe4e1d44514ffadeee3c3108aac77f54aa645096ddf4bdb353fafaedb83d27d8c5d47
26 DIST ibus-anthy-1.5.9.tar.gz 765672 BLAKE2B 88a2b935bfe1007bdcbd70af358509da77533a67df4b6d0be218b5f9d5e1c0ca093e62618765f1e2d7c06c2127458319bbf482ce8598398b9562ecec8a258301 SHA512 2f57db784ddbd4ea57afba245dc532fe4ee8c9fea5fc7df9b3ca26600816ef4c0626b4ebdbbd976826c391890216af587863707caa26c3926a6278cc6b720ef6
27
28 diff --git a/app-i18n/ibus-anthy/ibus-anthy-1.5.11.ebuild b/app-i18n/ibus-anthy/ibus-anthy-1.5.11.ebuild
29 new file mode 100644
30 index 00000000000..69b11608af8
31 --- /dev/null
32 +++ b/app-i18n/ibus-anthy/ibus-anthy-1.5.11.ebuild
33 @@ -0,0 +1,69 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI="7"
38 +PYTHON_COMPAT=( python3_7 )
39 +
40 +inherit gnome2-utils python-single-r1
41 +
42 +DESCRIPTION="Japanese Anthy engine for IBus"
43 +HOMEPAGE="https://github.com/ibus/ibus/wiki"
44 +SRC_URI="https://github.com/ibus/${PN}/releases/download/${PV}/${P}.tar.gz"
45 +
46 +LICENSE="GPL-2"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~ppc ~x86"
49 +IUSE="nls"
50 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 +
52 +RDEPEND="${PYTHON_DEPS}
53 + app-i18n/anthy
54 + $(python_gen_cond_dep '
55 + app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}]
56 + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
57 + ')
58 + nls? ( virtual/libintl )"
59 +DEPEND="${RDEPEND}"
60 +BDEPEND="
61 + virtual/pkgconfig
62 + nls? ( sys-devel/gettext )"
63 +
64 +src_prepare() {
65 + default
66 + gnome2_environment_reset
67 +}
68 +
69 +src_configure() {
70 + econf \
71 + $(use_enable nls) \
72 + --enable-private-png \
73 + --with-layout=default \
74 + --with-python=${EPYTHON}
75 +}
76 +
77 +src_test() {
78 + :
79 +}
80 +
81 +src_install() {
82 + default
83 + find "${ED}" -name '*.la' -delete || die
84 +
85 + python_optimize
86 +}
87 +
88 +pkg_preinst() {
89 + gnome2_icon_savelist
90 +}
91 +
92 +pkg_postinst() {
93 + gnome2_icon_cache_update
94 +
95 + if ! has_version app-dicts/kasumi; then
96 + elog "app-dicts/kasumi is not required but probably useful for you."
97 + fi
98 +}
99 +
100 +pkg_postrm() {
101 + gnome2_icon_cache_update
102 +}