summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-04-20 22:53:21 +0000
committerZac Medico <zmedico@gentoo.org>2007-04-20 22:53:21 +0000
commitbb0ed0ebfb9785c4b158152a53e70f4d0b62d768 (patch)
tree3cd2e3b31219cae94ef56df597acc32f55372df1 /pym
parent1f3334f9f3aad7591418d2daa8667da042edcc1b (diff)
downloadportage-bb0ed0ebfb9785c4b158152a53e70f4d0b62d768.tar.gz
portage-bb0ed0ebfb9785c4b158152a53e70f4d0b62d768.tar.bz2
portage-bb0ed0ebfb9785c4b158152a53e70f4d0b62d768.zip
Also validate RESTRICT inside doebuild().
svn path=/main/trunk/; revision=6427
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 606326bd8..2e385c95b 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -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):