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-typing-booster/
Date: Thu, 08 Sep 2022 13:17:03
Message-Id: 1662642994.62c4cace3195b2a1b7303958365641bede1ec0ea.hattya@gentoo
1 commit: 62c4cace3195b2a1b7303958365641bede1ec0ea
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 8 13:16:34 2022 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 8 13:16:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c4cace
7
8 app-i18n/ibus-typing-booster: new upstream release
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
12
13 app-i18n/ibus-typing-booster/Manifest | 1 +
14 .../ibus-typing-booster-2.18.10.ebuild | 54 ++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/app-i18n/ibus-typing-booster/Manifest b/app-i18n/ibus-typing-booster/Manifest
18 index a1844a6b4ff7..f12ade14f89f 100644
19 --- a/app-i18n/ibus-typing-booster/Manifest
20 +++ b/app-i18n/ibus-typing-booster/Manifest
21 @@ -1 +1,2 @@
22 +DIST ibus-typing-booster-2.18.10.tar.gz 11086667 BLAKE2B 23c8958a3b1e0c7995f1c3ce3b0b3601e6f1ef12650739af861d011004e4eaf7d6bf6f61fb8d7797ef2f46c557248a909ede93e423ba28f8ad1c76d6ed937085 SHA512 a0eddaef7cbc44b570cc9bd0a606efe3902468eca6cbe7ab1b0d6cb70d917d3c48c9783963b4e7dd4ede358d969623aea292917e76d7f8ab7b0a3a95a8565c3c
23 DIST ibus-typing-booster-2.18.9.tar.gz 11060426 BLAKE2B 5a2e302bb93002c68e5a61001e013a26043e0b20922b6e79bfc96ebb0b4dbdd920df96d13545619e0b50684c7bf678b1c3df2556a40b0d4660439fc6984acd80 SHA512 1fe9dd28a042be7d946dc0a800363cd7870e8357fa75e4f57acd201b3cca96cfaab4ffbff1a53146713204e8c246ab1cf33ea379e9e1a3aa9b848306567cb7b3
24
25 diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.18.10.ebuild b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.18.10.ebuild
26 new file mode 100644
27 index 000000000000..58166b805e3c
28 --- /dev/null
29 +++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.18.10.ebuild
30 @@ -0,0 +1,54 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="8"
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +PYTHON_REQ_USE="sqlite(+)"
37 +
38 +inherit gnome2-utils python-single-r1 xdg
39 +
40 +DESCRIPTION="Completion input method for IBus"
41 +HOMEPAGE="https://mike-fabian.github.io/ibus-typing-booster"
42 +SRC_URI="https://github.com/mike-fabian/${PN}/releases/download/${PV}/${P}.tar.gz"
43 +
44 +LICENSE="GPL-3+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE=""
48 +RESTRICT="test"
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +DEPEND="${PYTHON_DEPS}
52 + dev-libs/m17n-lib
53 + $(python_gen_cond_dep '
54 + app-i18n/ibus[python(+),${PYTHON_USEDEP}]
55 + dev-python/dbus-python[${PYTHON_USEDEP}]
56 + dev-python/pyenchant[${PYTHON_USEDEP}]
57 + dev-python/pygobject:3[${PYTHON_USEDEP}]
58 + dev-python/pyxdg[${PYTHON_USEDEP}]
59 + ')"
60 +RDEPEND="${DEPEND}
61 + >=dev-db/m17n-db-1.7"
62 +BDEPEND="sys-devel/gettext
63 + virtual/pkgconfig"
64 +
65 +src_prepare() {
66 + default
67 +
68 + sed -i "s|/usr\(/bin/sh\)|\1|" {engine,setup}/*.in
69 +}
70 +
71 +pkg_preinst() {
72 + xdg_pkg_preinst
73 + gnome2_schemas_savelist
74 +}
75 +
76 +pkg_postinst() {
77 + xdg_pkg_postinst
78 + gnome2_schemas_update
79 +}
80 +
81 +pkg_postrm() {
82 + xdg_pkg_postrm
83 + gnome2_schemas_update
84 +}