From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1Sq5TR-0008Rj-Ht for garchives@archives.gentoo.org; Sat, 14 Jul 2012 16:45:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9D0FE070C; Sat, 14 Jul 2012 16:45:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8B6B1E070C for ; Sat, 14 Jul 2012 16:45:32 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0D891B40BE for ; Sat, 14 Jul 2012 16:45:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B25DEE5433 for ; Sat, 14 Jul 2012 16:45:30 +0000 (UTC) From: "Ben de Groot" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben de Groot" Message-ID: <1342284308.293a026de28fd1a66fc6e2428a79be7c50397449.yngwin@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: eclass/ X-VCS-Repository: proj/qt X-VCS-Files: eclass/l10n.eclass X-VCS-Directories: eclass/ X-VCS-Committer: yngwin X-VCS-Committer-Name: Ben de Groot X-VCS-Revision: 293a026de28fd1a66fc6e2428a79be7c50397449 X-VCS-Branch: master Date: Sat, 14 Jul 2012 16:45:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 31c21383-e402-4a30-9cfa-74b351ee23c0 X-Archives-Hash: d9d453232eee4c4cd94db3fb84deab50 commit: 293a026de28fd1a66fc6e2428a79be7c50397449 Author: Ben de Groot gmail com> AuthorDate: Sat Jul 14 16:45:08 2012 +0000 Commit: Ben de Groot gentoo org> CommitDate: Sat Jul 14 16:45:08 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/qt.git;a=3Dco= mmit;h=3D293a026d l10n.eclass: drop l10n_iuse and add linguas useflags automagically --- eclass/l10n.eclass | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/eclass/l10n.eclass b/eclass/l10n.eclass index 7c9c5b1..fd278d2 100644 --- a/eclass/l10n.eclass +++ b/eclass/l10n.eclass @@ -32,15 +32,8 @@ # # Example: PLOCALE_BACKUP=3D"en_US" =20 -# @FUNCTION: l10n_iuse -# @DESCRIPTION: -# Print a list of linguas useflags, corresponding to PLOCALES. -# Normally used within IUSE. -# -# Example: IUSE=3D"doc pdf $(l10n_iuse)" -l10n_iuse() { - [[ -n "${PLOCALES}" ]] && printf 'linguas_%s ' ${PLOCALES} -} +# Add linguas useflags +[[ -n "${PLOCALES}" ]] && IUSE+=3D" $(printf 'linguas_%s ' ${PLOCALES})" =20 # @FUNCTION: l10n_for_each_locale_do # @USAGE: