/[gentoo-src]/portage/pym/portage_const.py
Gentoo

Contents of /portage/pym/portage_const.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download) (as text)
Fri Apr 29 04:43:19 2005 UTC (10 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Branch point for: portage_2_1
Changes since 1.9: +2 -3 lines
File MIME type: text/x-python
dont run depscan.sh anymore #86523

1 # portage: Constants
2 # Copyright 1998-2004 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-src/portage/pym/portage_const.py,v 1.9 2005/03/22 19:29:57 genone Exp $
5 cvs_id_string="$Id: portage_const.py,v 1.9 2005/03/22 19:29:57 genone Exp $"[5:-2]
6
7 # ===========================================================================
8 # START OF CONSTANTS -- START OF CONSTANTS -- START OF CONSTANTS -- START OF
9 # ===========================================================================
10
11 VDB_PATH = "var/db/pkg"
12 PRIVATE_PATH = "/var/lib/portage"
13 CACHE_PATH = "/var/cache/edb"
14 DEPCACHE_PATH = CACHE_PATH+"/dep"
15
16 USER_CONFIG_PATH = "/etc/portage"
17 MODULES_FILE_PATH = USER_CONFIG_PATH+"/modules"
18 CUSTOM_PROFILE_PATH = USER_CONFIG_PATH+"/profile"
19
20 PORTAGE_BASE_PATH = "/usr/lib/portage"
21 PORTAGE_BIN_PATH = PORTAGE_BASE_PATH+"/bin"
22 PORTAGE_PYM_PATH = PORTAGE_BASE_PATH+"/pym"
23 PROFILE_PATH = "/etc/make.profile"
24 LOCALE_DATA_PATH = PORTAGE_BASE_PATH+"/locale"
25
26 EBUILD_SH_BINARY = PORTAGE_BIN_PATH+"/ebuild.sh"
27 EBUILD_DAEMON_PATH = PORTAGE_BIN_PATH+"/ebuild-daemon.sh"
28
29 SANDBOX_BINARY = "/usr/bin/sandbox"
30 # XXX compatibility hack. this shouldn't ever hit a stable release.
31 import os
32 if not os.path.exists(SANDBOX_BINARY):
33 if os.path.exists(PORTAGE_BIN_PATH+"/sandbox"):
34 SANDBOX_BINARY=PORTAGE_BIN_PATH+"/sandbox"
35
36 BASH_BINARY = "/bin/bash"
37 MOVE_BINARY = "/bin/mv"
38 PRELINK_BINARY = "/usr/sbin/prelink"
39
40 WORLD_FILE = PRIVATE_PATH+"/world"
41 MAKE_CONF_FILE = "/etc/make.conf"
42 MAKE_DEFAULTS_FILE = PROFILE_PATH + "/make.defaults"
43 DEPRECATED_PROFILE_FILE = PROFILE_PATH+"/deprecated"
44 USER_VIRTUALS_FILE = USER_CONFIG_PATH+"/virtuals"
45 EBUILD_SH_ENV_FILE = USER_CONFIG_PATH+"/bashrc"
46 INVALID_ENV_FILE = "/etc/spork/is/not/valid/profile.env"
47 CUSTOM_MIRRORS_FILE = USER_CONFIG_PATH+"/mirrors"
48 SANDBOX_PIDS_FILE = "/tmp/sandboxpids.tmp"
49 CONFIG_MEMORY_FILE = PRIVATE_PATH + "/config"
50
51 INCREMENTALS=["USE","FEATURES","ACCEPT_KEYWORDS","ACCEPT_LICENSE","CONFIG_PROTECT_MASK","CONFIG_PROTECT","PRELINK_PATH","PRELINK_PATH_MASK"]
52 STICKIES=["KEYWORDS_ACCEPT","USE","CFLAGS","CXXFLAGS","MAKEOPTS","EXTRA_ECONF","EXTRA_EINSTALL","EXTRA_EMAKE"]
53
54 CONFCACHE_FILE = CACHE_PATH+"/confcache"
55 CONFCACHE_LIST = CACHE_PATH+"/confcache_files.anydbm"
56
57 LIBFAKEROOT_PATH = "/usr/lib/libfakeroot.so"
58 FAKEROOT_PATH = "/usr/bin/fakeroot"
59
60 RSYNC_BIN = "/usr/bin/rsync"
61 RSYNC_HOST = "rsync.gentoo.org/gentoo-portage"
62
63 CVS_BIN = "/usr/bin/cvs"
64
65 EBUILD_PHASES = "setup unpack compile test install preinst postinst prerm postrm"

  ViewVC Help
Powered by ViewVC 1.1.20