Tells emerge to ignore binary packages if their use flags
don't match the current configuration. (default: \'n\')
.TP
-.BR "\-\-buildpkg " (\fB\-b\fR)
+.BR "\-\-buildpkg[=n] " (\fB\-b\fR)
Tells emerge to build binary packages for all ebuilds processed in
addition to actually merging the packages. Useful for maintainers
or if you administrate multiple Gentoo Linux systems (build once,
for line in wrap(desc, desc_width):
print(desc_indent + line)
print()
- print(" "+green("--buildpkg")+" ("+green("-b")+" short option)")
+ print(" "+green("--buildpkg") + "[=%s]" % turquoise("n") + " ("+green("-b")+" short option)")
desc = "Tells emerge to build binary packages for all ebuilds processed in" + \
" addition to actually merging the packages. Useful for maintainers" + \
" or if you administrate multiple Gentoo Linux systems (build once," + \
options=[
"--ask", "--alphabetical",
"--ask-enter-invalid",
-"--buildpkg", "--buildpkgonly",
+"--buildpkgonly",
"--changed-use",
"--changelog", "--columns",
"--debug",
shortmapping={
"1":"--oneshot",
"a":"--ask",
-"b":"--buildpkg", "B":"--buildpkgonly",
+"B":"--buildpkgonly",
"c":"--depclean",
"C":"--unmerge",
"d":"--debug",
default_arg_opts = {
'--autounmask' : ('n',),
+ '--buildpkg' : ('n',),
'--complete-graph' : ('n',),
'--deep' : valid_integers,
'--deselect' : ('n',),
"action" : "store"
},
+ "--buildpkg": {
+ "shortopt" : "-b",
+ "help" : "build binary packages",
+ "type" : "choice",
+ "choices" : ("True", "n")
+ },
+
"--config-root": {
"help":"specify the location for portage configuration files",
"action":"store"
if myoptions.autounmask in ("True",):
myoptions.autounmask = True
+ if myoptions.buildpkg in ("True",):
+ myoptions.buildpkg = True
+ else:
+ myoptions.buildpkg = None
+
if myoptions.changed_use is not False:
myoptions.reinstall = "changed-use"
myoptions.changed_use = False