summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2016-05-06 02:47:37 +0200
committerUlrich Müller <ulm@gentoo.org>2016-05-06 03:25:07 +0200
commitf2866bd046caba86b46f3bc0674934922f18cced (patch)
tree52a7a1f6be51a09b4cb0bb1fb9e1869fe582f6f2 /app-text/aspell
parentapp-text/hunspell: Update dependency on app-dicts/myspell-de_1901. (diff)
downloadgentoo-f2866bd046caba86b46f3bc0674934922f18cced.tar.gz
gentoo-f2866bd046caba86b46f3bc0674934922f18cced.tar.bz2
gentoo-f2866bd046caba86b46f3bc0674934922f18cced.zip
app-text/aspell: Remove exception for German.
Use linguas_de_1901 for the traditional German spelling variant instead. Package-Manager: portage-2.2.28
Diffstat (limited to 'app-text/aspell')
-rw-r--r--app-text/aspell/aspell-0.60.6.1-r3.ebuild (renamed from app-text/aspell/aspell-0.60.6.1-r2.ebuild)22
1 files changed, 9 insertions, 13 deletions
diff --git a/app-text/aspell/aspell-0.60.6.1-r2.ebuild b/app-text/aspell/aspell-0.60.6.1-r3.ebuild
index 18e0a0e025c3..f9548f1d9bed 100644
--- a/app-text/aspell/aspell-0.60.6.1-r2.ebuild
+++ b/app-text/aspell/aspell-0.60.6.1-r3.ebuild
@@ -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$
@@ -16,19 +16,15 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~spar
IUSE="nls"
PDEPEND="app-dicts/aspell-en"
-LANGS="af be bg br ca cs cy da de el en eo es et fi fo fr ga gl he hr hu hy is it la
-lt nl no pl pt pt_BR ro ru sk sl sr sv uk vi"
+LANGS="af be bg br ca cs cy da de de_1901 el en eo es et fi fo fr ga gl he hr
+hu hy is it la lt nl no pl pt pt_BR ro ru sk sl sr sv uk vi"
for lang in ${LANGS}; do
- dep="linguas_${lang}? ( app-dicts/aspell-${lang/pt_BR/pt-br} )"
- if [[ ${lang} == de ]] ; then
- dep="linguas_${lang}? (
- || (
- app-dicts/aspell-${lang}
- app-dicts/aspell-${lang}-alt
- )
- )"
- fi
- PDEPEND+=" ${dep}"
+ case ${lang} in
+ de_1901) dep="app-dicts/aspell-de-alt" ;;
+ pt_BR) dep="app-dicts/aspell-pt-br" ;;
+ *) dep="app-dicts/aspell-${lang}" ;;
+ esac
+ PDEPEND+=" linguas_${lang}? ( ${dep} )"
IUSE+=" linguas_${lang}"
done
unset dep