summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-02-06 10:43:30 +0100
committerMichał Górny <mgorny@gentoo.org>2016-02-06 10:57:35 +0100
commit5f6fc12a879345b1229cbef970ddf93a233c62f9 (patch)
treefba4985308aabd5abc0b3dbf7d5b98c6f6416b14 /dev-lang
parentdev-lang/python-exec: Do not copy meaningless Python 2 selection (diff)
downloadgentoo-5f6fc12a879345b1229cbef970ddf93a233c62f9.tar.gz
gentoo-5f6fc12a879345b1229cbef970ddf93a233c62f9.tar.bz2
gentoo-5f6fc12a879345b1229cbef970ddf93a233c62f9.zip
dev-lang/python:2.7: Do not update meaningless Python 2 preference
Python 2 preference is meaningless since we only support one version of Python 2, and it causes Python 2 to be preferred over non-selected versions of Python 3.
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/python/python-2.7.11-r2.ebuild4
1 files changed, 0 insertions, 4 deletions
diff --git a/dev-lang/python/python-2.7.11-r2.ebuild b/dev-lang/python/python-2.7.11-r2.ebuild
index 8f8ae73215ad..6fccccee1e80 100644
--- a/dev-lang/python/python-2.7.11-r2.ebuild
+++ b/dev-lang/python/python-2.7.11-r2.ebuild
@@ -355,10 +355,6 @@ eselect_python_update() {
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
eselect python update
fi
-
- if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
- eselect python update --python${PV%%.*}
- fi
}
pkg_postinst() {