dev-libs/voikko-fi: add python_check_deps()
authorJoonas Niilola <juippis@gentoo.org>
Wed, 12 Feb 2020 05:53:18 +0000 (07:53 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 12 Feb 2020 05:53:47 +0000 (07:53 +0200)
Closes: https://bugs.gentoo.org/708570
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-libs/voikko-fi/voikko-fi-2.3.ebuild

index 7bb1c284839e78840ba169e6921b121684d0d217..acd48c7ef5e8b2496d83e0b619e792fa451043e6 100644 (file)
@@ -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
 }