From: Akinori Hattori Date: Tue, 28 Aug 2018 13:22:25 +0000 (+0900) Subject: app-i18n/ibus-hangul: update to EAPI 6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2746248be2cb0e7478ebeaaa281ad6645bba0b43;p=gentoo.git app-i18n/ibus-hangul: update to EAPI 6 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- 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 new file mode 100644 index 000000000000..b4eb943e4273 --- /dev/null +++ b/app-i18n/ibus-hangul/ibus-hangul-1.5.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit python-single-r1 + +DESCRIPTION="Hangul engine for IBus" +HOMEPAGE="https://github.com/ibus/ibus/wiki" +SRC_URI="https://github.com/choehwanjin/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + app-i18n/ibus[python(+),${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + >=app-i18n/libhangul-0.1 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + sed -i "s/@PYTHON@/${EPYTHON}/" setup/${PN/-/-setup-}.in + + default +} + +src_configure() { + econf $(use_enable nls) +} diff --git a/app-i18n/ibus-hangul/ibus-hangul-1.5.0.ebuild b/app-i18n/ibus-hangul/ibus-hangul-1.5.0.ebuild deleted file mode 100644 index 38435562f840..000000000000 --- a/app-i18n/ibus-hangul/ibus-hangul-1.5.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 - -DESCRIPTION="The Hangul engine for IBus input platform" -HOMEPAGE="https://github.com/ibus/ibus/wiki" -SRC_URI="https://github.com/choehwanjin/ibus-hangul/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="nls" - -RDEPEND=">=app-i18n/ibus-1.4[python,${PYTHON_USEDEP}] - =dev-python/pygobject-2*[${PYTHON_USEDEP}] - =dev-python/pygtk-2*[${PYTHON_USEDEP}] - >=app-i18n/libhangul-0.1 - nls? ( virtual/libintl ) - ${PYTHON_DEPS}" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( - dev-util/intltool - >=sys-devel/gettext-0.17 - )" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -DOCS="AUTHORS ChangeLog NEWS README" - -src_prepare() { - sed -ie "s:python:${EPYTHON}:" \ - setup/ibus-setup-hangul.in || die -} - -src_configure() { - econf $(use_enable nls) -} diff --git a/app-i18n/ibus-hangul/metadata.xml b/app-i18n/ibus-hangul/metadata.xml index 7f550752e704..9b2935d879d7 100644 --- a/app-i18n/ibus-hangul/metadata.xml +++ b/app-i18n/ibus-hangul/metadata.xml @@ -5,7 +5,10 @@ cjk@gentoo.org Cjk - The Hangul engine for IBus platform. It provides Korean input method from libhangul. + + The Hangul engine for IBus. It provides Korean input method from + app-i18n/libhangul. + ibus ibus/ibus