From: Zac Medico Date: Fri, 20 Apr 2007 22:53:42 +0000 (-0000) Subject: Also validate RESTRICT inside doebuild(). (trunk r6426:6427) X-Git-Tag: v2.1.2.5~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=88a4842f69c28ea83e72262a0ce5a66d0a72c171;p=portage.git Also validate RESTRICT inside doebuild(). (trunk r6426:6427) svn path=/main/branches/2.1.2/; revision=6428 --- diff --git a/pym/portage.py b/pym/portage.py index c42821810..97a942f37 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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):