diff options
Diffstat (limited to 'profiles/common')
-rw-r--r-- | profiles/common/make.defaults | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/profiles/common/make.defaults b/profiles/common/make.defaults index 052a1aa7..f6123acc 100644 --- a/profiles/common/make.defaults +++ b/profiles/common/make.defaults @@ -93,3 +93,25 @@ USE_EXPAND="TARGET" # Duplicate from base/make.defaults while removing /lib/modules # To keep in sync UNINSTALL_IGNORE="/var/run /var/lock" + +# Setting PYTHON_TARGETS is non functional, need to expand manually +# First disable all of them, set enable needed one +# W=python_targets ; sed -rne "s/^([a-zA-Z]([^ ]+)) .*/\t-${W}_\1/p" /usr/portage/profiles/desc/${W}.desc | sort +USE="${USE} + -python_targets_pypy3 + -python_targets_python2_7 + -python_targets_python3_6 + -python_targets_python3_7 + -python_targets_python3_8 + python_targets_python3_7" + +# Setting PYTHON_SINGLE_TARGET is non functional, need to expand manually +# First disable all of them, set enable needed one +# W=python_single_target ; sed -rne "s/^([a-zA-Z]([^ ]+)) .*/\t-${W}_\1/p" /usr/portage/profiles/desc/${W}.desc | sort +USE="${USE} + -python_single_target_pypy3 + -python_single_target_python2_7 + -python_single_target_python3_6 + -python_single_target_python3_7 + -python_single_target_python3_8 + python_single_target_python3_7" |