diff options
author | David James <davidjames@chromium.org> | 2011-08-22 16:29:13 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-08-26 11:05:01 -0700 |
commit | 2f253bcc364bd75c9b103133a17ea9887a3de15d (patch) | |
tree | 7186b4673f0630b6154f576b6a415cc0a92ba5d2 /pym/_emerge/help.py | |
parent | 1dc7ac4b48ca0a5a8b607bbadf759fa209b49e9c (diff) | |
download | portage-2f253bcc364bd75c9b103133a17ea9887a3de15d.tar.gz portage-2f253bcc364bd75c9b103133a17ea9887a3de15d.tar.bz2 portage-2f253bcc364bd75c9b103133a17ea9887a3de15d.zip |
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
Diffstat (limited to 'pym/_emerge/help.py')
-rw-r--r-- | pym/_emerge/help.py | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py index c978ce255..57b376d55 100644 --- a/pym/_emerge/help.py +++ b/pym/_emerge/help.py @@ -641,26 +641,24 @@ def help(myopts, havecolor=1): print() print(" " + green("--rebuild-if-new-rev") + " [ %s | %s ]" % \ (turquoise("y"), turquoise("n"))) - desc = "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." + desc = "Rebuild packages when build-time dependencies are built " + \ + "from source, if the dependency is not already installed with " + \ + "the same version and revision." for line in wrap(desc, desc_width): print(desc_indent + line) print() print(" " + green("--rebuild-if-new-ver") + " [ %s | %s ]" % \ (turquoise("y"), turquoise("n"))) - desc = "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." + desc = "Rebuild packages when build-time dependencies are built " + \ + "from source, if the dependency is not already installed with " + \ + "the same version. Revision numbers are ignored." for line in wrap(desc, desc_width): print(desc_indent + line) print() print(" " + green("--rebuild-if-unbuilt") + " [ %s | %s ]" % \ (turquoise("y"), turquoise("n"))) - desc = "Rebuild packages when dependencies that are " + \ - "used at both build-time and run-time are built." + desc = "Rebuild packages when build-time dependencies are built " + \ + "from source" for line in wrap(desc, desc_width): print(desc_indent + line) print() |