From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A0CDC139083 for ; Sun, 3 Dec 2017 13:24:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8AB7E0F3E; Sun, 3 Dec 2017 13:24:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98B9AE0F3E for ; Sun, 3 Dec 2017 13:24:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F40D33BF43 for ; Sun, 3 Dec 2017 13:24:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC21CAD7E for ; Sun, 3 Dec 2017 13:24:36 +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: <1512307425.cea78aa151cdca1b2c824d8db44a352d4ec88e51.mgorny@gentoo> Subject: [gentoo-commits] proj/eselect-python:master commit in: / X-VCS-Repository: proj/eselect-python X-VCS-Files: python.eselect.in X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cea78aa151cdca1b2c824d8db44a352d4ec88e51 X-VCS-Branch: master Date: Sun, 3 Dec 2017 13:24:36 +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: 71d9f76d-ee89-4da4-aa94-bb07a41caf74 X-Archives-Hash: 1abff4b93cd7c4f41fd1d7f3314ee646 commit: cea78aa151cdca1b2c824d8db44a352d4ec88e51 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 3 13:23:45 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Dec 3 13:23:45 2017 +0000 URL: https://gitweb.gentoo.org/proj/eselect-python.git/commit/?id=cea78aa1 Remove obsolete '--ABI' option python.eselect.in | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/python.eselect.in b/python.eselect.in index e9378d4..2f7ff8f 100644 --- a/python.eselect.in +++ b/python.eselect.in @@ -202,7 +202,6 @@ describe_show() { } describe_show_options() { - echo "--ABI : use PYTHON_ABI variable format (deprecated)" echo "--cpython : show the preferred version of CPython" echo "--pref-only : consider only explicitly preferred impls" echo "--python2 : show the preferred version of CPython 2" @@ -210,12 +209,9 @@ describe_show_options() { } do_show() { - local abi filter interpreter pref_only + local filter interpreter pref_only while [[ ${#} -gt 0 ]]; do case ${1} in - --ABI) - abi=1 - ;; --cpython|--py) filter=--py ;; @@ -250,11 +246,7 @@ do_show() { break done - if [[ ${abi} ]]; then - echo "${interpreter#python}" - else - echo "${interpreter}" - fi + echo "${interpreter}" } ### edit action ### @@ -278,7 +270,6 @@ describe_show() { } describe_show_options() { - echo "--ABI : use PYTHON_ABI variable format (deprecated)" echo "--cpython : show the preferred version of CPython" echo "--pref-only : consider only explicitly preferred impls" echo "--python2 : show the preferred version of CPython 2" @@ -286,12 +277,9 @@ describe_show_options() { } do_show() { - local abi filter interpreter pref_only + local filter interpreter pref_only while [[ ${#} -gt 0 ]]; do case ${1} in - --ABI) - abi=1 - ;; --cpython|--py) filter=--py ;; @@ -326,11 +314,7 @@ do_show() { break done - if [[ ${abi} ]]; then - echo "${interpreter#python}" - else - echo "${interpreter}" - fi + echo "${interpreter}" } ### list action ###