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 8ADBF138359 for ; Thu, 12 Nov 2020 11:33:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C38A7E0916; Thu, 12 Nov 2020 11:33:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 3201DE0916 for ; Thu, 12 Nov 2020 11:33:55 +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 93D61340F5A for ; Thu, 12 Nov 2020 11:33:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D400A3A2 for ; Thu, 12 Nov 2020 11:33:51 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1605180798.8ebba02fcf0950fbf37ee25e8dda5454f2bf500e.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/weechat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/weechat/weechat-3.0.ebuild X-VCS-Directories: net-irc/weechat/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 8ebba02fcf0950fbf37ee25e8dda5454f2bf500e X-VCS-Branch: master Date: Thu, 12 Nov 2020 11:33:51 +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: dd35850a-46d7-45e3-919b-417e3db0c6d1 X-Archives-Hash: 96d49cbb14c228292aa71766a05c1303 commit: 8ebba02fcf0950fbf37ee25e8dda5454f2bf500e Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Nov 12 11:31:35 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Nov 12 11:33:18 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ebba02f net-irc/weechat: die in tests if en_US.UTF-8 locale not found Closes: https://bugs.gentoo.org/754117 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev gentoo.org> net-irc/weechat/weechat-3.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net-irc/weechat/weechat-3.0.ebuild b/net-irc/weechat/weechat-3.0.ebuild index 2f3c0bd601d..b33c433ae6d 100644 --- a/net-irc/weechat/weechat-3.0.ebuild +++ b/net-irc/weechat/weechat-3.0.ebuild @@ -142,7 +142,12 @@ src_configure() { } src_test() { + if $(locale -a | grep -iq "en_US\.utf.*8"); then cmake_src_test -V + else + eerror "en_US.UTF-8 locale is required to run ${PN}'s ${FUNCNAME}" + die "required locale missing" + fi } pkg_postinst() {