aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-06-22 21:31:44 +0000
committerZac Medico <zmedico@gentoo.org>2009-06-22 21:31:44 +0000
commit87703620fea7af34d221db781e557dfff35599a1 (patch)
tree828fb58b59dd815ebb7b872d104e7ae70ba7ab42 /pym/portage/const.py
parentBug #275047 - Split _emerge/__init__.py into smaller pieces (part 4). (diff)
downloadportage-87703620fea7af34d221db781e557dfff35599a1.tar.gz
portage-87703620fea7af34d221db781e557dfff35599a1.tar.bz2
portage-87703620fea7af34d221db781e557dfff35599a1.zip
Change ACCEPT_LICENSE evaluation so that things like ACCEPT_LICENSE="* -@EULA"
will work as expected. The ACCEPT_LICENSE variable is now treated as a lazily evaluated incremental, so that * can be used to match all licenses without every having to explicitly expand it to all licenses. It should now behave as approved by the council in response to the "RFC: ACCEPT_LICENSE default value (GLEP 23)" discussion: http://archives.gentoo.org/gentoo-dev/msg_d5c1e7285399ebc27a74bdd02cb4d037.xml svn path=/main/trunk/; revision=13670
Diffstat (limited to 'pym/portage/const.py')
-rw-r--r--pym/portage/const.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/const.py b/pym/portage/const.py
index 84930cdc6..155279c05 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -52,7 +52,7 @@ REPO_NAME_FILE = "repo_name"
REPO_NAME_LOC = "profiles" + "/" + REPO_NAME_FILE
INCREMENTALS = ["USE", "USE_EXPAND", "USE_EXPAND_HIDDEN", "FEATURES",
- "ACCEPT_KEYWORDS", "ACCEPT_LICENSE",
+ "ACCEPT_KEYWORDS",
"CONFIG_PROTECT_MASK", "CONFIG_PROTECT",
"PRELINK_PATH", "PRELINK_PATH_MASK", "PROFILE_ONLY_VARIABLES"]
EBUILD_PHASES = ["setup", "unpack", "prepare", "configure",