_validate_deps: pass myrepo to aux_get
authorZac Medico <zmedico@gentoo.org>
Tue, 13 Sep 2011 05:01:08 +0000 (22:01 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 13 Sep 2011 05:01:08 +0000 (22:01 -0700)
pym/portage/package/ebuild/doebuild.py

index b8bcad2e8276d57d4920914d8c8d946941a2b22f..ba7ebc3ad2505a0f4b692bdc36ed387825213635 100644 (file)
@@ -1184,7 +1184,8 @@ def _validate_deps(mysettings, myroot, mydo, mydbapi):
        all_keys.add("SRC_URI")
        all_keys = tuple(all_keys)
        metadata = dict(zip(all_keys,
-               mydbapi.aux_get(mysettings.mycpv, all_keys)))
+               mydbapi.aux_get(mysettings.mycpv, all_keys,
+               myrepo=mysettings.get("PORTAGE_REPO_NAME"))))
 
        class FakeTree(object):
                def __init__(self, mydb):