Apply Justin Riley's ACCEPT_KEYWORDS patch.
authorJustin Riley (home key) <justin.t.riley@gmail.com>
Sun, 5 Jun 2011 22:37:56 +0000 (18:37 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 5 Jun 2011 22:37:56 +0000 (18:37 -0400)
commit68661226e9031f32814beee4cd8215404e8cb459
tree1cd3f542de332f9788109777dd81fdecfe2eccde
parent376f2e04fe5318234acdd7e020fea8f68d0645a6
Apply Justin Riley's ACCEPT_KEYWORDS patch.

Excerpts from Justin's comments [1]:

At least for Portage 2.1.4.4, /usr/lib64/portage/pym/portage.py's
config class specifically excludes ACCEPT_KEYWORDS. Therefore,
  ENV = portage_config(clone=portage_settings).environ()
will never contain ACCEPT_KEYWORDS argument and the arch will always
be ~x86 as the result of get_keyword().

...

After looking at the code, it appears that the PORTAGE_CONFIG variable
introduced in the previous patch can completely replace ENV.  Here's
the patch that simply changes:

  ENV = portage_config(clone=portage_settings).environ()

to

  ENV = portage_config(clone=portage_settings)

[1]: http://code.google.com/p/g-pypi/issues/detail?id=4
g_pypi/portage_utils.py