From f144529727c1fef8635855e6db498d21a205881e Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 7 Feb 2020 10:33:28 +0100 Subject: app-i18n/ibus-table: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-i18n/ibus-table/ibus-table-1.9.18-r1.ebuild | 39 ++++++++++++++++++++++++ app-i18n/ibus-table/ibus-table-1.9.18.ebuild | 37 ----------------------- app-i18n/ibus-table/ibus-table-1.9.21-r1.ebuild | 40 +++++++++++++++++++++++++ app-i18n/ibus-table/ibus-table-1.9.21.ebuild | 38 ----------------------- 4 files changed, 79 insertions(+), 75 deletions(-) create mode 100644 app-i18n/ibus-table/ibus-table-1.9.18-r1.ebuild delete mode 100644 app-i18n/ibus-table/ibus-table-1.9.18.ebuild create mode 100644 app-i18n/ibus-table/ibus-table-1.9.21-r1.ebuild delete mode 100644 app-i18n/ibus-table/ibus-table-1.9.21.ebuild (limited to 'app-i18n') diff --git a/app-i18n/ibus-table/ibus-table-1.9.18-r1.ebuild b/app-i18n/ibus-table/ibus-table-1.9.18-r1.ebuild new file mode 100644 index 000000000000..dcd828dcbbea --- /dev/null +++ b/app-i18n/ibus-table/ibus-table-1.9.18-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="sqlite(+)" + +inherit python-single-r1 + +DESCRIPTION="Tables engines for IBus" +HOMEPAGE="https://github.com/ibus/ibus/wiki" +SRC_URI="https://github.com/kaio/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + ') + virtual/libiconv + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + python_fix_shebang . + + default +} + +src_configure() { + econf $(use_enable nls) +} diff --git a/app-i18n/ibus-table/ibus-table-1.9.18.ebuild b/app-i18n/ibus-table/ibus-table-1.9.18.ebuild deleted file mode 100644 index 025526aa8b12..000000000000 --- a/app-i18n/ibus-table/ibus-table-1.9.18.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -PYTHON_COMPAT=( python3_6 ) -PYTHON_REQ_USE="sqlite(+)" - -inherit python-single-r1 - -DESCRIPTION="Tables engines for IBus" -HOMEPAGE="https://github.com/ibus/ibus/wiki" -SRC_URI="https://github.com/kaio/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -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}] - virtual/libiconv - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -src_prepare() { - python_fix_shebang . - - default -} - -src_configure() { - econf $(use_enable nls) -} diff --git a/app-i18n/ibus-table/ibus-table-1.9.21-r1.ebuild b/app-i18n/ibus-table/ibus-table-1.9.21-r1.ebuild new file mode 100644 index 000000000000..9db9ac7acf04 --- /dev/null +++ b/app-i18n/ibus-table/ibus-table-1.9.21-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="sqlite(+)" + +inherit python-single-r1 + +DESCRIPTION="Tables engines for IBus" +HOMEPAGE="https://github.com/ibus/ibus/wiki" +SRC_URI="https://github.com/kaio/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" +RESTRICT="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + ') + virtual/libiconv + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + python_fix_shebang . + + default +} + +src_configure() { + econf $(use_enable nls) +} diff --git a/app-i18n/ibus-table/ibus-table-1.9.21.ebuild b/app-i18n/ibus-table/ibus-table-1.9.21.ebuild deleted file mode 100644 index 7da7fff419c8..000000000000 --- a/app-i18n/ibus-table/ibus-table-1.9.21.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -PYTHON_COMPAT=( python3_6 ) -PYTHON_REQ_USE="sqlite(+)" - -inherit python-single-r1 - -DESCRIPTION="Tables engines for IBus" -HOMEPAGE="https://github.com/ibus/ibus/wiki" -SRC_URI="https://github.com/kaio/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="nls" -RESTRICT="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - app-i18n/ibus[python(+),${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - virtual/libiconv - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -src_prepare() { - python_fix_shebang . - - default -} - -src_configure() { - econf $(use_enable nls) -} -- cgit v1.2.3-65-gdbad