app-text/hunspell: Update dependency on app-dicts/myspell-de_1901.

Also remove exception for German. Use linguas_de_1901 for the
traditional spelling variant instead.

Package-Manager: portage-2.2.28
This commit is contained in:
Ulrich Müller
2016-05-06 02:18:15 +02:00
parent b8bae86fc7
commit 2309df2399

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -23,21 +23,12 @@ DEPEND="${RDEPEND}
sys-devel/gettext"
# describe properly mi
LANGS="af bg ca cs cy da de el en eo es et fo fr ga gl he hr hu ia id 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"
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 it km ku lt lv mk ms nb nl nn pl pt pt_BR ro ru sk sl sq sv sw tn uk zu"
DICT_DEP="app-dicts/myspell-en"
for lang in ${LANGS}; do
if [[ ${lang} == de ]] ; then
DICT_DEP+=" linguas_de? (
|| (
app-dicts/myspell-de
app-dicts/myspell-de-alt
)
)"
else
DICT_DEP+=" linguas_${lang}? ( app-dicts/myspell-${lang/pt_BR/pt-br} )"
fi
DICT_DEP+=" linguas_${lang}? ( app-dicts/myspell-${lang/pt_BR/pt-br} )"
IUSE+=" linguas_${lang}"
done
PDEPEND="${DICT_DEP}"