Browse Source

Опция --skip-revdep-rebuild заменена на --revdep-rebuild

tags/3.6.7.1
parent
commit
30e4e3e36d
3 changed files with 18 additions and 3 deletions
  1. +2
    -2
      pym/update/utils/cl_update.py
  2. +15
    -0
      pym/update/variables/update.py
  3. +1
    -1
      pym/update/wsdl_update.py

+ 2
- 2
pym/update/utils/cl_update.py View File

@@ -287,7 +287,7 @@ class ClUpdateAction(Action):
'condition': lambda Get: Get('cl_update_sync_only_set') == 'off'
},
{'name': 'update_other:update_perl',
'group': __("Updating Perl"),
'group': __("Updating Perl modules"),
'tasks': [
{'name': 'update_other:perl_cleaner',
'message': __('Find & rebuild packages and Perl header files '
@@ -343,7 +343,7 @@ class ClUpdateAction(Action):
'message': __('Checking reverse dependencies'),
'method': 'Update.revdep_rebuild("revdep-rebuild")',
'condition': lambda Get: (Get(
'cl_update_skip_rb_set') == 'off' and
'cl_update_revdep_rebuild_set') == 'on' and
UpdateConditions.was_installed(
'.*', EmergeMark.RevdepRebuild)()),
'decoration': 'Update.update_task("%s")' %


+ 15
- 0
pym/update/variables/update.py View File

@@ -1480,6 +1480,21 @@ class VariableClUpdateSkipRbSet(Variable):
self.help = _("skip reverse dependencies check")


class VariableClUpdateRevdepRebuildSet(Variable):
"""
Запустить revdep-rebuild
"""
type = "bool"
value = "off"

opt = ["-R", "--revdep-rebuild"]

def init(self):
self.label = _("Run reverse dependencies check")
self.help = _("run reverse dependencies check")



class VariableClUpdateOutdatedKernelSet(ReadonlyVariable):
"""
Есть наличие устаревшего ядра


+ 1
- 1
pym/update/wsdl_update.py View File

@@ -81,7 +81,7 @@ class Wsdl(WsdlBase):
'cl_update_gpg_force',
'cl_update_egencache_force',
'cl_update_eixupdate_force',
'cl_update_skip_rb_set',
'cl_update_revdep_rebuild_set',
'cl_update_wait_another_set',
'cl_update_autocheck_schedule_set',
'cl_update_onedepth_set',


Loading…
Cancel
Save