From: Zac Medico Date: Sat, 26 Mar 2011 01:44:46 +0000 (-0700) Subject: config: blacklist PORTAGE_BACKGROUND* vars X-Git-Tag: v2.1.9.45~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed6a701f0829b37a29bd3d168752b3eef058d010;p=portage.git config: blacklist PORTAGE_BACKGROUND* vars --- diff --git a/pym/portage/package/ebuild/_config/special_env_vars.py b/pym/portage/package/ebuild/_config/special_env_vars.py index 561de9cf4..86af7fd24 100644 --- a/pym/portage/package/ebuild/_config/special_env_vars.py +++ b/pym/portage/package/ebuild/_config/special_env_vars.py @@ -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",