From 2e45bca1320cbe8e4f92af13e44dff95e6365c6d Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 27 Dec 2014 11:31:15 +0000 Subject: Convert to python-single-r1. (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) --- app-i18n/ibus-tutcode/ibus-tutcode-1.0.2-r1.ebuild | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app-i18n/ibus-tutcode/ibus-tutcode-1.0.2-r1.ebuild (limited to 'app-i18n/ibus-tutcode/ibus-tutcode-1.0.2-r1.ebuild') diff --git a/app-i18n/ibus-tutcode/ibus-tutcode-1.0.2-r1.ebuild b/app-i18n/ibus-tutcode/ibus-tutcode-1.0.2-r1.ebuild new file mode 100644 index 000000000000..3881324e396b --- /dev/null +++ b/app-i18n/ibus-tutcode/ibus-tutcode-1.0.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-tutcode/ibus-tutcode-1.0.2-r1.ebuild,v 1.1 2014/12/27 11:31:15 mgorny Exp $ + +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 +} -- cgit v1.2.3-65-gdbad