diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-12-28 09:07:40 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-12-28 09:09:22 -0800 |
commit | dfe974e1e797281ebd45bed9d6da8efab50ef75c (patch) | |
tree | fb200d5b16e5a6dcdbf3c319e07a91164c0fd832 | |
parent | a92ecbc4f59a6ab6ebc124cb8adc4586b9855a2c (diff) | |
download | portage-dfe974e1e797281ebd45bed9d6da8efab50ef75c.tar.gz portage-dfe974e1e797281ebd45bed9d6da8efab50ef75c.tar.bz2 portage-dfe974e1e797281ebd45bed9d6da8efab50ef75c.zip |
doebuild: validate more Package metadata keys
-rw-r--r-- | pym/portage/package/ebuild/doebuild.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index b2c0169e7..0aae519dc 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -1006,10 +1006,9 @@ def _validate_deps(mysettings, myroot, mydo, mydbapi): invalid_dep_exempt_phases = \ set(["clean", "cleanrm", "help", "prerm", "postrm"]) - dep_keys = ["DEPEND", "RDEPEND", "PDEPEND"] - misc_keys = ["LICENSE", "PROPERTIES", "PROVIDE", "RESTRICT", "SRC_URI"] - other_keys = ["EAPI", "IUSE", "SLOT"] - all_keys = dep_keys + misc_keys + other_keys + all_keys = set(Package.metadata_keys) + all_keys.add("SRC_URI") + all_keys = tuple(all_keys) metadata = dict(zip(all_keys, mydbapi.aux_get(mysettings.mycpv, all_keys))) |