1 |
commit: 96d761983002c2ea27f0b88d39e6a3a10affa292 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 17 07:40:51 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 17 20:14:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d76198 |
7 |
|
8 |
app-text/hunspell: Fix DESCRIPTION, HOMEPAGE, DEPEND->BDEPEND |
9 |
|
10 |
- drop superfluous MY_P var |
11 |
- sort ebuild vars to follow conventions |
12 |
|
13 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
app-text/hunspell/hunspell-1.7.0-r2.ebuild | 27 +++++++++------------------ |
17 |
1 file changed, 9 insertions(+), 18 deletions(-) |
18 |
|
19 |
diff --git a/app-text/hunspell/hunspell-1.7.0-r2.ebuild b/app-text/hunspell/hunspell-1.7.0-r2.ebuild |
20 |
index 2b7966634c0..8d9db7372ee 100644 |
21 |
--- a/app-text/hunspell/hunspell-1.7.0-r2.ebuild |
22 |
+++ b/app-text/hunspell/hunspell-1.7.0-r2.ebuild |
23 |
@@ -2,16 +2,17 @@ |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
-inherit autotools flag-o-matic |
28 |
|
29 |
-MY_P="${PN}-${PV/_beta/b}" |
30 |
+LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id is |
31 |
+it kk km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu" |
32 |
+inherit autotools flag-o-matic |
33 |
|
34 |
-DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo" |
35 |
+DESCRIPTION="Spell checker, morphological analyzer library and command-line tool" |
36 |
+HOMEPAGE="https://hunspell.github.io/" |
37 |
SRC_URI="https://github.com/hunspell/hunspell/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
38 |
-HOMEPAGE="https://github.com/hunspell" |
39 |
|
40 |
-SLOT="0/$(ver_cut 1-2)" |
41 |
LICENSE="MPL-1.1 GPL-2 LGPL-2.1" |
42 |
+SLOT="0/$(ver_cut 1-2)" |
43 |
IUSE="ncurses nls readline static-libs" |
44 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
45 |
|
46 |
@@ -19,13 +20,8 @@ RDEPEND=" |
47 |
ncurses? ( sys-libs/ncurses:0= ) |
48 |
readline? ( sys-libs/readline:= ) |
49 |
" |
50 |
-DEPEND="${RDEPEND} |
51 |
- sys-devel/gettext |
52 |
-" |
53 |
- |
54 |
-LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id |
55 |
-is it kk km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk |
56 |
-zu" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+BDEPEND="sys-devel/gettext" |
59 |
|
60 |
PDEPEND="" |
61 |
for lang in ${LANGS}; do |
62 |
@@ -39,12 +35,7 @@ for lang in ${LANGS}; do |
63 |
done |
64 |
unset dict lang LANGS |
65 |
|
66 |
-S="${WORKDIR}/${MY_P}" |
67 |
- |
68 |
-DOCS=( |
69 |
- AUTHORS ChangeLog NEWS THANKS license.hunspell |
70 |
- license.myspell README.md |
71 |
-) |
72 |
+DOCS=( AUTHORS ChangeLog NEWS THANKS license.{hunspell,myspell} README.md ) |
73 |
|
74 |
PATCHES=( |
75 |
# Upstream package creates some executables which names are too generic |