Изменено назначение with-bdeps

legacy27 3.6.4.1
parent 661e8c868e
commit 3ece80cac4

@ -810,7 +810,10 @@ class Update(MethodsInterface):
SystemIni(self.clVars).setVar('system', {'last_check': str(int(time.time()))})
def get_default_emerge_opts(self, depclean=False):
if depclean and self.clVars.GetBool('cl_update_with_bdeps_set'):
bdeps_val = self.clVars.Get('cl_update_with_bdeps_set')
if bdeps_val == "auto":
bdeps = " --with-bdeps-auto=y"
elif bdeps_val == "on":
bdeps = " --with-bdeps=y"
else:
bdeps = " --with-bdeps=n"

@ -1719,16 +1719,17 @@ class VariableClUpdateWithBdepsSet(Variable):
"""
Добавление --with-bdeps при вызове emerge
"""
type = Variable.Types.Boolean
value = Variable.On
type = Variable.Types.Tristate
value = Variable.Auto
class VariableClUpdateWithBdepsOptSet(Variable):
"""
Добавление --with-bdeps при вызове emerge (опция)
"""
type = Variable.Types.Boolean
type = Variable.Types.Tristate
opt = ["--with-bdeps"]
metavalue = "ON/OFF/AUTO"
def init(self):
self.help = _("save packages used during build")

Caricamento…
Annulla
Salva