From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6A1951386F1 for ; Sun, 9 Aug 2015 20:14:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D7B4E0806; Sun, 9 Aug 2015 20:14:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB7ACE0806 for ; Sun, 9 Aug 2015 20:14:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF9C6340862 for ; Sun, 9 Aug 2015 20:14:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72E55112 for ; Sun, 9 Aug 2015 20:14:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1439112841.b0543b42f7921112c80a66663f20e5a3236a4818.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/eshowkw/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/eshowkw/keywords_header.py X-VCS-Directories: pym/gentoolkit/eshowkw/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b0543b42f7921112c80a66663f20e5a3236a4818 X-VCS-Branch: gentoolkit Date: Sun, 9 Aug 2015 20:14:24 +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: 8f30b905-c0b9-42bd-a9e1-b0426339d524 X-Archives-Hash: 7a5bd38d17e093c7483e9671b8bfc4b8 commit: b0543b42f7921112c80a66663f20e5a3236a4818 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 9 09:31:33 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Aug 9 09:34:01 2015 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=b0543b42 eshowkw: Gray out unstable arches pym/gentoolkit/eshowkw/keywords_header.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pym/gentoolkit/eshowkw/keywords_header.py b/pym/gentoolkit/eshowkw/keywords_header.py index f7e3e50..610fcaf 100644 --- a/pym/gentoolkit/eshowkw/keywords_header.py +++ b/pym/gentoolkit/eshowkw/keywords_header.py @@ -11,6 +11,7 @@ from gentoolkit.eshowkw.display_pretty import align_string class keywords_header: __IMPARCHS = [ 'arm', 'amd64', 'x86' ] + __UNSTABLE_ARCHS = [ 'arm64', 'm68k', 'mips', 's390', 'sh' ] __ADDITIONAL_FIELDS = [ 'unused', 'slot' ] __EXTRA_FIELDS = [ 'repo' ] @@ -60,6 +61,8 @@ class keywords_header: keyword = '%'.join(list(keyword)) if tmp2 in self.__IMPARCHS: tmp.append(colorize_string('darkyellow', keyword)) + elif tmp2 in self.__UNSTABLE_ARCHS: + tmp.append(colorize_string('darkgray', keyword)) else: tmp.append(keyword) return tmp