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

pym/portage.py

index c428218102c751fe53a16234210cc79fffc28014..97a942f375c653e1b0c38dfd7a738230487a42ce 100644 (file)
@@ -3462,7 +3462,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):