aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-09-05 13:23:15 +0200
committerFabian Groffen <grobian@gentoo.org>2010-09-05 13:23:15 +0200
commit025a5ab85069b74750b8b165a7ceb02bef6a60a9 (patch)
tree2c5c209d419c4c1159b5d096252665552f1cad42 /pym/portage/const.py
parentDon't regenerate GNU Info if the dir contains a .keepinfodir file, bug 257260. (diff)
downloadportage-025a5ab85069b74750b8b165a7ceb02bef6a60a9.tar.gz
portage-025a5ab85069b74750b8b165a7ceb02bef6a60a9.tar.bz2
portage-025a5ab85069b74750b8b165a7ceb02bef6a60a9.zip
document DEPCACHE_PATH GLOBAL_CONFIG_PATH getting EPREFIX-ed
Diffstat (limited to 'pym/portage/const.py')
-rw-r--r--pym/portage/const.py5
1 files changed, 4 insertions, 1 deletions
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"