Package repoman :: Module checks :: Class InheritDeprecated
[hide private]

Class InheritDeprecated

source code

object --+    
 LineCheck --+

Check if ebuild directly or indirectly inherits a deprecated eclass.

Instance Methods [hide private]
new(self, pkg) source code
check(self, num, line)
Run the check on line and return error if there is one
source code
end(self) source code

Inherited from LineCheck: check_eapi

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  repoman_check_name = u'inherit.deprecated'
  deprecated_classes = {u'bash-completion': u'bash-completion-r1...
  _inherit_re = re.compile(r'^\s*inherit\s(.*)$')

Inherited from LineCheck: ignore_comment, ignore_line

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

new(self, pkg)

source code 

check(self, num, line)

source code 

Run the check on line and return error if there is one

Overrides: LineCheck.check
(inherited documentation)


source code 
Overrides: LineCheck.end

Class Variable Details [hide private]


{u'bash-completion': u'bash-completion-r1',
 u'boost-utils': False,
 u'distutils': u'distutils-r1',
 u'gems': u'ruby-fakegem',
 u'git': u'git-2',
 u'mono': u'mono-env',
 u'mozconfig-2': u'mozconfig-3',
 u'mozcoreconf': u'mozcoreconf-2',