summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-02-06 10:40:13 +0100
committerMichał Górny <mgorny@gentoo.org>2016-02-06 10:57:35 +0100
commit84462f5e792175bf85b119c3555b9903d7570ebe (patch)
tree2fdbfd6fff0544df00a0d901767ba823ae10eeb4 /dev-lang/python-exec
parentdev-lang/python-exec: Silence the migration output for initial install (diff)
downloadgentoo-84462f5e792175bf85b119c3555b9903d7570ebe.tar.gz
gentoo-84462f5e792175bf85b119c3555b9903d7570ebe.tar.bz2
gentoo-84462f5e792175bf85b119c3555b9903d7570ebe.zip
dev-lang/python-exec: Do not copy meaningless Python 2 selection
Do not copy Python 2 version preference if Python 3 is the main interpreter. It is not meaningful since we no longer support more than one Python 2 version, and it will cause Python 2 to be preferred over non-preferred versions of Python 3.
Diffstat (limited to 'dev-lang/python-exec')
-rw-r--r--dev-lang/python-exec/python-exec-2.9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/python-exec/python-exec-2.9999.ebuild b/dev-lang/python-exec/python-exec-2.9999.ebuild
index 14940d0d0a01..561e39347295 100644
--- a/dev-lang/python-exec/python-exec-2.9999.ebuild
+++ b/dev-lang/python-exec/python-exec-2.9999.ebuild
@@ -95,8 +95,8 @@ pkg_preinst() {
old_pythons+=( "$(<${config_base}/config)" )
fi
- # then try specific py2/py3 selections
- for py in 3 2; do
+ # then try specific py3 selection
+ for py in 3; do
local target=
if [[ -f ${config_base}/python${py} ]]; then