Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r14199 - main/trunk/pym/portage
Date: Sat, 05 Sep 2009 13:33:31
Message-Id: E1MjvOT-0003ao-TA@stork.gentoo.org
1 Author: grobian
2 Date: 2009-09-05 13:33:29 +0000 (Sat, 05 Sep 2009)
3 New Revision: 14199
4
5 Modified:
6 main/trunk/pym/portage/const.py
7 Log:
8 DEPCACHE_PATH is not used with ROOT at all, so move it out of the target_root variable group
9
10 Modified: main/trunk/pym/portage/const.py
11 ===================================================================
12 --- main/trunk/pym/portage/const.py 2009-09-05 11:15:48 UTC (rev 14198)
13 +++ main/trunk/pym/portage/const.py 2009-09-05 13:33:29 UTC (rev 14199)
14 @@ -45,7 +45,6 @@
15 # have a leading '/' since they are used directly with os.path.join)
16 VDB_PATH = "var/db/pkg"
17 CACHE_PATH = "var/cache/edb"
18 -DEPCACHE_PATH = CACHE_PATH + "/dep" # FIXME: does not seem to use ROOT when used
19 PRIVATE_PATH = "var/lib/portage"
20 WORLD_FILE = PRIVATE_PATH + "/world"
21 WORLD_SETS_FILE = PRIVATE_PATH + "/world_sets"
22 @@ -53,6 +52,7 @@
23 NEWS_LIB_PATH = "var/lib/gentoo"
24
25 # these variables are not used with target_root or config_root
26 +DEPCACHE_PATH = "/var/cache/edb/dep"
27 GLOBAL_CONFIG_PATH = "/usr/share/portage/config"
28 PORTAGE_BASE_PATH = os.path.join(os.sep, os.sep.join(__file__.split(os.sep)[:-3]))
29 PORTAGE_BIN_PATH = PORTAGE_BASE_PATH + "/bin"