Update --rebuild-if-* flags to rebuild when build dependencies are changed.
authorDavid James <davidjames@chromium.org>
Mon, 22 Aug 2011 23:29:13 +0000 (16:29 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 26 Aug 2011 18:05:01 +0000 (11:05 -0700)
commit2f253bcc364bd75c9b103133a17ea9887a3de15d
tree7186b4673f0630b6154f576b6a415cc0a92ba5d2
parent1dc7ac4b48ca0a5a8b607bbadf759fa209b49e9c
Update --rebuild-if-* flags to rebuild when build dependencies are changed.

Right now, the --rebuild-if-* flags only rebuild packages that are used at
both run-time and build-time. This doesn't help for packages that are used
only at build-time (for example, static libaries).

Rebuilding packages whenever a build-time dependency is changed is easier to
understand and explain, and it handles all cases correctly.

BUG=chromium-os:15517
TEST=Run emerge test suite.

Change-Id: Iae8dab24e8acb6625bc1a0ce41862e90b232eb84
man/emerge.1
pym/_emerge/depgraph.py
pym/_emerge/help.py
pym/portage/tests/resolver/test_rebuild.py