summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-02-20 09:05:25 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-02-20 09:09:10 +0200
commitb9d1d9512f0db2a8d0a3aafc353f5037fee1a66b (patch)
treed67f64f5c64ca96382036a5e3eed2b41d7956190 /dev-libs/voikko-fi
parentdev-ruby/gist: bump for service requirements change (diff)
downloadgentoo-b9d1d9512f0db2a8d0a3aafc353f5037fee1a66b.tar.gz
gentoo-b9d1d9512f0db2a8d0a3aafc353f5037fee1a66b.tar.bz2
gentoo-b9d1d9512f0db2a8d0a3aafc353f5037fee1a66b.zip
dev-libs/voikko-fi: switch to python-any-r1, add BDEPEND
Closes: https://bugs.gentoo.org/710222 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/voikko-fi')
-rw-r--r--dev-libs/voikko-fi/voikko-fi-2.3.ebuild16
1 files changed, 6 insertions, 10 deletions
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