From: Fabian Groffen Date: Sun, 5 Sep 2010 11:23:15 +0000 (+0200) Subject: document DEPCACHE_PATH GLOBAL_CONFIG_PATH getting EPREFIX-ed X-Git-Tag: v2.2_rc76~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=025a5ab85069b74750b8b165a7ceb02bef6a60a9;p=portage.git document DEPCACHE_PATH GLOBAL_CONFIG_PATH getting EPREFIX-ed --- diff --git a/pym/portage/const.py b/pym/portage/const.py index c1ae458be..e56ebecbc 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -50,9 +50,12 @@ WORLD_SETS_FILE = PRIVATE_PATH + "/world_sets" CONFIG_MEMORY_FILE = PRIVATE_PATH + "/config" NEWS_LIB_PATH = "var/lib/gentoo" -# these variables are not used with target_root or config_root +# these variables get EPREFIX prepended automagically when they are +# translated into their lowercase variants DEPCACHE_PATH = "/var/cache/edb/dep" GLOBAL_CONFIG_PATH = "/usr/share/portage/config" + +# these variables are not used with target_root or config_root PORTAGE_BASE_PATH = os.path.join(os.sep, os.sep.join(__file__.split(os.sep)[:-3])) PORTAGE_BIN_PATH = PORTAGE_BASE_PATH + "/bin" PORTAGE_PYM_PATH = PORTAGE_BASE_PATH + "/pym"