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

Class ImplicitRuntimeDeps

source code

object --+    
         |    
 LineCheck --+
             |
            ImplicitRuntimeDeps

Detect the case where DEPEND is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment (prior to EAPI 4).

Instance Methods [hide private]
 
new(self, pkg) source code
 
check_eapi(self, eapi)
returns if the check should be run in the given EAPI (default is True)
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 object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  repoman_check_name = u'RDEPEND.implicit'
  _assignment_re = re.compile(r'^\s*(R?DEPEND)\+?=')

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_eapi(self, eapi)

source code 

returns if the check should be run in the given EAPI (default is True)

Overrides: LineCheck.check_eapi
(inherited documentation)

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