1 |
commit: 1a3e247a338aa50fcbd509d4b472d214e123e403 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 1 12:40:54 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 1 12:40:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3e247a |
7 |
|
8 |
dev-libs/libvoikko: bump to 4.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libvoikko/Manifest | 1 + |
14 |
dev-libs/libvoikko/libvoikko-4.3.ebuild | 46 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libvoikko/Manifest b/dev-libs/libvoikko/Manifest |
18 |
index af1e1f9445f..25b636a3aed 100644 |
19 |
--- a/dev-libs/libvoikko/Manifest |
20 |
+++ b/dev-libs/libvoikko/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libvoikko-4.2.tar.gz 653769 BLAKE2B 6c0e665d7b5eca394b49dbebf38a0815b1fe1ea328efa305e9d1574b551c633be6b2326b5b402bbc454557a559a821a28c668a1845b21a71c378d0e97103ca53 SHA512 483d3c259a52ae772d52f708789c3df39a4857188c7b9035ce5db8b16bfa4ef144e2ffd557dd6a0655e4c9a6984529784e4098bc949a1bc8a0a50529fee49656 |
23 |
+DIST libvoikko-4.3.tar.gz 655465 BLAKE2B a5c0cfd420d51f873bbd707dfddf2e20ea3df8285a88a13fd6a2af947183be42137aefd1ae088b7b01e938864b3fc9402b110cc8a577efb8331a7ea24f795c2e SHA512 804d55d34deca52f882580ff8699a548d0b62d79eb8e27f8f5783a9e0e57d1ab8986963084df2b5fc7ca9f45546e6e4d66e195a42cfbe0327ca02dc211563988 |
24 |
|
25 |
diff --git a/dev-libs/libvoikko/libvoikko-4.3.ebuild b/dev-libs/libvoikko/libvoikko-4.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7bdff963650 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libvoikko/libvoikko-4.3.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_{5..7}} ) |
37 |
+ |
38 |
+inherit python-r1 |
39 |
+ |
40 |
+DESCRIPTION="Spell checking, hyphenation and morphological analysis tool for Finnish language" |
41 |
+HOMEPAGE="https://voikko.puimula.org/" |
42 |
+SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz" |
43 |
+LICENSE="GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+IUSE="+expvfst +hfst" |
48 |
+ |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
+ |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+DEPEND="${PYTHON_DEPS} |
54 |
+ hfst? ( >=dev-util/hfstospell-0.5.0 )" |
55 |
+RDEPEND="${DEPEND}" |
56 |
+ |
57 |
+src_configure() { |
58 |
+ local myconf=( |
59 |
+ --prefix=/usr |
60 |
+ --with-dictionary-path=/usr/share/voikko |
61 |
+ $(use_enable expvfst) |
62 |
+ ) |
63 |
+ |
64 |
+ if ! use hfst ; then |
65 |
+ myconf+=( --disable-hfst ) |
66 |
+ fi |
67 |
+ |
68 |
+ econf "${myconf[@]}" |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ python_setup |
73 |
+ default |
74 |
+ |
75 |
+ python_foreach_impl python_domodule python/libvoikko.py |
76 |
+} |