root/releases/pkgcore/0.1.2/pkgcore/const.py @ marienz%2540gentoo.org-20061010023245-36f5602da12e896c

Revision marienz%2540gentoo.org-20061010023245-36f5602da12e896c, 2.3 KB (checked in by Marien Zwart <marienz@…>, 2 years ago)

Version bump and release notes.

Line 
1# Copyright: 2005-2006 Brian Harring <ferringb@gmail.com>
2# Copyright: 2000-2005 Gentoo Foundation
3# License: GPL2
4
5
6"""
7Internal constants.
8
9Future of this module is debatable- for the most part you likely don't
10want to be using this. As soon as is possible, most of these defines
11will be shifted to wherever they're best situated.
12"""
13
14# note this is lifted out of portage 2. so... it's held onto for the
15# sake of having stuff we still need, but it does need cleanup.
16
17import os.path as osp
18
19
20# the pkgcore package directory
21PORTAGE_BASE_PATH   = osp.dirname(osp.abspath(__file__))
22PORTAGE_BIN_PATH    = osp.join(PORTAGE_BASE_PATH, 'bin')
23PORTAGE_DATA_PATH   = osp.join(PORTAGE_BASE_PATH, 'data')
24SYSTEM_CONF_FILE    = '/etc/pkgcore.conf'
25USER_CONF_FILE      = osp.expanduser('~/.pkgcore.conf')
26
27GLOBAL_CONF_FILE    = PORTAGE_DATA_PATH + '/global_conf'
28#PORTAGE_PYM_PATH   = PORTAGE_BASE_PATH+"/pym"
29#PROFILE_PATH       = "/etc/make.profile"
30LOCALE_DATA_PATH    = PORTAGE_BASE_PATH+"/locale"
31
32EBUILD_DAEMON_PATH  = PORTAGE_BIN_PATH+"/ebuild-env/ebuild-daemon.sh"
33
34SANDBOX_BINARY      = "/usr/bin/sandbox"
35
36DEPSCAN_SH_BINARY    = "/sbin/depscan.sh"
37BASH_BINARY          = "/bin/bash"
38MOVE_BINARY          = "/bin/mv"
39COPY_BINARY          = "/bin/cp"
40PRELINK_BINARY       = "/usr/sbin/prelink"
41depends_phase_path   = PORTAGE_BIN_PATH+"/ebuild-env/:/bin:/usr/bin"
42EBUILD_ENV_PATH      = [PORTAGE_BIN_PATH+"/"+x for x in [
43                           "ebuild-env", "ebuild-helpers"]] \
44                     + ["/sbin", "/bin", "/usr/sbin", "/usr/bin"]
45EBD_ENV_PATH         = PORTAGE_BIN_PATH+"/ebuild-env"
46
47# XXX this is out of place
48WORLD_FILE           = '/var/lib/portage/world'
49#MAKE_CONF_FILE       = "/etc/make.conf"
50#MAKE_DEFAULTS_FILE   = PROFILE_PATH + "/make.defaults"
51
52INVALID_ENV_FILE     = "/etc/spork/is/not/valid/profile.env"
53# XXX this is out of place
54CUSTOM_MIRRORS_FILE  = "/etc/portage/mirrors"
55SANDBOX_PIDS_FILE    = "/tmp/sandboxpids.tmp"
56
57#CONFCACHE_FILE       = CACHE_PATH+"/confcache"
58#CONFCACHE_LIST       = CACHE_PATH+"/confcache_files.anydbm"
59
60LIBFAKEROOT_PATH     = "/usr/lib/libfakeroot.so"
61FAKED_PATH           = "/usr/bin/faked"
62
63RSYNC_BIN            = "/usr/bin/rsync"
64RSYNC_HOST           = "rsync.gentoo.org/gentoo-portage"
65
66CVS_BIN              = "/usr/bin/cvs"
67plugins_dir          = "/etc/pkgcore/plugins/"
68
69VERSION              = '0.1.2'
Note: See TracBrowser for help on using the browser.