From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72BD3138330 for ; Sat, 6 Jan 2018 20:40:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A90AAE08E8; Sat, 6 Jan 2018 20:40:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82FB6E08E8 for ; Sat, 6 Jan 2018 20:40:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70F56335C36 for ; Sat, 6 Jan 2018 20:40:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08318133 for ; Sat, 6 Jan 2018 20:40:33 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1515271223.33b323a8377c686057fd41a1fcfe4aed8f72c574.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gperiodic/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/gperiodic/gperiodic-3.0.1.ebuild X-VCS-Directories: sci-chemistry/gperiodic/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 33b323a8377c686057fd41a1fcfe4aed8f72c574 X-VCS-Branch: master Date: Sat, 6 Jan 2018 20:40:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 99efcae4-98a5-48af-81a3-26afda412e16 X-Archives-Hash: d992c15d4abfae9b4af65f51c4858aac commit: 33b323a8377c686057fd41a1fcfe4aed8f72c574 Author: Ulrich Müller gentoo org> AuthorDate: Sat Jan 6 20:39:43 2018 +0000 Commit: Ulrich Müller gentoo 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