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-text/iso-codes/
Date: Fri, 05 Jan 2018 18:30:30
Message-Id: 1515177009.2c3014f6a6dc7ab31520e65680eb5def3e18cd11.ulm@gentoo
1 commit: 2c3014f6a6dc7ab31520e65680eb5def3e18cd11
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 5 18:29:38 2018 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 5 18:30:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c3014f6
7
8 app-text/iso-codes: Test LINGUAS rather than linguas_* USE flags.
9
10 Closes: https://bugs.gentoo.org/643594
11 Package-Manager: Portage-2.3.19, Repoman-2.3.6
12
13 app-text/iso-codes/iso-codes-3.75.ebuild | 4 ++--
14 app-text/iso-codes/iso-codes-3.76.ebuild | 4 ++--
15 2 files changed, 4 insertions(+), 4 deletions(-)
16
17 diff --git a/app-text/iso-codes/iso-codes-3.75.ebuild b/app-text/iso-codes/iso-codes-3.75.ebuild
18 index 7b19bfc4b0e..b5a8f0e064c 100644
19 --- a/app-text/iso-codes/iso-codes-3.75.ebuild
20 +++ b/app-text/iso-codes/iso-codes-3.75.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -64,7 +64,7 @@ src_prepare() {
28 pushd "${std}" >/dev/null || die
29 mylinguas=()
30 for loc in *.po; do
31 - if use "linguas_${loc%.po}"; then
32 + if has ${loc%.po} ${LINGUAS-${loc%.po}}; then
33 mylinguas+=( "${loc}" )
34 fi
35 done
36
37 diff --git a/app-text/iso-codes/iso-codes-3.76.ebuild b/app-text/iso-codes/iso-codes-3.76.ebuild
38 index 64c8a46ae42..c2b56244931 100644
39 --- a/app-text/iso-codes/iso-codes-3.76.ebuild
40 +++ b/app-text/iso-codes/iso-codes-3.76.ebuild
41 @@ -1,4 +1,4 @@
42 -# Copyright 1999-2017 Gentoo Foundation
43 +# Copyright 1999-2018 Gentoo Foundation
44 # Distributed under the terms of the GNU General Public License v2
45
46 EAPI=6
47 @@ -64,7 +64,7 @@ src_prepare() {
48 pushd "${std}" >/dev/null || die
49 mylinguas=()
50 for loc in *.po; do
51 - if use "linguas_${loc%.po}"; then
52 + if has ${loc%.po} ${LINGUAS-${loc%.po}}; then
53 mylinguas+=( "${loc}" )
54 fi
55 done