blob: b39c6bbfb76bd4bca0e292ee1fd109791d566518 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
DESCRIPTION="a Japanese TUT-Code input engine for IBus"
HOMEPAGE="https://github.com/deton/ibus-tutcode/"
SRC_URI="mirror://github/deton/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="test"
CDEPEND="${PYTHON_DEPS}
>=sys-devel/gettext-0.16.1"
DEPEND="${CDEPEND}
test? ( app-i18n/ibus )"
RDEPEND="${CDEPEND}
app-i18n/ibus"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
src_prepare() {
sed -i -e "s/python/${EPYTHON}/" engine/ibus-engine-tutcode.in || die
}
src_install() {
default
dodoc ${PN}.json.example
}
|