summaryrefslogtreecommitdiffstats
path: root/pym/portage/const.py
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2010-07-03 12:58:21 +0200
committerZac Medico <zmedico@gentoo.org>2010-07-08 00:36:55 -0700
commit8f89f480b8b66b1b2254e937406e4b2b92813894 (patch)
tree9ea219143b93436bf2470a1bcc15bda8204ad560 /pym/portage/const.py
parente6e5e028a15071bbaeca808cc518b4feb52e844a (diff)
downloadportage-8f89f480b8b66b1b2254e937406e4b2b92813894.tar.gz
portage-8f89f480b8b66b1b2254e937406e4b2b92813894.tar.bz2
portage-8f89f480b8b66b1b2254e937406e4b2b92813894.zip
Warn if FEATURES contains unknown values and don't keep them (bug #326561)
Diffstat (limited to 'pym/portage/const.py')
-rw-r--r--pym/portage/const.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/pym/portage/const.py b/pym/portage/const.py
index 445677bd9..0865c02f7 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -82,6 +82,20 @@ EBUILD_PHASES = ("pretend", "setup", "unpack", "prepare", "configure"
"compile", "test", "install",
"package", "preinst", "postinst","prerm", "postrm",
"nofetch", "config", "info", "other")
+SUPPORTED_FEATURES = frozenset([
+ "assume-digests", "buildpkg", "buildsyspkg", "ccache",
+ "collision-protect", "digest", "distcc", "distlocks",
+ "fakeroot", "fail-clean", "fixpackages", "getbinpkg",
+ "installsources", "keeptemp", "keepwork", "lmirror",
+ "metadata-transfer", "mirror", "multilib-strict", "news",
+ "noauto", "noclean", "nodoc", "noinfo", "noman", "nostrip"
+ "notitles", "parallel-fetch", "parse-eapi-ebuild-head",
+ "parse-eapi-glep-55", "preserve-libs", "protect-owned",
+ "python-trace", "sandbox", "sesandbox", "severe", "sfperms",
+ "sign", "skiprocheck", "split-elog", "split-log", "splitdebug",
+ "strict", "stricter", "suidctl", "test", "test-fail-continue",
+ "unmerge-logs", "unmerge-orphans", "userfetch", "userpriv",
+ "usersandbox", "usersync", "webrsync-gpg"])
EAPI = 3