Change ACCEPT_LICENSE evaluation so that things like ACCEPT_LICENSE="* -@EULA"
authorZac Medico <zmedico@gentoo.org>
Mon, 22 Jun 2009 21:31:44 +0000 (21:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 22 Jun 2009 21:31:44 +0000 (21:31 -0000)
commit87703620fea7af34d221db781e557dfff35599a1
tree828fb58b59dd815ebb7b872d104e7ae70ba7ab42
parent4827f2de62ec604fbf3a6dafbcfbe2c180481efe
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
pym/portage/__init__.py
pym/portage/const.py