aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridl0r <idl0r@gentoo.org>2009-05-04 17:36:12 +0000
committeridl0r <idl0r@gentoo.org>2009-05-04 17:36:12 +0000
commit9d175f7334251f2e62d912d5094c942f0284e7a8 (patch)
treec3a33c0b79a751b7d98cfedd2f4b15bfa2158e93
parentWhitespace. (diff)
downloadgentoolkit-9d175f7334251f2e62d912d5094c942f0284e7a8.tar.gz
gentoolkit-9d175f7334251f2e62d912d5094c942f0284e7a8.tar.bz2
gentoolkit-9d175f7334251f2e62d912d5094c942f0284e7a8.zip
Respect profiles/arch.list.
svn path=/; revision=577
-rwxr-xr-xtrunk/src/ekeyword2/ekeyword221
1 files changed, 2 insertions, 19 deletions
diff --git a/trunk/src/ekeyword2/ekeyword2 b/trunk/src/ekeyword2/ekeyword2
index 963fb5c..9eae4d5 100755
--- a/trunk/src/ekeyword2/ekeyword2
+++ b/trunk/src/ekeyword2/ekeyword2
@@ -10,28 +10,11 @@ from __future__ import with_statement
from sys import argv
from fnmatch import fnmatch
from shutil import copyfile
+from portage import settings
import re
-STABLE_KEYWORDS = frozenset((
- 'alpha',
- 'amd64',
- 'amd64-fbsd',
- 'arm',
- 'hppa',
- 'ia64',
- 'mips',
- 'm68k',
- 'ppc',
- 'ppc-macos',
- 'ppc64',
- 's390',
- 'sparc',
- 'sparc-fbsd',
- 'sh',
- 'x86',
- 'x86-fbsd',
-))
+STABLE_KEYWORDS = frozenset(settings["PORTAGE_ARCHLIST"].split())
TEST_KEYWORDS = frozenset(['~'+k for k in STABLE_KEYWORDS])
KNOWN_KEYWORDS = STABLE_KEYWORDS | TEST_KEYWORDS