You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
718 B
34 lines
718 B
# 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
|
|
}
|