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

Class Eapi3EbuildAssignment

source code

  object --+        
           |        
   LineCheck --+    
               |    
EbuildAssignment --+
                   |
                  Eapi3EbuildAssignment

Ensure ebuilds don't assign to readonly EAPI 3-introduced variables.

Instance Methods [hide private]
 
check_eapi(self, eapi)
returns if the check should be run in the given EAPI (default is True)
source code

Inherited from EbuildAssignment: check

Inherited from LineCheck: end, new

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

Class Variables [hide private]
  readonly_assignment = re.compile(r'\s*(export\s+)?(ED|PREFIX|R...

Inherited from EbuildAssignment: repoman_check_name

Inherited from LineCheck: ignore_comment, ignore_line

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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)

Class Variable Details [hide private]

readonly_assignment

Value:
re.compile(r'\s*(export\s+)?(ED|PREFIX|ROOT)=')