emerge: replace --rebuild with finer grained opts
authorDavid James <davidjames@chromium.org>
Wed, 4 May 2011 06:32:05 +0000 (23:32 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 May 2011 17:02:14 +0000 (10:02 -0700)
commite4297ca1075342ec89e089802cd25ae0817f3d5b
treed71364c0c52c6b1a524fbac45c279b6cb682d86e
parentfbd402cd32ab8dad37ac28cd63f8700e8f811a3d
emerge: replace --rebuild with finer grained opts

Replace --rebuild option with --rebuild-if-* options.

--rebuild-if-new-rev [ y | n ]
  Rebuild packages when dependencies that are used at both build-time and
  run-time are built, if the dependency is not already installed with the
  same version and revision.

--rebuild-if-new-ver [ y | n ]
  Rebuild packages when dependencies that are used at both build-time and
  run-time are built, if the dependency is not already installed with the
  same version. Revision numbers are ignored.

--rebuild-if-unbuilt [ y | n ]
  Rebuild packages when dependencies that are used at both build-time and
  run-time are built.

Change-Id: Ia50c1702bfe1b98a8d1891740e7bbb045921a905

Review URL: http://gerrit.chromium.org/gerrit/280
man/emerge.1
pym/_emerge/create_depgraph_params.py
pym/_emerge/depgraph.py
pym/_emerge/help.py
pym/_emerge/main.py
pym/portage/tests/resolver/test_rebuild.py