summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2010-04-13 22:03:47 +0200
committerZac Medico <zmedico@gentoo.org>2010-08-10 18:31:56 -0700
commit4e2e93cf0523c5133e89d05bb375331b30f3bb79 (patch)
tree042e4cd8fa99d3fee519cc551910f66851e31b88 /bin/repoman
parent4930057bcb1b659a3075739dd46edafbbdd6deb9 (diff)
downloadportage-4e2e93cf0523c5133e89d05bb375331b30f3bb79.tar.gz
portage-4e2e93cf0523c5133e89d05bb375331b30f3bb79.tar.bz2
portage-4e2e93cf0523c5133e89d05bb375331b30f3bb79.zip
Allow flags from IUSE_IMPLICIT in REQUIRED_USE. Move checks to resolution time.
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 2a53bd27e..e57976323 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1795,7 +1795,9 @@ for x in scanlist:
relative_path + ": REQUIRED_USE" + \
" not supported with EAPI='%s'" % (eapi,))
try:
- portage.dep.check_required_use(required_use, "", myaux["IUSE"].split())
+ iuse = repoman_settings._get_implicit_iuse()
+ iuse.update(myaux["IUSE"].split())
+ portage.dep.check_required_use(required_use, "", iuse)
except portage.exception.InvalidRequiredUseString as e:
stats["REQUIRED_USE.syntax"] = stats["REQUIRED_USE.syntax"] + 1
fails["REQUIRED_USE.syntax"].append(