From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 030D758973 for ; Sat, 6 Feb 2016 09:58:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E4E721C05C; Sat, 6 Feb 2016 09:58:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A64521C05C for ; Sat, 6 Feb 2016 09:58:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B126340B6A for ; Sat, 6 Feb 2016 09:58:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99439E6C for ; Sat, 6 Feb 2016 09:58:01 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1454752655.5f6fc12a879345b1229cbef970ddf93a233c62f9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/python/python-2.7.11-r2.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5f6fc12a879345b1229cbef970ddf93a233c62f9 X-VCS-Branch: master Date: Sat, 6 Feb 2016 09:58:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 539c168f-b4a9-4b63-ba49-887d1fa8c196 X-Archives-Hash: 06dfd165d05d44321d06182c2013d32e commit: 5f6fc12a879345b1229cbef970ddf93a233c62f9 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 6 09:43:30 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 6 09:57:35 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f6fc12a 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. dev-lang/python/python-2.7.11-r2.ebuild | 4 ---- 1 file changed, 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 8f8ae73..6fcccce 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() {