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-hangul/
Date: Tue, 28 Aug 2018 13:27:30
Message-Id: 1535462826.2746248be2cb0e7478ebeaaa281ad6645bba0b43.hattya@gentoo
1 commit: 2746248be2cb0e7478ebeaaa281ad6645bba0b43
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 28 13:22:25 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 28 13:27:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2746248b
7
8 app-i18n/ibus-hangul: update to EAPI 6
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-i18n/ibus-hangul/ibus-hangul-1.5.0-r1.ebuild | 37 ++++++++++++++++++++
13 app-i18n/ibus-hangul/ibus-hangul-1.5.0.ebuild | 43 ------------------------
14 app-i18n/ibus-hangul/metadata.xml | 5 ++-
15 3 files changed, 41 insertions(+), 44 deletions(-)
16
17 diff --git a/app-i18n/ibus-hangul/ibus-hangul-1.5.0-r1.ebuild b/app-i18n/ibus-hangul/ibus-hangul-1.5.0-r1.ebuild
18 new file mode 100644
19 index 00000000000..b4eb943e427
20 --- /dev/null
21 +++ b/app-i18n/ibus-hangul/ibus-hangul-1.5.0-r1.ebuild
22 @@ -0,0 +1,37 @@
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{2_7,3_4,3_5,3_6} )
28 +
29 +inherit python-single-r1
30 +
31 +DESCRIPTION="Hangul engine for IBus"
32 +HOMEPAGE="https://github.com/ibus/ibus/wiki"
33 +SRC_URI="https://github.com/choehwanjin/${PN}/releases/download/${PV}/${P}.tar.gz"
34 +
35 +LICENSE="GPL-2"
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 + dev-python/pygobject:3[${PYTHON_USEDEP}]
44 + >=app-i18n/libhangul-0.1
45 + nls? ( virtual/libintl )"
46 +DEPEND="${RDEPEND}
47 + dev-util/intltool
48 + virtual/pkgconfig
49 + nls? ( sys-devel/gettext )"
50 +
51 +src_prepare() {
52 + sed -i "s/@PYTHON@/${EPYTHON}/" setup/${PN/-/-setup-}.in
53 +
54 + default
55 +}
56 +
57 +src_configure() {
58 + econf $(use_enable nls)
59 +}
60
61 diff --git a/app-i18n/ibus-hangul/ibus-hangul-1.5.0.ebuild b/app-i18n/ibus-hangul/ibus-hangul-1.5.0.ebuild
62 deleted file mode 100644
63 index 38435562f84..00000000000
64 --- a/app-i18n/ibus-hangul/ibus-hangul-1.5.0.ebuild
65 +++ /dev/null
66 @@ -1,43 +0,0 @@
67 -# Copyright 1999-2016 Gentoo Foundation
68 -# Distributed under the terms of the GNU General Public License v2
69 -
70 -EAPI=5
71 -
72 -PYTHON_COMPAT=( python2_7 )
73 -
74 -inherit python-single-r1
75 -
76 -DESCRIPTION="The Hangul engine for IBus input platform"
77 -HOMEPAGE="https://github.com/ibus/ibus/wiki"
78 -SRC_URI="https://github.com/choehwanjin/ibus-hangul/releases/download/${PV}/${P}.tar.gz"
79 -
80 -LICENSE="GPL-2"
81 -SLOT="0"
82 -KEYWORDS="amd64 x86"
83 -IUSE="nls"
84 -
85 -RDEPEND=">=app-i18n/ibus-1.4[python,${PYTHON_USEDEP}]
86 - =dev-python/pygobject-2*[${PYTHON_USEDEP}]
87 - =dev-python/pygtk-2*[${PYTHON_USEDEP}]
88 - >=app-i18n/libhangul-0.1
89 - nls? ( virtual/libintl )
90 - ${PYTHON_DEPS}"
91 -DEPEND="${RDEPEND}
92 - virtual/pkgconfig
93 - nls? (
94 - dev-util/intltool
95 - >=sys-devel/gettext-0.17
96 - )"
97 -
98 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
99 -
100 -DOCS="AUTHORS ChangeLog NEWS README"
101 -
102 -src_prepare() {
103 - sed -ie "s:python:${EPYTHON}:" \
104 - setup/ibus-setup-hangul.in || die
105 -}
106 -
107 -src_configure() {
108 - econf $(use_enable nls)
109 -}
110
111 diff --git a/app-i18n/ibus-hangul/metadata.xml b/app-i18n/ibus-hangul/metadata.xml
112 index 7f550752e70..9b2935d879d 100644
113 --- a/app-i18n/ibus-hangul/metadata.xml
114 +++ b/app-i18n/ibus-hangul/metadata.xml
115 @@ -5,7 +5,10 @@
116 <email>cjk@g.o</email>
117 <name>Cjk</name>
118 </maintainer>
119 - <longdescription lang="en">The Hangul engine for IBus platform. It provides Korean input method from libhangul.</longdescription>
120 + <longdescription lang="en">
121 + The Hangul engine for IBus. It provides Korean input method from
122 + <pkg>app-i18n/libhangul</pkg>.
123 + </longdescription>
124 <upstream>
125 <remote-id type="google-code">ibus</remote-id>
126 <remote-id type="github">ibus/ibus</remote-id>