From: Joonas Niilola Date: Wed, 12 Feb 2020 05:53:18 +0000 (+0200) Subject: dev-libs/voikko-fi: add python_check_deps() X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f108f0a50a3e726241d070535efe6cb1aceefea;p=gentoo.git dev-libs/voikko-fi: add python_check_deps() Closes: https://bugs.gentoo.org/708570 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 7bb1c284839e..acd48c7ef5e8 100644 --- a/dev-libs/voikko-fi/voikko-fi-2.3.ebuild +++ b/dev-libs/voikko-fi/voikko-fi-2.3.ebuild @@ -18,11 +18,13 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" DEPEND="${PYTHON_DEPS} dev-libs/foma - $(python_gen_any_dep ' - >=dev-libs/libvoikko-4.0[${PYTHON_USEDEP}] - ')" + $(python_gen_any_dep '>=dev-libs/libvoikko-4.0[${PYTHON_USEDEP}]')" RDEPEND="${DEPEND}" +python_check_deps() { + has_version ">=dev-libs/libvoikko-4.0[${PYTHON_USEDEP}]" +} + src_compile() { emake vvfst }