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 4FB96158041 for ; Wed, 8 Sep 2021 07:18:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 684E3E08C8; Wed, 8 Sep 2021 07:18:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 32975E08C8 for ; Wed, 8 Sep 2021 07:18:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 B417A335C51 for ; Wed, 8 Sep 2021 07:18:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0C52735 for ; Wed, 8 Sep 2021 07:18:54 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1631085517.7020928053e71d84e472480782bf4777d6ac001e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pv/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/pv/pv-1.6.19-r1.ebuild sys-apps/pv/pv-1.6.19.ebuild X-VCS-Directories: sys-apps/pv/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7020928053e71d84e472480782bf4777d6ac001e X-VCS-Branch: master Date: Wed, 8 Sep 2021 07:18:54 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 85bda095-73f1-447c-af5b-bcd56edf5e22 X-Archives-Hash: 04eb91abb5613106b06ab70f36ca0160 commit: 7020928053e71d84e472480782bf4777d6ac001e Author: Sam James gentoo org> AuthorDate: Wed Sep 8 07:18:37 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Sep 8 07:18:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70209280 sys-apps/pv: fix PLOCALES list Signed-off-by: Sam James gentoo.org> sys-apps/pv/{pv-1.6.19.ebuild => pv-1.6.19-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-apps/pv/pv-1.6.19.ebuild b/sys-apps/pv/pv-1.6.19-r1.ebuild similarity index 91% rename from sys-apps/pv/pv-1.6.19.ebuild rename to sys-apps/pv/pv-1.6.19-r1.ebuild index 7acc907bef9..371943e4161 100644 --- a/sys-apps/pv/pv-1.6.19.ebuild +++ b/sys-apps/pv/pv-1.6.19-r1.ebuild @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x86-solaris" IUSE="debug nls" -PLOCALES="de en fr pt_BR zh_CN" +PLOCALES="de fr pl pt" PLOCALE_BACKUP="en" DOCS=( README doc/NEWS doc/TODO ) @@ -48,10 +48,10 @@ src_prepare() { disable_locale() { local locale=${1} - einfo "Disabling locale ${locale}" - sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die + sed -i configure -e "/ALL_LINGUAS=/s:${locale}::g" || die } + plocale_find_changes src/nls '' '.po' plocale_for_each_disabled_locale disable_locale }