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: media-gfx/exiv2/
Date: Sat, 06 Jan 2018 19:03:35
Message-Id: 1515265400.2cf9d0b0ba31b8eaa07f491acfb1859c1a252692.ulm@gentoo
1 commit: 2cf9d0b0ba31b8eaa07f491acfb1859c1a252692
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 6 19:02:29 2018 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 6 19:03:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf9d0b0
7
8 media-gfx/exiv2: Remove linguas_* from IUSE.
9
10 Do not assign the LINGUAS variable in global scope, as it would
11 override the user's setting. Account for unset LINGUAS.
12
13 Package-Manager: Portage-2.3.19, Repoman-2.3.6
14
15 media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild | 8 ++++----
16 media-gfx/exiv2/exiv2-0.26_p20171104.ebuild | 8 ++++----
17 2 files changed, 8 insertions(+), 8 deletions(-)
18
19 diff --git a/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild b/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild
20 index f7eb67dc5bf..7553fc67ec9 100644
21 --- a/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild
22 +++ b/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild
23 @@ -1,9 +1,8 @@
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
30 -LINGUAS="bs de es fi fr gl ms pl pt ru sk sv ug uk vi"
31 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
32 if [[ ${PV} = *9999 ]]; then
33 EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git"
34 @@ -21,7 +20,7 @@ HOMEPAGE="http://www.exiv2.org/"
35
36 LICENSE="GPL-2"
37 SLOT="0/26"
38 -IUSE="doc examples nls png webready xmp $(printf 'linguas_%s ' ${LINGUAS})"
39 +IUSE="doc examples nls png webready xmp"
40
41 RDEPEND="
42 >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
43 @@ -63,7 +62,8 @@ src_prepare() {
44 pushd po > /dev/null || die
45 local lang
46 for lang in *.po; do
47 - if [[ -e ${lang} ]] && ! has ${lang/.po/} ${LINGUAS} ; then
48 + if [[ -e ${lang} ]] \
49 + && ! has ${lang/.po/} ${LINGUAS-${lang/.po/}} ; then
50 case ${lang} in
51 CMakeLists.txt | \
52 ${PN}.pot) ;;
53
54 diff --git a/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild b/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild
55 index 9450566668f..4bd63be4e67 100644
56 --- a/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild
57 +++ b/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild
58 @@ -1,9 +1,8 @@
59 -# Copyright 1999-2017 Gentoo Foundation
60 +# Copyright 1999-2018 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62
63 EAPI=6
64
65 -LINGUAS="bs de es fi fr gl ms pl pt ru sk sv ug uk vi"
66 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
67 if [[ ${PV} = *9999 ]]; then
68 EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git"
69 @@ -21,7 +20,7 @@ HOMEPAGE="http://www.exiv2.org/"
70
71 LICENSE="GPL-2"
72 SLOT="0/26"
73 -IUSE="doc examples nls png webready xmp $(printf 'linguas_%s ' ${LINGUAS})"
74 +IUSE="doc examples nls png webready xmp"
75
76 RDEPEND="
77 >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
78 @@ -62,7 +61,8 @@ src_prepare() {
79 pushd po > /dev/null || die
80 local lang
81 for lang in *.po; do
82 - if [[ -e ${lang} ]] && ! has ${lang/.po/} ${LINGUAS} ; then
83 + if [[ -e ${lang} ]] \
84 + && ! has ${lang/.po/} ${LINGUAS-${lang/.po/}} ; then
85 case ${lang} in
86 CMakeLists.txt | \
87 ${PN}.pot) ;;