config: blacklist PORTAGE_BACKGROUND* vars
authorZac Medico <zmedico@gentoo.org>
Sat, 26 Mar 2011 01:44:46 +0000 (18:44 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 26 Mar 2011 19:23:00 +0000 (12:23 -0700)
pym/portage/package/ebuild/_config/special_env_vars.py

index 561de9cf46a013dab8d7745505074465d0bdfd70..86af7fd24529dc0792822ba0b2b599ee256c8b95 100644 (file)
@@ -8,12 +8,16 @@ __all__ = (
 
 import re
 
+# Blacklisted variables are internal variables that are never allowed
+# to enter the config instance from the external environment or
+# configuration files.
 env_blacklist = frozenset((
        "A", "AA", "CATEGORY", "DEPEND", "DESCRIPTION", "EAPI",
        "EBUILD_PHASE", "ED", "EMERGE_FROM", "EPREFIX", "EROOT",
        "HOMEPAGE", "INHERITED", "IUSE",
        "KEYWORDS", "LICENSE", "MERGE_TYPE",
-       "PDEPEND", "PF", "PKGUSE", "PORTAGE_BUILDIR_LOCKED",
+       "PDEPEND", "PF", "PKGUSE", "PORTAGE_BACKGROUND",
+       "PORTAGE_BACKGROUND_UNMERGE", "PORTAGE_BUILDIR_LOCKED",
        "PORTAGE_BUILT_USE", "PORTAGE_CONFIGROOT", "PORTAGE_IUSE",
        "PORTAGE_NONFATAL", "PORTAGE_REPO_NAME", "PORTAGE_SANDBOX_COMPAT_LEVEL",
        "PORTAGE_USE", "PROPERTIES", "PROVIDE", "RDEPEND", "RESTRICT",