Merged from trunk 4785:4794
authorFabian Groffen <grobian@gentoo.org>
Sun, 22 Oct 2006 14:03:16 +0000 (14:03 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 22 Oct 2006 14:03:16 +0000 (14:03 -0000)
commit2d8be359a0f90a7f71a7c4023b497144316db39b
tree1afbd98c6c380df0cb3b8b53afcb2b7de2937b91
parent2ae183411d4c831dc50d614e7281e59b56c08ae8
Merged from trunk 4785:4794

Optimize config.setcpv so that it only calls regenerate when necessary.
Thanks to Jason Stubbs for the initial patch from bug #17367.

Use reset instead of regenerate (revert part of the previous commit) in
order to properly clear the env layer of the config.

Fix visibility checks so that binary packages aren't masked just because
there is no matching ebuild in the tree.

Call load_infodir before the setup phase for binary packages so that USE
is properly set.

Don't put empty incrementals in the environment, unless they are already
set.

Add support for masking of packages via ACCEPT_LICENSE and
/etc/portage/package.license.  Thanks to Jason Stubbs for the initial
patch from bug #17367.

s/str_matches/acceptable_licenses/ typo

Fix gcc version parsing once again for bug #137786. sigh. :)

svn path=/main/branches/prefix/; revision=4795
bin/emerge
bin/repoman
pym/portage.py
pym/portage_const.py