aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tinderbox/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tinderbox/__init__.py b/src/tinderbox/__init__.py
index 4358897..6829b03 100644
--- a/src/tinderbox/__init__.py
+++ b/src/tinderbox/__init__.py
@@ -84,6 +84,11 @@ class Tinderbox(object):
for pkg in allversions:
ebuild = portdb.findname(pkg)
+ archs = portdb.aux_get(pkg, ["KEYWORDS"])[0]
+ archs = archs.split()
+ if settings["ARCH"] not in archs and "~%s" % settings["ARCH"] not in archs:
+ log.warning("Was asked to compile %s but it doesn't have our arch in KEYWORDS" % pkg)
+ continue
deps = portdb.aux_get(pkg,["DEPEND"])
deps = portage.dep.paren_reduce(deps[0])