From b9b1c642065220aaf857a6ab221756be60519448 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 8 Dec 2011 18:54:41 -0800 Subject: Enable PORTAGE_GRPNAME/USERNAME in make.conf. This is handy for prefix installs, since it allows these variables to be set in make.conf rather than having them hardcoded. Eventually, the corresponding portage.data constants may be deprecated in favor of config attributes, since it's conceivable that multiple configurations with different constants could be used simultaneously. --- pym/_emerge/actions.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym/_emerge') diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 87610a693..2849598d3 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2997,6 +2997,7 @@ def load_emerge_config(trees=None): mtimedbfile = os.path.join(settings['EROOT'], portage.CACHE_PATH, "mtimedb") mtimedb = portage.MtimeDB(mtimedbfile) portage.output._init(config_root=settings['PORTAGE_CONFIGROOT']) + portage.data._init(settings) QueryCommand._db = trees return settings, trees, mtimedb -- cgit v1.2.3-1-g7c22