commit:     3b5944f37568b2920a23b84dd8d8088b1c1d1c00
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 15 09:19:23 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 09:19:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b5944f3

dev-libs/voikko-fi: install more lexicons for specific fields

 - include "education", "it", "medicine", "nature", science and more.

Closes: https://bugs.gentoo.org/949575
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/voikko-fi/voikko-fi-2.5-r2.ebuild | 36 ++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/dev-libs/voikko-fi/voikko-fi-2.5-r2.ebuild 
b/dev-libs/voikko-fi/voikko-fi-2.5-r2.ebuild
new file mode 100644
index 000000000000..5decdb0faeca
--- /dev/null
+++ b/dev-libs/voikko-fi/voikko-fi-2.5-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit python-any-r1 verify-sig
+
+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
+       verify-sig? ( 
https://www.puimula.org/voikko-sources/voikko-fi/${P}.tar.gz.asc )"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/foma:=
+       dev-libs/libvoikko"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}
+       dev-libs/libvoikko
+       verify-sig? ( sec-keys/openpgp-keys-voikko )"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/voikko.asc
+
+src_compile() {
+       emake 
GENLEX_OPTS="--extra-usage=education,human,it,medicine,nature,orgname,science" 
vvfst
+}
+
+src_install() {
+       emake DESTDIR="${D}/usr/share/voikko/" vvfst-install
+       einstalldocs
+}

Reply via email to