1 |
commit: bdc6ab35bdc1ecac19f134823bf87ab9dc7aeee9 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 12 14:05:16 2021 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 12 14:08:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdc6ab35 |
7 |
|
8 |
app-text/nuspell: 5.0.0 |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
12 |
|
13 |
app-text/nuspell/Manifest | 1 + |
14 |
app-text/nuspell/nuspell-5.0.0.ebuild | 51 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/app-text/nuspell/Manifest b/app-text/nuspell/Manifest |
18 |
index 03e7c510d86..a3212369e1b 100644 |
19 |
--- a/app-text/nuspell/Manifest |
20 |
+++ b/app-text/nuspell/Manifest |
21 |
@@ -3,3 +3,4 @@ DIST nuspell-4.0.0.tar.gz 379136 BLAKE2B 90aebe8318cd28240dfb7c1b034b2c045ac208c |
22 |
DIST nuspell-4.0.1.tar.gz 379342 BLAKE2B be52797ddd737c523a6141fc1c2683690cfcd1aa09e6548d7eed593ab023d2b45d3538f2a9964a7c2b4abc6506c67058cdc2479ec12ae5438ffe9faa00f0680c SHA512 122616fd24c2de35000ba12d680d3617e7fe97881d33febbcb106ce70d3bac356a00d90680a1bc8ee631ed532ace0f4b4f9fce4760a25b0f7fc1d60553e74528 |
23 |
DIST nuspell-4.1.0.tar.gz 380814 BLAKE2B 500da0797e4f0d1939afd8451b734f309b5c58e66532150614dd3463eda95ab421094e6c0485396b7ef1dd4b7fc03cadf10316d9cfdb1390b2769ddcc963d8b3 SHA512 d0c01dd73fefd8b9c800e6419fe916e55a53b8b19f5848d3766cdcb50383fdcd9e9bb49362b5cea4d9d2d7fda21aed055f28cb47b006e2049b2a904355f7f9ed |
24 |
DIST nuspell-4.2.0.tar.gz 382635 BLAKE2B cc141e764ce4e649a7a10f213c392973eb98eb21adddc7d2cd46c01f3cc9a6c85432bfb13ce178fba387a01aa1661e7c9b6a4717fca18fb3bfa220732daf53eb SHA512 ae9157e9753868c002ed69a765fb705d29d993f3940e11efbc2699778a8b1abee2eb7daa0ff51187b899d6935a215a24662e5b52ec1ef5c644e90a0245f7583d |
25 |
+DIST nuspell-5.0.0.tar.gz 372940 BLAKE2B 67e3b9b73f79d39c7cdb371ae7699fdaf8323db15dacd17907642f3d799eeb3e3303678d4a9ee4c5a88a5f61d7f1778745590fbac880625dc08c78e94752da6b SHA512 92605c5f0d413b86711fea3b993d656552d5e72440303d3e71907a503d060ead032dfeb0dd8dbb790f35599b8cca8854bdd8650f0560793d9c62a11aebccc2e5 |
26 |
|
27 |
diff --git a/app-text/nuspell/nuspell-5.0.0.ebuild b/app-text/nuspell/nuspell-5.0.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..f23bbc3b51b |
30 |
--- /dev/null |
31 |
+++ b/app-text/nuspell/nuspell-5.0.0.ebuild |
32 |
@@ -0,0 +1,51 @@ |
33 |
+# Copyright 1999-2021 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/5" # due to libnuspell.so.5 |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="doc test" |
48 |
+ |
49 |
+RDEPEND=">=dev-libs/icu-59" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ doc? ( app-text/pandoc ) |
52 |
+ test? ( >=dev-cpp/catch-2.3.0:0 ) |
53 |
+ " |
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 |
+} |