public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/emelfm2/
Date: Sun,  7 Jan 2018 11:21:36 +0000 (UTC)	[thread overview]
Message-ID: <1515324039.abf464bfec15b197ab0f698ee899b1197949bb98.ulm@gentoo> (raw)

commit:     abf464bfec15b197ab0f698ee899b1197949bb98
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 11:14:08 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 11:20:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abf464bf

app-misc/emelfm2: Test LINGUAS rather than linguas_* USE flags.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild | 5 ++---
 app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild
index 6c74bb99d21..afac8716bab 100644
--- a/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild
+++ b/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,6 @@ KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
 IUSE="acl ansi gimp gtk3 kernel_linux nls policykit spell udisks"
 
 EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
-IUSE+=" ${EMELFM2_LINGUAS[@]/#/linguas_}"
 
 COMMON_DEPEND="
 	>=dev-libs/glib-2.26:2
@@ -46,7 +45,7 @@ src_prepare() {
 
 	local lingua
 	for lingua in ${EMELFM2_LINGUAS[@]}; do
-		use linguas_${lingua} || mv po/${lingua}.po{,.unwanted}
+		has ${lingua} ${LINGUAS-${lingua}} || mv po/${lingua}.po{,.unwanted}
 	done
 }
 

diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
index e3fc45f7773..f59d82948f6 100644
--- a/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
+++ b/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,6 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="acl ansi gimp gtk3 kernel_linux nls policykit spell udisks"
 
 EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
-IUSE+=" ${EMELFM2_LINGUAS[@]/#/linguas_}"
 
 COMMON_DEPEND="
 	>=dev-libs/glib-2.26:2
@@ -46,7 +45,7 @@ src_prepare() {
 
 	local lingua
 	for lingua in ${EMELFM2_LINGUAS[@]}; do
-		use linguas_${lingua} || mv po/${lingua}.po{,.unwanted}
+		has ${lingua} ${LINGUAS-${lingua}} || mv po/${lingua}.po{,.unwanted}
 	done
 }
 


             reply	other threads:[~2018-01-07 11:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07 11:21 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-06 15:04 [gentoo-commits] repo/gentoo:master commit in: app-misc/emelfm2/ Jonas Stein
2021-06-01  0:40 Sam James
2021-03-27  9:11 Andreas Sturmlechner
2021-02-07 15:04 Andreas Sturmlechner
2020-11-12 12:28 Sam James
2020-11-08 12:02 Sam James
2020-09-26 19:40 Aaron Bauman
2020-07-28 13:49 Jeroen Roovers
2020-07-28 13:17 Jeroen Roovers
2019-03-28 23:12 Patrice Clement
2016-06-21  6:33 Jeroen Roovers
2016-06-21  6:33 Jeroen Roovers
2016-04-19 13:12 Michał Górny
2016-04-18  8:13 Patrice Clement
2016-04-17 22:12 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1515324039.abf464bfec15b197ab0f698ee899b1197949bb98.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox