Package portage :: Module data
[hide private]

Module data

source code

Classes [hide private]
  _GlobalProxy
Functions [hide private]
 
portage_group_warning() source code
 
_get_global(k) source code
 
_init(settings)
Use config variables like PORTAGE_GRPNAME and PORTAGE_USERNAME to initialize global variables.
source code
Variables [hide private]
  ostype = 'Linux'
  userland = 'GNU'
  lchown = portage._unicode_func_wrapper(lchown)
  uid = 250
  wheelgid = 10
  _initialized_globals = set(['_portage_grpname', '_portage_user...
  __package__ = 'portage'
  _portage_grpname = 'portage'
  _portage_username = 'portage'
  portage_gid = 250
  portage_uid = 250
  secpass = 1
  userpriv_groups = [250]

Imports: os, pwd, grp, platform, sys, portage, _, colorize, subprocess, writemsg


Function Details [hide private]

_init(settings)

source code 

Use config variables like PORTAGE_GRPNAME and PORTAGE_USERNAME to initialize global variables. This allows settings to come from make.conf instead of requiring them to be set in the calling environment.


Variables Details [hide private]

_initialized_globals

Value:
set(['_portage_grpname',
     '_portage_username',
     'portage_gid',
     'portage_uid',
     'secpass',
     'userpriv_groups'])