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 CEAEF138330 for ; Sat, 6 Jan 2018 12:23:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDBABE08DA; Sat, 6 Jan 2018 12:23:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 CFAAEE08DA for ; Sat, 6 Jan 2018 12:23:04 +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 8DF74335C2C for ; Sat, 6 Jan 2018 12:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27D651A2 for ; Sat, 6 Jan 2018 12:23:02 +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: <1515241376.f6b3729b380cab8ef3574a5884107602c8b6e19c.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tasque/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/tasque/tasque-0.1.12.ebuild X-VCS-Directories: app-misc/tasque/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: f6b3729b380cab8ef3574a5884107602c8b6e19c X-VCS-Branch: master Date: Sat, 6 Jan 2018 12:23:02 +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: 04976cd7-264b-4228-be66-66a3c1ce815f X-Archives-Hash: d5904ed4674aa5a8a72dbc3314ece494 commit: f6b3729b380cab8ef3574a5884107602c8b6e19c Author: Ulrich Müller gentoo org> AuthorDate: Sat Jan 6 12:13:19 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Jan 6 12:22:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6b3729b app-misc/tasque: Remove linguas_* from IUSE. Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-misc/tasque/tasque-0.1.12.ebuild | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/app-misc/tasque/tasque-0.1.12.ebuild b/app-misc/tasque/tasque-0.1.12.ebuild index c5096c46bd1..aee4663574b 100644 --- a/app-misc/tasque/tasque-0.1.12.ebuild +++ b/app-misc/tasque/tasque-0.1.12.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 @@ -15,10 +15,6 @@ IUSE="+rememberthemilk +sqlite hiveminder debug" LANGS="ca ca@valencia cs da de el en_GB eo es et fi fr gl hu id it ja lv nb nds nl pl pt pt_BR ro ru sl sr sr@latin sv th tr zh_CN zh_TW" -for lang in ${LANGS}; do - IUSE+=" linguas_${lang}" -done - REQUIRED_USE="|| ( rememberthemilk sqlite hiveminder )" RDEPEND=">=dev-dotnet/gtk-sharp-2.12.7-r5 @@ -41,12 +37,15 @@ src_configure() { src_install() { default mv_command="cp -pPR" mono_multilib_comply - einfo "Cleaning up locales..." - for lang in ${LANGS}; do - use "linguas_${lang}" && { - einfo "- keeping ${lang}" - continue - } - rm -Rf "${D}"/usr/share/locale/"${lang}" || die - done + + if [[ -n ${LINGUAS+set} ]]; then + einfo "Cleaning up locales..." + for lang in ${LANGS}; do + if has ${lang} ${LINGUAS}; then + einfo "- keeping ${lang}" + else + rm -Rf "${D}"/usr/share/locale/"${lang}" || die + fi + done + fi }