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-vim/cream/
Date: Sat, 25 Jun 2016 13:22:10
Message-Id: 1466860913.52a1ec79094458c61e697938f91a59437f0327ae.ulm@gentoo
1 commit: 52a1ec79094458c61e697938f91a59437f0327ae
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 13:21:14 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 13:21:53 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a1ec79
7
8 app-vim/cream: Migrate from LINGUAS to L10N.
9
10 Package-Manager: portage-2.3.0
11
12 app-vim/cream/cream-0.43.ebuild | 24 +++++++++++-------------
13 1 file changed, 11 insertions(+), 13 deletions(-)
14
15 diff --git a/app-vim/cream/cream-0.43.ebuild b/app-vim/cream/cream-0.43.ebuild
16 index a470bf2..3a6fc68 100644
17 --- a/app-vim/cream/cream-0.43.ebuild
18 +++ b/app-vim/cream/cream-0.43.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2012 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 @@ -15,12 +15,12 @@ DICT_ES="spa_3.0"
26 DICT_DE="ger_2.0.1"
27
28 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
29 - linguas_en? ( ${HOMEPAGE}/cream-spell-dict-${DICT_EN}.zip )
30 - linguas_fr? ( ${HOMEPAGE}/cream-spell-dict-${DICT_FR}.zip )
31 - linguas_es? ( ${HOMEPAGE}/cream-spell-dict-${DICT_ES}.zip )
32 - linguas_de? ( ${HOMEPAGE}/cream-spell-dict-${DICT_DE}.zip )"
33 + l10n_de? ( ${HOMEPAGE}/cream-spell-dict-${DICT_DE}.zip )
34 + l10n_en? ( ${HOMEPAGE}/cream-spell-dict-${DICT_EN}.zip )
35 + l10n_es? ( ${HOMEPAGE}/cream-spell-dict-${DICT_ES}.zip )
36 + l10n_fr? ( ${HOMEPAGE}/cream-spell-dict-${DICT_FR}.zip )"
37
38 -IUSE="linguas_en linguas_fr linguas_es linguas_de"
39 +IUSE="l10n_de l10n_en l10n_fr l10n_es"
40 LICENSE="GPL-2"
41 SLOT="0"
42 KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86"
43 @@ -68,16 +68,14 @@ pkg_setup() {
44 elog "all cases, at least a small English dictionary will be installed."
45 elog
46 elog "To specify which optional dictionaries are installed, set the"
47 - elog "LINGUAS variable in /etc/make.conf. For example, to install full"
48 + elog "L10N variable in /etc/make.conf. For example, to install full"
49 elog "English and French dictionaries, use:"
50 - elog " LINGUAS=\"en fr\""
51 + elog " L10N=\"en fr\""
52 elog
53 elog "Available dictionaries are:"
54 for dict in "English en" "French fr" "German de" "Spanish es" ; do
55 - # portage bug: shouldn't get a QA notice for linguas stuff...
56 - elog " ${dict% *} \t(${dict#* }) $( ( \
57 - use linguas_${dict#* } &>/dev/null && \
58 - echo '(Will be installed)' ) || echo '(Will not be installed)' )"
59 + elog " ${dict% *} \t(${dict#* }) $(usex l10n_${dict#* } \
60 + "(Will be installed)" "(Will not be installed)")"
61 done
62 elog
63 }
64 @@ -135,7 +133,7 @@ src_install() {
65 doins ${dir}/*
66 done
67
68 - if [[ -n ${LINGUAS} ]] ; then
69 + if [[ -n ${L10N} ]] ; then
70 insinto /usr/share/vim/cream/spelldicts
71 doins spelldicts/*
72 fi