Lines 1-8
Link Here
|
1 |
|
1 |
|
2 |
import os |
2 |
import os |
3 |
|
3 |
|
4 |
from DeComp.definitions import DECOMPRESSOR_XATTR_SEARCH_ORDER |
4 |
from DeComp.definitions import DECOMPRESSOR_SEARCH_ORDER |
5 |
from DeComp.definitions import COMPRESSOR_PROGRAM_OPTIONS, XATTRS_OPTIONS |
5 |
from DeComp.definitions import COMPRESSOR_PROGRAM_OPTIONS, XATTRS_OPTIONS |
|
|
6 |
from DeComp.definitions import DECOMPRESSOR_PROGRAM_OPTIONS, LIST_XATTRS_OPTIONS |
6 |
|
7 |
|
7 |
# Used for the (de)compressor definitions |
8 |
# Used for the (de)compressor definitions |
8 |
if os.uname()[0] in ["Linux", "linux"]: |
9 |
if os.uname()[0] in ["Linux", "linux"]: |
Lines 33-45
valid_config_file_values.extend([ "distcc", "envscript",
Link Here
|
33 |
confdefaults={ |
34 |
confdefaults={ |
34 |
"archdir": "%(PythonDir)s/arch", |
35 |
"archdir": "%(PythonDir)s/arch", |
35 |
"comp_prog": COMPRESSOR_PROGRAM_OPTIONS[TAR], |
36 |
"comp_prog": COMPRESSOR_PROGRAM_OPTIONS[TAR], |
36 |
"compression_mode": 'lbzip2_x', |
37 |
"compression_mode": 'lbzip2', |
37 |
"compressor_arch": None, |
38 |
"compressor_arch": None, |
38 |
"compressor_options": XATTRS_OPTIONS[TAR], |
39 |
"compressor_options": XATTRS_OPTIONS[TAR], |
39 |
"decompressor_search_order": DECOMPRESSOR_XATTR_SEARCH_ORDER, |
40 |
"decomp_opt": DECOMPRESSOR_PROGRAM_OPTIONS[TAR], |
|
|
41 |
"decompressor_search_order": DECOMPRESSOR_SEARCH_ORDER, |
40 |
"distdir": "/usr/portage/distfiles", |
42 |
"distdir": "/usr/portage/distfiles", |
41 |
"hash_function": "crc32", |
43 |
"hash_function": "crc32", |
42 |
"icecream": "/var/cache/icecream", |
44 |
"icecream": "/var/cache/icecream", |
|
|
45 |
'list_xattrs_opt': LIST_XATTRS_OPTIONS[TAR], |
43 |
"local_overlay": "/usr/local/portage", |
46 |
"local_overlay": "/usr/local/portage", |
44 |
"port_conf": "/etc/portage", |
47 |
"port_conf": "/etc/portage", |
45 |
"make_conf": "%(port_conf)s/make.conf", |
48 |
"make_conf": "%(port_conf)s/make.conf", |