summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/help.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-02 20:26:08 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-02 20:26:08 +0000
commit16891c2aee866c2074198cc50b12254f040e9be1 (patch)
tree20501d5b33595cef4818ef14a135a907a19289cd /pym/_emerge/help.py
parent6cc62aaae04c5032fcfe06b87b96d6e94228a982 (diff)
downloadportage-16891c2aee866c2074198cc50b12254f040e9be1.tar.gz
portage-16891c2aee866c2074198cc50b12254f040e9be1.tar.bz2
portage-16891c2aee866c2074198cc50b12254f040e9be1.zip
Add a --rebuilt-binaries[=n] option, causing automatic replacement of
installed packages with binary packages that have been rebuilt. Rebuilds are detected by comparison of BUILD_TIME package metadata. This option is enabled automatically when using binary packages, so rebuilt binaries are installed with a user's typical update command. This isn't possible with the existing @rebuild-binaries package set since that only works with --selective=n and therefore can't be used with a typical world update. The package set framework should support this type of behavior sometime in the future. (trunk r15364) svn path=/main/branches/2.1.7/; revision=15591
Diffstat (limited to 'pym/_emerge/help.py')
-rw-r--r--pym/_emerge/help.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index d61f090be..64f3e1d52 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -503,6 +503,15 @@ def help(myopts, havecolor=1):
for line in wrap(desc, desc_width):
print(desc_indent + line)
print()
+ print(" "+green("--rebuilt-binaries[=n]"))
+ desc = "Replace installed packages with binary packages that have " + \
+ "been rebuilt. Rebuilds are detected by comparison of " + \
+ "BUILD_TIME package metadata. This option is enabled " + \
+ "automatically when using binary packages (see " + \
+ "--usepkg and --getbinpkg)."
+ for line in wrap(desc, desc_width):
+ print(desc_indent + line)
+ print()
print(" "+green("--reinstall ") + turquoise("changed-use"))
print(" Tells emerge to include installed packages where USE flags have")
print(" changed since installation. Unlike --newuse, this option does")