From: Joonas Niilola Date: Thu, 20 Feb 2020 07:05:25 +0000 (+0200) Subject: dev-libs/voikko-fi: switch to python-any-r1, add BDEPEND X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b9d1d9512f0db2a8d0a3aafc353f5037fee1a66b;p=gentoo.git dev-libs/voikko-fi: switch to python-any-r1, add BDEPEND Closes: https://bugs.gentoo.org/710222 Signed-off-by: Joonas Niilola --- diff --git a/dev-libs/voikko-fi/voikko-fi-2.3.ebuild b/dev-libs/voikko-fi/voikko-fi-2.3.ebuild index acd48c7ef5e8..fe39034097df 100644 --- a/dev-libs/voikko-fi/voikko-fi-2.3.ebuild +++ b/dev-libs/voikko-fi/voikko-fi-2.3.ebuild @@ -5,25 +5,21 @@ EAPI=7 PYTHON_COMPAT=( python3_{6..7} ) -inherit python-r1 +inherit python-any-r1 DESCRIPTION="Finnish dictionary for libvoikko based spell checkers (vvfst format)" HOMEPAGE="https://voikko.puimula.org/" SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz" + LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - dev-libs/foma - $(python_gen_any_dep '>=dev-libs/libvoikko-4.0[${PYTHON_USEDEP}]')" +DEPEND="dev-libs/foma + dev-libs/libvoikko" RDEPEND="${DEPEND}" - -python_check_deps() { - has_version ">=dev-libs/libvoikko-4.0[${PYTHON_USEDEP}]" -} +BDEPEND="${PYTHON_DEPS} + dev-libs/libvoikko" src_compile() { emake vvfst