Diff ibus-table-1.9.21-r2 with a ibus-table-1.17.2
/usr/portage/app-i18n/ibus-table/ibus-table-1.17.2.ebuild 2023-10-09 14:52:28.756368332 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI="6" |
|
5 |
PYTHON_COMPAT=( python3_7 ) |
|
4 |
EAPI="8" |
|
5 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
6 | 6 |
PYTHON_REQ_USE="sqlite(+)" |
7 | 7 | |
8 |
inherit python-single-r1 |
|
8 |
inherit gnome2-utils python-single-r1 xdg |
|
9 | 9 | |
10 | 10 |
DESCRIPTION="Tables engines for IBus" |
11 | 11 |
HOMEPAGE="https://github.com/ibus/ibus/wiki" |
... | ... | |
13 | 13 | |
14 | 14 |
LICENSE="GPL-2 LGPL-2.1" |
15 | 15 |
SLOT="0" |
16 |
KEYWORDS="~amd64 ~x86" |
|
16 |
KEYWORDS="amd64 x86" |
|
17 | 17 |
IUSE="nls" |
18 | 18 |
RESTRICT="test" |
19 | 19 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
20 | 20 | |
21 | 21 |
RDEPEND="${PYTHON_DEPS} |
22 | 22 |
$(python_gen_cond_dep ' |
23 |
app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}] |
|
24 |
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] |
|
23 |
app-i18n/ibus[python(+),${PYTHON_USEDEP}] |
|
24 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
|
25 | 25 |
') |
26 | 26 |
virtual/libiconv |
27 | 27 |
nls? ( virtual/libintl )" |
28 |
DEPEND="${RDEPEND} |
|
29 |
virtual/pkgconfig |
|
28 |
DEPEND="${RDEPEND}" |
|
29 |
BDEPEND="virtual/pkgconfig |
|
30 | 30 |
nls? ( sys-devel/gettext )" |
31 | 31 | |
32 | 32 |
src_prepare() { |
... | ... | |
38 | 38 |
src_configure() { |
39 | 39 |
econf $(use_enable nls) |
40 | 40 |
} |
41 | ||
42 |
pkg_preinst() { |
|
43 |
xdg_pkg_preinst |
|
44 |
gnome2_schemas_savelist |
|
45 |
} |
|
46 | ||
47 |
pkg_postinst() { |
|
48 |
xdg_pkg_postinst |
|
49 |
gnome2_schemas_update |
|
50 |
} |
|
51 | ||
52 |
pkg_postrm() { |
|
53 |
xdg_pkg_postrm |
|
54 |
gnome2_schemas_update |
|
55 |
} |