summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-18 07:07:41 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-18 07:07:41 +0000
commit744b5b12943ba4dbe27a694250c8a5d390b6e5bc (patch)
tree097b22b5d402975d7745b39f1c25bd80262238c4 /pym/_emerge/help.py
parentAdd @rebuilt-binaries set which uses BUILD_TIME to pull in binary packages (diff)
downloadportage-idfetch-744b5b12943ba4dbe27a694250c8a5d390b6e5bc.tar.gz
portage-idfetch-744b5b12943ba4dbe27a694250c8a5d390b6e5bc.tar.bz2
portage-idfetch-744b5b12943ba4dbe27a694250c8a5d390b6e5bc.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. svn path=/main/trunk/; revision=15364
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 88b818cf..a30b6dad 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -506,6 +506,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")