From owner-freebsd-python@FreeBSD.ORG Thu May 15 06:46:49 2014 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9139EBC8; Thu, 15 May 2014 06:46:49 +0000 (UTC) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E290927DB; Thu, 15 May 2014 06:46:48 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id p9so436105lbv.7 for ; Wed, 14 May 2014 23:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ovxX1FRYCaNY5QQJaF7H4fGnvCU1nV1fiQzC4C0XPLc=; b=xBsSUdmOwg79JQMG6RfeUss6mU3MARdz0cRJ4BFJrTBu8rkSr/SRIy4UybSogCgB2j IjlB5RajNRwhIBkzamgmBzSMttOyCxpZVjm6IYCBzMjarB8W5bHwHNdpZ8Ptt5jlq8DQ FVEw0iEMuSCsN/xCh9jczNdqxybCcSwBOtYi1tImtS3eMj/3u82Pl7mCu/cw7fJhWNst udIipt38U1FvSESLUTBV5smKXqobmLaZJnE2uyiyjcMLhwbvYBETQU1Jlz7FGGM0pm2G h0a4QLLLHcFhbg26P+AqnqGouQnf7wZjVzXxJs2yU9X+3K7C8WUQBVM3cKpIu+hwO3kV LBiw== X-Received: by 10.152.6.131 with SMTP id b3mr6237003laa.9.1400136406770; Wed, 14 May 2014 23:46:46 -0700 (PDT) Received: from [10.0.1.4] ([176.193.181.83]) by mx.google.com with ESMTPSA id q4sm4357955lbl.14.2014.05.14.23.46.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 23:46:45 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Wrong python_CMD in shebangfix? From: Dmitry Sivachenko In-Reply-To: <20140515053140.GA920@medusa.sysfault.org> Date: Thu, 15 May 2014 10:46:42 +0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <0AE311F0-87F8-4376-8E24-742C6C54F564@gmail.com> <20140515053140.GA920@medusa.sysfault.org> To: Marcus von Appen X-Mailer: Apple Mail (2.1874) Cc: python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2014 06:46:49 -0000 On 15 =D0=BC=D0=B0=D1=8F 2014 =D0=B3., at 9:31, Marcus von Appen = wrote: > On, Wed May 14, 2014, Dmitry Sivachenko wrote: >=20 >> Hello! >>=20 >> Imagine that I have python-2 as default version, so that = /usr/local/bin/python points to python2.7 >> And I have a port which USE_PYTHON=3D3 and USES=3Dshebangfix. >>=20 >> It will "fix" python path as "/usr/local/bin/python" which is wrong = (it should point to python3). >>=20 >=20 > The path is not *wrong*. lang/python installs /usr/local/bin/python. >=20 I know, but in my example it would point to python2.7, rather than = expected python3.3 which is wrong.