1 |
commit: 964822f3b31bb55d83de617ffc115aa483d6f7ba |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 1 12:19:11 2020 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 1 12:20:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964822f3 |
7 |
|
8 |
app-text/nuspell: 3.1.2 |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
|
13 |
app-text/nuspell/Manifest | 1 + |
14 |
app-text/nuspell/nuspell-3.1.2.ebuild | 51 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/app-text/nuspell/Manifest b/app-text/nuspell/Manifest |
18 |
index f9863ecdbfa..b1104277761 100644 |
19 |
--- a/app-text/nuspell/Manifest |
20 |
+++ b/app-text/nuspell/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST nuspell-3.0.0.tar.gz 403043 BLAKE2B b437012e4fb327f13d9ff0944dadf7e865c670daf153be00dd48e9d2fc01c87d410ebd5aeaa094f6446d3035346738010cdba961cfaada3751bedce264beaa6a SHA512 d9cd7dd276e2bca43dec3abaf11c5206695949b9fda8c9b86f2772cc7e8fa95bf17c685a2ef9ca87fe3c4f0b55f2fcb435bc21c187355f5e3fa35dcafab2c8c2 |
23 |
DIST nuspell-3.1.0.tar.gz 407196 BLAKE2B 688f6f59ba2f7bceaafe9a7cc707c008be93341e855ca60f07d6de67a626539693048af6f5ca40246ccc51e2573b76ba2bd4439aa9c0acb66a212bebd9219617 SHA512 a9bedfd6e2d77fd34d249cf7aa1fcb6bde5bced26f02f8a2dd860416a61488c9b7016a0df6015052fcccb272b342e6205db601107f46efa44c9d78ce261a826c |
24 |
DIST nuspell-3.1.1.tar.gz 379636 BLAKE2B 952cbe6f15221c0050f108b9f95718cc1d1ca9a94a7b15e0b6f2a53a92a2c95cf54f317b110bfc4b297943b9128bae8968a735ce68e7c752ff159359f4562f4b SHA512 239855051d9f49ba16913283090c4214a8f6a6cc290d359ab54014ff76fc297c131b67c6748bd1d4cdcec43c00dccc7f0c1bf8b07e06c9c648bff52ff193e096 |
25 |
+DIST nuspell-3.1.2.tar.gz 379029 BLAKE2B 80f773ffdcbfbeee0dd13cd325bb4fec5efa5b54ece92ac1589c418aab46c925419e9e1bc7e257a8320e24399f49bb867600679e34a5e40070b01a660578c92c SHA512 ed5206cb9ffa7e4ec6843988a75627d4ae7d5170444b6e7bd3496c1bf61c25412c4e68864800f2ad238d014b4e50d25282f367de2900f8a230f3ecc9ae5772be |
26 |
|
27 |
diff --git a/app-text/nuspell/nuspell-3.1.2.ebuild b/app-text/nuspell/nuspell-3.1.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..d5c3f19e7d5 |
30 |
--- /dev/null |
31 |
+++ b/app-text/nuspell/nuspell-3.1.2.ebuild |
32 |
@@ -0,0 +1,51 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit cmake |
39 |
+ |
40 |
+DESCRIPTION="Spell checker library and CLI for complex natural languages" |
41 |
+HOMEPAGE="https://nuspell.github.io/ https://github.com/nuspell/nuspell" |
42 |
+SRC_URI="https://github.com/nuspell/nuspell/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="LGPL-3+" |
45 |
+SLOT="0/3" # due to libnuspell.so.3 |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="doc test" |
48 |
+ |
49 |
+RDEPEND="dev-libs/icu" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ doc? ( app-text/ronn ) |
52 |
+ test? ( >=dev-cpp/catch-2.3.0:0 ) |
53 |
+ >=dev-libs/boost-1.62[icu]" |
54 |
+ |
55 |
+DOCS=( CHANGELOG.md ) |
56 |
+ |
57 |
+RESTRICT="!test? ( test )" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ rm -R external/Catch2/ || die |
61 |
+ if ! use test ; then |
62 |
+ rm -R external/hunspell/ || die |
63 |
+ fi |
64 |
+ cmake_src_prepare |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ local mycmakeargs=( |
69 |
+ -DBUILD_TESTING=$(usex test) |
70 |
+ ) |
71 |
+ |
72 |
+ cmake_src_configure |
73 |
+} |
74 |
+ |
75 |
+pkg_postinst() { |
76 |
+ einfo |
77 |
+ einfo 'Nuspell needs language packs and/or dictionaries to be of use' |
78 |
+ einfo 'e.g. package app-dicts/myspell-en or one of its siblings.' |
79 |
+ einfo |
80 |
+ einfo 'Besides MySpell dictionaries, for other options please' |
81 |
+ einfo 'see https://nuspell.github.io/#languages-and-users .' |
82 |
+ einfo |
83 |
+} |