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-cangjie/
Date: Tue, 04 Sep 2018 12:40:44
Message-Id: 1536064807.dfed50c573bdb238170ccad8f8fa313b3d37f502.hattya@gentoo
1 commit: dfed50c573bdb238170ccad8f8fa313b3d37f502
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 4 12:40:07 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 4 12:40:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfed50c5
7
8 app-i18n/ibus-cangjie: update to EAPI 6
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild | 46 ++++++++++++++++++++++
13 app-i18n/ibus-cangjie/ibus-cangjie-2.4.ebuild | 49 ------------------------
14 app-i18n/ibus-cangjie/metadata.xml | 14 +++----
15 3 files changed, 53 insertions(+), 56 deletions(-)
16
17 diff --git a/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild b/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild
18 new file mode 100644
19 index 00000000000..f7446f6ad8a
20 --- /dev/null
21 +++ b/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild
22 @@ -0,0 +1,46 @@
23 +# Copyright 1999-2018 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI="6"
27 +PYTHON_COMPAT=( python{3_4,3_5,3_6} )
28 +
29 +inherit gnome2-utils python-r1
30 +
31 +DESCRIPTION="Chinese Cangjie and Quick engines for IBus"
32 +HOMEPAGE="http://cangjians.github.io/"
33 +SRC_URI="https://github.com/Cangjians/${PN}/releases/download/v${PV}/${P}.tar.xz"
34 +
35 +LICENSE="GPL-3+"
36 +SLOT="0"
37 +KEYWORDS="amd64 x86"
38 +IUSE="nls"
39 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
40 +
41 +RDEPEND="${PYTHON_DEPS}
42 + app-i18n/ibus[python(+),${PYTHON_USEDEP}]
43 + app-i18n/libcangjie
44 + dev-python/cangjie[${PYTHON_USEDEP}]
45 + nls? ( virtual/libintl )"
46 +DEPEND="${RDEPEND}
47 + dev-util/intltool
48 + nls? ( sys-devel/gettext )"
49 +
50 +src_configure() {
51 + python_foreach_impl default
52 +}
53 +
54 +src_compile() {
55 + python_foreach_impl default
56 +}
57 +
58 +src_install() {
59 + python_foreach_impl default
60 +}
61 +
62 +pkg_postinst() {
63 + gnome2_icon_cache_update
64 +}
65 +
66 +pkg_postrm() {
67 + gnome2_icon_cache_update
68 +}
69
70 diff --git a/app-i18n/ibus-cangjie/ibus-cangjie-2.4.ebuild b/app-i18n/ibus-cangjie/ibus-cangjie-2.4.ebuild
71 deleted file mode 100644
72 index 766065c3213..00000000000
73 --- a/app-i18n/ibus-cangjie/ibus-cangjie-2.4.ebuild
74 +++ /dev/null
75 @@ -1,49 +0,0 @@
76 -# Copyright 1999-2017 Gentoo Foundation
77 -# Distributed under the terms of the GNU General Public License v2
78 -
79 -EAPI=5
80 -PYTHON_COMPAT=( python3_{4,5,6} )
81 -
82 -inherit autotools-utils gnome2-utils python-r1 eutils
83 -
84 -DESCRIPTION="The IBus engine for users of the Cangjie and Quick input methods"
85 -HOMEPAGE="http://cangjians.github.io"
86 -SRC_URI="https://github.com/Cangjians/ibus-cangjie/releases/download/v${PV}/ibus-cangjie-${PV}.tar.xz"
87 -
88 -LICENSE="GPL-3+"
89 -SLOT="0"
90 -KEYWORDS="amd64 x86"
91 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
92 -
93 -DEPEND="${PYTHON_DEPS}
94 - >=app-i18n/ibus-1.4.1
95 - app-i18n/libcangjie
96 - dev-python/cangjie[${PYTHON_USEDEP}]
97 - dev-util/intltool
98 - sys-devel/gettext"
99 -
100 -RDEPEND=">=app-i18n/ibus-1.4.1
101 - app-i18n/libcangjie
102 - dev-python/cangjie[${PYTHON_USEDEP}]
103 - virtual/libintl
104 - ${PYTHON_DEPS}"
105 -
106 -src_configure() {
107 - python_foreach_impl autotools-utils_src_configure
108 -}
109 -
110 -src_compile() {
111 - python_foreach_impl autotools-utils_src_compile
112 -}
113 -
114 -src_install() {
115 - python_foreach_impl autotools-utils_src_install
116 -}
117 -
118 -pkg_preinst() {
119 - gnome2_icon_savelist
120 -}
121 -
122 -pkg_postinst() {
123 - gnome2_icon_cache_update
124 -}
125
126 diff --git a/app-i18n/ibus-cangjie/metadata.xml b/app-i18n/ibus-cangjie/metadata.xml
127 index 9468326e6f9..83985854d52 100644
128 --- a/app-i18n/ibus-cangjie/metadata.xml
129 +++ b/app-i18n/ibus-cangjie/metadata.xml
130 @@ -1,11 +1,11 @@
131 <?xml version="1.0" encoding="UTF-8"?>
132 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
133 <pkgmetadata>
134 - <maintainer type="project">
135 - <email>cjk@g.o</email>
136 - <name>Cjk</name>
137 - </maintainer>
138 - <upstream>
139 - <remote-id type="github">Cangjians/ibus-cangjie</remote-id>
140 - </upstream>
141 + <maintainer type="project">
142 + <email>cjk@g.o</email>
143 + <name>Cjk</name>
144 + </maintainer>
145 + <upstream>
146 + <remote-id type="github">Cangjians/ibus-cangjie</remote-id>
147 + </upstream>
148 </pkgmetadata>