Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/hunspell/
Date: Fri, 24 Jun 2016 21:21:29
Message-Id: 1466803177.9e36750f22fa8d8de4dbf44aca6bf4f8abeeeb08.ulm@gentoo
1 commit: 9e36750f22fa8d8de4dbf44aca6bf4f8abeeeb08
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 23 07:43:50 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 24 21:19:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e36750f
7
8 app-text/hunspell: Migrate from LINGUAS to L10N.
9
10 Bug: 586778
11
12 Package-Manager: portage-2.3.0_rc1
13
14 app-text/hunspell/hunspell-1.3.3.ebuild | 23 +++++++++++++----------
15 app-text/hunspell/hunspell-1.3.4.ebuild | 20 +++++++++++---------
16 app-text/hunspell/hunspell-1.4.1.ebuild | 20 +++++++++++---------
17 3 files changed, 35 insertions(+), 28 deletions(-)
18
19 diff --git a/app-text/hunspell/hunspell-1.3.3.ebuild b/app-text/hunspell/hunspell-1.3.3.ebuild
20 index 8326165..c18f56f 100644
21 --- a/app-text/hunspell/hunspell-1.3.3.ebuild
22 +++ b/app-text/hunspell/hunspell-1.3.3.ebuild
23 @@ -17,23 +17,26 @@ IUSE="ncurses nls readline static-libs"
24 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
25
26 RDEPEND="
27 - ncurses? ( sys-libs/ncurses )
28 - readline? ( sys-libs/readline )"
29 + ncurses? ( sys-libs/ncurses:0= )
30 + readline? ( sys-libs/readline:= )"
31 DEPEND="${RDEPEND}
32 sys-devel/gettext"
33
34 # describe properly mi
35 -LANGS="af bg ca cs cy da de de_1901 el en eo es et fo fr ga gl he hr hu ia id
36 -is it km ku lt lv mk ms nb nl nn pl pt pt_BR ro ru sk sl sq sv sw tn uk zu"
37 +LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id
38 +is it km ku lt lv mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu"
39
40 -DICT_DEP="app-dicts/myspell-en"
41 +PDEPEND="app-dicts/myspell-en"
42 for lang in ${LANGS}; do
43 - DICT_DEP+=" linguas_${lang}? ( app-dicts/myspell-${lang/pt_BR/pt-br} )"
44 - IUSE+=" linguas_${lang}"
45 + IUSE+=" l10n_${lang}"
46 + case ${lang} in
47 + de-1901) dict="de_1901" ;;
48 + pt-BR) dict="pt-br" ;;
49 + *) dict="${lang}" ;;
50 + esac
51 + PDEPEND+=" l10n_${lang}? ( app-dicts/myspell-${dict} )"
52 done
53 -PDEPEND="${DICT_DEP}"
54 -
55 -unset lang LANGS DICT_DEP
56 +unset dict lang LANGS
57
58 S=${WORKDIR}/${MY_P}
59
60
61 diff --git a/app-text/hunspell/hunspell-1.3.4.ebuild b/app-text/hunspell/hunspell-1.3.4.ebuild
62 index 5a53f60..bba9bee 100644
63 --- a/app-text/hunspell/hunspell-1.3.4.ebuild
64 +++ b/app-text/hunspell/hunspell-1.3.4.ebuild
65 @@ -22,18 +22,20 @@ RDEPEND="
66 DEPEND="${RDEPEND}
67 sys-devel/gettext"
68
69 -# describe properly mi
70 -LANGS="af bg ca cs cy da de de_1901 el en eo es et fo fr ga gl he hr hu ia id
71 -is it km ku lt lv mk ms nb nl nn pl pt pt_BR ro ru sk sl sq sv sw tn uk zu"
72 +LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id
73 +is it km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu"
74
75 -DICT_DEP="app-dicts/myspell-en"
76 +PDEPEND="app-dicts/myspell-en"
77 for lang in ${LANGS}; do
78 - DICT_DEP+=" linguas_${lang}? ( app-dicts/myspell-${lang/pt_BR/pt-br} )"
79 - IUSE+=" linguas_${lang}"
80 + IUSE+=" l10n_${lang}"
81 + case ${lang} in
82 + de-1901) dict="de_1901" ;;
83 + pt-BR) dict="pt-br" ;;
84 + *) dict="${lang}" ;;
85 + esac
86 + PDEPEND+=" l10n_${lang}? ( app-dicts/myspell-${dict} )"
87 done
88 -PDEPEND="${DICT_DEP}"
89 -
90 -unset lang LANGS DICT_DEP
91 +unset dict lang LANGS
92
93 S=${WORKDIR}/${MY_P}
94
95
96 diff --git a/app-text/hunspell/hunspell-1.4.1.ebuild b/app-text/hunspell/hunspell-1.4.1.ebuild
97 index e4713f8..78f43fd 100644
98 --- a/app-text/hunspell/hunspell-1.4.1.ebuild
99 +++ b/app-text/hunspell/hunspell-1.4.1.ebuild
100 @@ -22,18 +22,20 @@ RDEPEND="
101 DEPEND="${RDEPEND}
102 sys-devel/gettext"
103
104 -# describe properly mi
105 -LANGS="af bg ca cs cy da de de_1901 el en eo es et fo fr ga gl he hr hu ia id
106 -is it km ku lt lv mk ms nb nl nn pl pt pt_BR ro ru sk sl sq sv sw tn uk zu"
107 +LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id
108 +is it km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu"
109
110 -DICT_DEP="app-dicts/myspell-en"
111 +PDEPEND="app-dicts/myspell-en"
112 for lang in ${LANGS}; do
113 - DICT_DEP+=" linguas_${lang}? ( app-dicts/myspell-${lang/pt_BR/pt-br} )"
114 - IUSE+=" linguas_${lang}"
115 + IUSE+=" l10n_${lang}"
116 + case ${lang} in
117 + de-1901) dict="de_1901" ;;
118 + pt-BR) dict="pt-br" ;;
119 + *) dict="${lang}" ;;
120 + esac
121 + PDEPEND+=" l10n_${lang}? ( app-dicts/myspell-${dict} )"
122 done
123 -PDEPEND="${DICT_DEP}"
124 -
125 -unset lang LANGS DICT_DEP
126 +unset dict lang LANGS
127
128 S=${WORKDIR}/${MY_P}