Also validate RESTRICT inside doebuild().
authorZac Medico <zmedico@gentoo.org>
Fri, 20 Apr 2007 22:53:21 +0000 (22:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 20 Apr 2007 22:53:21 +0000 (22:53 -0000)
svn path=/main/trunk/; revision=6427

pym/portage/__init__.py

index 606326bd8d5472400dc3f34253625bdf4f5b0a3c..2e385c95b14e0fda68bf41bcd65c4ef4890372ad 100644 (file)
@@ -3529,7 +3529,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                        set(["clean", "cleanrm", "help", "prerm", "postrm"])
                mycpv = mysettings["CATEGORY"] + "/" + mysettings["PF"]
                dep_keys = ["DEPEND", "RDEPEND", "PDEPEND"]
-               misc_keys = ["LICENSE", "PROVIDE", "SRC_URI"]
+               misc_keys = ["LICENSE", "PROVIDE", "RESTRICT", "SRC_URI"]
                all_keys = dep_keys + misc_keys
                metadata = dict(izip(all_keys, mydbapi.aux_get(mycpv, all_keys)))
                class FakeTree(object):