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: sys-boot/unetbootin/
Date: Sun,  7 Jan 2018 16:22:43 +0000 (UTC)	[thread overview]
Message-ID: <1515342157.db8c3313d3e87dae284b1d2032c989b6f956035b.ulm@gentoo> (raw)

commit:     db8c3313d3e87dae284b1d2032c989b6f956035b
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 16:16:02 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 16:22:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db8c3313

sys-boot/unetbootin: Test LINGUAS rather than linguas_* USE flags.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-boot/unetbootin/unetbootin-625.ebuild | 10 +++-------
 sys-boot/unetbootin/unetbootin-647.ebuild | 10 +++-------
 sys-boot/unetbootin/unetbootin-655.ebuild | 10 +++-------
 sys-boot/unetbootin/unetbootin-657.ebuild | 10 +++-------
 4 files changed, 12 insertions(+), 28 deletions(-)

diff --git a/sys-boot/unetbootin/unetbootin-625.ebuild b/sys-boot/unetbootin/unetbootin-625.ebuild
index f6884665740..aabc1aa868d 100644
--- a/sys-boot/unetbootin/unetbootin-625.ebuild
+++ b/sys-boot/unetbootin/unetbootin-625.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
@@ -19,10 +19,6 @@ UNBI_LINGUAS="
 	zh_CN zh_TW
 "
 
-for lingua in ${UNBI_LINGUAS}; do
-	IUSE="${IUSE} linguas_${lingua}"
-done
-
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -52,7 +48,7 @@ src_prepare() {
 	# Remove localisations
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if ! use linguas_${lingua}; then
+		if ! has ${lingua} ${LINGUAS-${lingua}}; then
 			sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
 			rm ${PN}_${lingua}.ts || die
 		fi
@@ -82,7 +78,7 @@ src_install() {
 
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if use linguas_${lingua}; then
+		if has ${lingua} ${LINGUAS-${lingua}}; then
 			insinto /usr/share/${PN}
 			doins ${PN}_${lingua}.qm
 		fi

diff --git a/sys-boot/unetbootin/unetbootin-647.ebuild b/sys-boot/unetbootin/unetbootin-647.ebuild
index e449aefee55..0371e75f2c8 100644
--- a/sys-boot/unetbootin/unetbootin-647.ebuild
+++ b/sys-boot/unetbootin/unetbootin-647.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,10 +19,6 @@ UNBI_LINGUAS="
 	zh_CN zh_TW
 "
 
-for lingua in ${UNBI_LINGUAS}; do
-	IUSE="${IUSE} linguas_${lingua}"
-done
-
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -51,7 +47,7 @@ src_prepare() {
 	# Remove localisations
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if ! use linguas_${lingua}; then
+		if ! has ${lingua} ${LINGUAS-${lingua}}; then
 			sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
 			rm ${PN}_${lingua}.ts || die
 		fi
@@ -81,7 +77,7 @@ src_install() {
 
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if use linguas_${lingua}; then
+		if has ${lingua} ${LINGUAS-${lingua}}; then
 			insinto /usr/share/${PN}
 			doins ${PN}_${lingua}.qm
 		fi

diff --git a/sys-boot/unetbootin/unetbootin-655.ebuild b/sys-boot/unetbootin/unetbootin-655.ebuild
index 453496db667..1007cc620a1 100644
--- a/sys-boot/unetbootin/unetbootin-655.ebuild
+++ b/sys-boot/unetbootin/unetbootin-655.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,10 +19,6 @@ UNBI_LINGUAS="
 	zh_CN zh_TW
 "
 
-for lingua in ${UNBI_LINGUAS}; do
-	IUSE="${IUSE} linguas_${lingua}"
-done
-
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -50,7 +46,7 @@ src_prepare() {
 	# Remove localisations
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if ! use linguas_${lingua}; then
+		if ! has ${lingua} ${LINGUAS-${lingua}}; then
 			sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
 			rm ${PN}_${lingua}.ts || die
 		fi
@@ -80,7 +76,7 @@ src_install() {
 
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if use linguas_${lingua}; then
+		if has ${lingua} ${LINGUAS-${lingua}}; then
 			insinto /usr/share/${PN}
 			doins ${PN}_${lingua}.qm
 		fi

diff --git a/sys-boot/unetbootin/unetbootin-657.ebuild b/sys-boot/unetbootin/unetbootin-657.ebuild
index 453496db667..1007cc620a1 100644
--- a/sys-boot/unetbootin/unetbootin-657.ebuild
+++ b/sys-boot/unetbootin/unetbootin-657.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,10 +19,6 @@ UNBI_LINGUAS="
 	zh_CN zh_TW
 "
 
-for lingua in ${UNBI_LINGUAS}; do
-	IUSE="${IUSE} linguas_${lingua}"
-done
-
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -50,7 +46,7 @@ src_prepare() {
 	# Remove localisations
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if ! use linguas_${lingua}; then
+		if ! has ${lingua} ${LINGUAS-${lingua}}; then
 			sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
 			rm ${PN}_${lingua}.ts || die
 		fi
@@ -80,7 +76,7 @@ src_install() {
 
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if use linguas_${lingua}; then
+		if has ${lingua} ${LINGUAS-${lingua}}; then
 			insinto /usr/share/${PN}
 			doins ${PN}_${lingua}.qm
 		fi


             reply	other threads:[~2018-01-07 16:22 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07 16:22 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-18 19:11 [gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/ Arthur Zamarin
2022-12-18 11:55 Sam James
2022-02-11  0:15 Jonas Stein
2020-11-18  6:53 Agostino Sarubbo
2020-11-13 18:35 Thomas Deutschmann
2020-11-11 18:30 Andreas Sturmlechner
2020-11-11 18:30 Andreas Sturmlechner
2020-06-11  7:29 Jeroen Roovers
2020-01-21 12:13 Jeroen Roovers
2020-01-21 11:00 Jeroen Roovers
2020-01-21 11:00 Jeroen Roovers
2018-12-21 15:45 Jeroen Roovers
2018-08-22  7:50 Andreas Sturmlechner
2018-06-23 12:12 Jeroen Roovers
2018-06-22  7:18 Mikle Kolyada
2018-06-18  0:13 Thomas Deutschmann
2018-05-29 14:11 Andreas Sturmlechner
2018-04-10 12:36 Jeroen Roovers
2018-01-08  8:45 Ulrich Müller
2017-10-29 16:41 Jeroen Roovers
2017-08-25 14:57 Jeroen Roovers
2016-12-18 19:20 Jeroen Roovers
2016-12-18 15:57 Agostino Sarubbo
2016-12-18 15:44 Agostino Sarubbo
2016-05-19 16:15 Jeroen Roovers
2015-08-23  7:49 Jeroen Roovers
2015-08-16  7:39 Jeroen Roovers
2015-08-09 12:30 Justin Lecher

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=1515342157.db8c3313d3e87dae284b1d2032c989b6f956035b.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