From ed6a701f0829b37a29bd3d168752b3eef058d010 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 25 Mar 2011 18:44:46 -0700 Subject: [PATCH] config: blacklist PORTAGE_BACKGROUND* vars --- pym/portage/package/ebuild/_config/special_env_vars.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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", -- 2.26.2