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: x11-misc/vym/
Date: Fri, 05 Jan 2018 19:21:14
Message-Id: 1515180063.d75b5e62e9cade693e743e1138345e7c4da31e97.ulm@gentoo
1 commit: d75b5e62e9cade693e743e1138345e7c4da31e97
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 5 19:11:38 2018 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 5 19:21:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d75b5e62
7
8 x11-misc/vym: Test LINGUAS rather than linguas_* USE flags.
9
10 This is only a quick fix for now. On the long term, consider migrating
11 from LINGUAS to L10N.
12
13 Package-Manager: Portage-2.3.19, Repoman-2.3.6
14
15 x11-misc/vym/vym-2.6.11.ebuild | 6 +++---
16 x11-misc/vym/vym-2.6.8.ebuild | 6 +++---
17 2 files changed, 6 insertions(+), 6 deletions(-)
18
19 diff --git a/x11-misc/vym/vym-2.6.11.ebuild b/x11-misc/vym/vym-2.6.11.ebuild
20 index 6fabe03a5ff..5a672108999 100644
21 --- a/x11-misc/vym/vym-2.6.11.ebuild
22 +++ b/x11-misc/vym/vym-2.6.11.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2017 Gentoo Foundation
25 +# Copyright 1999-2018 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=6
29 @@ -34,10 +34,10 @@ DOCS=( README.md doc/vym.pdf )
30 src_prepare() {
31 default
32
33 - if use linguas_es ; then
34 + if has es ${LINGUAS-es} ; then
35 DOCS+=( doc/vym_es.pdf )
36 fi
37 - if use linguas_fr ; then
38 + if has fr ${LINGUAS-fr} ; then
39 DOCS+=( doc/vym_fr.pdf )
40 fi
41
42
43 diff --git a/x11-misc/vym/vym-2.6.8.ebuild b/x11-misc/vym/vym-2.6.8.ebuild
44 index 6fabe03a5ff..5a672108999 100644
45 --- a/x11-misc/vym/vym-2.6.8.ebuild
46 +++ b/x11-misc/vym/vym-2.6.8.ebuild
47 @@ -1,4 +1,4 @@
48 -# Copyright 1999-2017 Gentoo Foundation
49 +# Copyright 1999-2018 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51
52 EAPI=6
53 @@ -34,10 +34,10 @@ DOCS=( README.md doc/vym.pdf )
54 src_prepare() {
55 default
56
57 - if use linguas_es ; then
58 + if has es ${LINGUAS-es} ; then
59 DOCS+=( doc/vym_es.pdf )
60 fi
61 - if use linguas_fr ; then
62 + if has fr ${LINGUAS-fr} ; then
63 DOCS+=( doc/vym_fr.pdf )
64 fi