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-chewing/
Date: Sat, 16 Oct 2021 13:43:42
Message-Id: 1634391679.30982c1cdaf829165bd3edfe02a082e04899e3c7.hattya@gentoo
1 commit: 30982c1cdaf829165bd3edfe02a082e04899e3c7
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 16 13:41:19 2021 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 16 13:41:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30982c1c
7
8 app-i18n/ibus-chewing: update to EAPI 7
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
12
13 app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild | 14 +++++++-------
14 app-i18n/ibus-chewing/metadata.xml | 20 ++++++++++----------
15 2 files changed, 17 insertions(+), 17 deletions(-)
16
17 diff --git a/app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild b/app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild
18 index 94525afb3ed..1eee6e7ecd2 100644
19 --- a/app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild
20 +++ b/app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild
21 @@ -1,10 +1,10 @@
22 # Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI="6"
26 +EAPI="7"
27 CMAKE_MAKEFILE_GENERATOR="emake"
28
29 -inherit cmake-utils gnome2-utils virtualx
30 +inherit cmake gnome2-utils virtualx
31
32 DESCRIPTION="Chinese Chewing engine for IBus"
33 HOMEPAGE="https://github.com/ibus/ibus/wiki"
34 @@ -23,8 +23,8 @@ RDEPEND="app-i18n/ibus
35 x11-libs/libX11
36 gconf? ( gnome-base/gconf )
37 nls? ( virtual/libintl )"
38 -DEPEND="${RDEPEND}
39 - dev-util/cmake-fedora
40 +DEPEND="${RDEPEND}"
41 +BDEPEND="dev-util/cmake-fedora
42 virtual/pkgconfig
43 nls? ( sys-devel/gettext )"
44
45 @@ -37,15 +37,15 @@ src_configure() {
46 -DPRJ_DOC_DIR="${EPREFIX}"/usr/share/doc/${PF}
47 )
48 use nls || mycmakeargs+=( -DMANAGE_GETTEXT_SUPPORT=0 )
49 - cmake-utils_src_configure
50 + cmake_src_configure
51 }
52
53 src_test() {
54 - "${EPREFIX%/}/"${GLIB_COMPILE_SCHEMAS} --allow-any-name "${BUILD_DIR}"/bin || die
55 + "${BROOT}"${GLIB_COMPILE_SCHEMAS} --allow-any-name "${BUILD_DIR}"/bin || die
56
57 export GSETTINGS_BACKEND="memory"
58 export GSETTINGS_SCHEMA_DIR="${BUILD_DIR}/bin"
59 - virtx cmake-utils_src_test
60 + virtx cmake_src_test
61 }
62
63 pkg_preinst() {
64
65 diff --git a/app-i18n/ibus-chewing/metadata.xml b/app-i18n/ibus-chewing/metadata.xml
66 index 0889e6335db..cf7f054fe39 100644
67 --- a/app-i18n/ibus-chewing/metadata.xml
68 +++ b/app-i18n/ibus-chewing/metadata.xml
69 @@ -1,14 +1,14 @@
70 <?xml version="1.0" encoding="UTF-8"?>
71 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
72 <pkgmetadata>
73 - <maintainer type="project">
74 - <email>cjk@g.o</email>
75 - <name>Cjk</name>
76 - </maintainer>
77 - <use>
78 - <flag name="gconf">Enable support for <pkg>gnome-base/gconf</pkg></flag>
79 - </use>
80 - <upstream>
81 - <remote-id type="github">definite/ibus-chewing</remote-id>
82 - </upstream>
83 + <maintainer type="project">
84 + <email>cjk@g.o</email>
85 + <name>Cjk</name>
86 + </maintainer>
87 + <use>
88 + <flag name="gconf">Enable support for <pkg>gnome-base/gconf</pkg></flag>
89 + </use>
90 + <upstream>
91 + <remote-id type="github">definite/ibus-chewing</remote-id>
92 + </upstream>
93 </pkgmetadata>