public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/eshowkw/
Date: Sun,  9 Aug 2015 20:14:24 +0000 (UTC)	[thread overview]
Message-ID: <1439112841.b0543b42f7921112c80a66663f20e5a3236a4818.mgorny@gentoo> (raw)

commit:     b0543b42f7921112c80a66663f20e5a3236a4818
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  9 09:31:33 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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


             reply	other threads:[~2015-08-09 20:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-09 20:14 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-05-16 21:59 [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/eshowkw/ Paul Varner
2012-05-08 21:06 Paul Varner
2012-04-11 15:01 Paul Varner
2011-05-29 10:59 Christian Ruppert
2011-05-16 16:40 Brian Dolbec
2011-02-25  2:23 Brian Dolbec
2011-02-25  2:23 Brian Dolbec
2011-02-24 21:49 Christian Ruppert
2011-02-24 21:41 Christian Ruppert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439112841.b0543b42f7921112c80a66663f20e5a3236a4818.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox