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: sci-chemistry/gperiodic/
Date: Sat,  6 Jan 2018 20:40:33 +0000 (UTC)	[thread overview]
Message-ID: <1515271223.33b323a8377c686057fd41a1fcfe4aed8f72c574.ulm@gentoo> (raw)

commit:     33b323a8377c686057fd41a1fcfe4aed8f72c574
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 20:39:43 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 20:40:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b323a8

sci-chemistry/gperiodic: Test LINGUAS rather than linguas_* USE flags.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild b/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild
index 5e16fff43ec..e0d3ee51c5e 100644
--- a/sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild
+++ b/sci-chemistry/gperiodic/gperiodic-3.0.1.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 @@ SLOT="0"
 LICENSE="GPL-2"
 IUSE="nls"
 MY_AVAILABLE_LINGUAS=" be bg cs da de es fi fr gl id is it lt ms nl pl pt_BR pt ru sv tr uk"
-IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
 
 RDEPEND="
 	sys-libs/ncurses:0
@@ -29,7 +28,7 @@ src_prepare() {
 		"${FILESDIR}"/${P}-makefile.patch \
 		"${FILESDIR}"/${P}-nls.patch
 	for lang in ${MY_AVAILABLE_LINGUAS}; do
-		if ! use linguas_${lang}; then
+		if ! has ${lang} ${LINGUAS-${lang}}; then
 			einfo "Cleaning translation for ${lang}"
 			rm po/${lang}.po || die
 		fi


             reply	other threads:[~2018-01-06 20:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-06 20:40 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-20 18:51 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gperiodic/ Sam James
2020-06-30  6:34 Agostino Sarubbo
2020-06-22  6:57 Agostino Sarubbo
2020-05-19 17:38 Andreas Sturmlechner
2020-05-19 17:38 Andreas Sturmlechner
2020-05-19 17:38 Andreas Sturmlechner
2015-12-20 16:35 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=1515271223.33b323a8377c686057fd41a1fcfe4aed8f72c574.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