commit:     f2866bd046caba86b46f3bc0674934922f18cced
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri May  6 00:47:37 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May  6 01:25:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2866bd0

app-text/aspell: Remove exception for German.

Use linguas_de_1901 for the traditional German spelling variant instead.

Package-Manager: portage-2.2.28

 ....60.6.1-r2.ebuild => aspell-0.60.6.1-r3.ebuild} | 22 +++++++++-------------
 1 file 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
similarity index 85%
rename from app-text/aspell/aspell-0.60.6.1-r2.ebuild
rename to app-text/aspell/aspell-0.60.6.1-r3.ebuild
index 18e0a0e..f9548f1 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

Reply via email to