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

Class InheritDeprecated

source code

object --+    
         |    
 LineCheck --+
             |
            InheritDeprecated

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 
Overrides: LineCheck.new

check(self, num, line)

source code 

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

Overrides: LineCheck.check
(inherited documentation)

end(self)

source code 
Overrides: LineCheck.end

Class Variable Details [hide private]

deprecated_classes

Value:
{u'bash-completion': u'bash-completion-r1',
 u'boost-utils': False,
 u'distutils': u'distutils-r1',
 u'gems': u'ruby-fakegem',
 u'mono': u'mono-env',
 u'python': u'python-r1 / python-single-r1 / python-any-r1',
 u'ruby': u'ruby-ng',
 u'x-modular': u'xorg-2'}