From 88a4842f69c28ea83e72262a0ce5a66d0a72c171 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 20 Apr 2007 22:53:42 +0000 Subject: [PATCH] Also validate RESTRICT inside doebuild(). (trunk r6426:6427) svn path=/main/branches/2.1.2/; revision=6428 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2