diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-02-18 07:07:41 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-02-18 07:07:41 +0000 |
commit | 744b5b12943ba4dbe27a694250c8a5d390b6e5bc (patch) | |
tree | 097b22b5d402975d7745b39f1c25bd80262238c4 /pym/_emerge/help.py | |
parent | b4a4c9af72e036d8a0b2698c823cdf2979315369 (diff) | |
download | portage-744b5b12943ba4dbe27a694250c8a5d390b6e5bc.tar.gz portage-744b5b12943ba4dbe27a694250c8a5d390b6e5bc.tar.bz2 portage-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.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py index 88b818cfb..a30b6dadc 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") |