Lines 36-42
from portage import auxdbkeys, bsd_chflags, \
Link Here
|
36 |
_shell_quote, _unicode_decode, _unicode_encode |
36 |
_shell_quote, _unicode_decode, _unicode_encode |
37 |
from portage.const import EBUILD_SH_ENV_FILE, EBUILD_SH_ENV_DIR, \ |
37 |
from portage.const import EBUILD_SH_ENV_FILE, EBUILD_SH_ENV_DIR, \ |
38 |
EBUILD_SH_BINARY, INVALID_ENV_FILE, MISC_SH_BINARY, \ |
38 |
EBUILD_SH_BINARY, INVALID_ENV_FILE, MISC_SH_BINARY, \ |
39 |
EPREFIX, MACOSSANDBOX_PROFILE |
39 |
MACOSSANDBOX_PROFILE |
40 |
from portage.data import portage_gid, portage_uid, secpass, \ |
40 |
from portage.data import portage_gid, portage_uid, secpass, \ |
41 |
uid, userpriv_groups |
41 |
uid, userpriv_groups |
42 |
from portage.dbapi.porttree import _parse_uri_map |
42 |
from portage.dbapi.porttree import _parse_uri_map |
Lines 230-236
def doebuild_environment(myebuild, mydo, myroot=None, settings=None,
Link Here
|
230 |
# due to how it's coded... Don't overwrite this so we can use it. |
230 |
# due to how it's coded... Don't overwrite this so we can use it. |
231 |
mysettings["PORTAGE_DEBUG"] = "1" |
231 |
mysettings["PORTAGE_DEBUG"] = "1" |
232 |
|
232 |
|
233 |
mysettings["EPREFIX"] = EPREFIX |
|
|
234 |
mysettings["EBUILD"] = ebuild_path |
233 |
mysettings["EBUILD"] = ebuild_path |
235 |
mysettings["O"] = pkg_dir |
234 |
mysettings["O"] = pkg_dir |
236 |
mysettings.configdict["pkg"]["CATEGORY"] = cat |
235 |
mysettings.configdict["pkg"]["CATEGORY"] = cat |
237 |
- |
|
|