projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc0377a
)
dev-lang/python-exec: Do not copy meaningless Python 2 selection
author
Michał Górny
<mgorny@gentoo.org>
Sat, 6 Feb 2016 09:40:13 +0000
(10:40 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Sat, 6 Feb 2016 09:57:35 +0000
(10:57 +0100)
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.
dev-lang/python-exec/python-exec-2.9999.ebuild
patch
|
blob
|
history
diff --git
a/dev-lang/python-exec/python-exec-2.9999.ebuild
b/dev-lang/python-exec/python-exec-2.9999.ebuild
index 14940d0d0a01b3467e6964834d2a1ff08cb96540..561e39347295c89741b686d7ae1169edf902060a 100644
(file)
--- 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 py
2/py3 selections
- for py in 3
2
; do
+ # then try specific py
3 selection
+ for py in 3; do
local target=
if [[ -f ${config_base}/python${py} ]]; then