From owner-freebsd-python@FreeBSD.ORG Sat May 17 09:33:53 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 3D5B2F4; Sat, 17 May 2014 09:33:53 +0000 (UTC) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (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 8CC432061; Sat, 17 May 2014 09:33:52 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id s7so2634369lbd.22 for ; Sat, 17 May 2014 02:33:50 -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=jgwnXLdyxX6a4XVVdOh7pv8JCL4oacRhLWjrKcfxAdk=; b=YRu4kN7LSUee8hTipL1PEguJk+FOpwFf/WKIf9DsIjMfqZZjFxSNRU0RSIFy7K4TMP UPSCCtJlZ1R6D6bok/PY3zVldvAa/a/WslTxdmc+SC69HBcZYp9YPe9MP6uew2Elvcan 2UUng5ivL7BC5y8findr29Sn8dcat76dGKX4l7Vw28ag/ckkwUfbH9yu1QkeynsivBIv ozn/lfg9AfnfAIfrK4EPpeYTrybGjjY378fG7PoeOq8N/xdNDzbg7O4Zg1r1miH0DjiT fhKLkfHxbaA59m9B8A2IXS7ikh2mBP3QV+kGSFYcd13/V+GGFsaXB9smJ8RHisHud+Tx yWzg== X-Received: by 10.112.155.230 with SMTP id vz6mr367641lbb.73.1400319230028; Sat, 17 May 2014 02:33:50 -0700 (PDT) Received: from [10.0.1.4] ([176.193.46.168]) by mx.google.com with ESMTPSA id k1sm10986745lbb.9.2014.05.17.02.33.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 17 May 2014 02:33:48 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: Wrong python_CMD in shebangfix? From: Dmitry Sivachenko In-Reply-To: Date: Sat, 17 May 2014 13:33:44 +0400 Content-Transfer-Encoding: quoted-printable Message-Id: <9A0AFE0A-8150-41F9-962F-274D2C7A5694@gmail.com> References: <0AE311F0-87F8-4376-8E24-742C6C54F564@gmail.com> <20140515053140.GA920@medusa.sysfault.org> To: Marcus von Appen X-Mailer: Apple Mail (2.1878.2) 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: Sat, 17 May 2014 09:33:53 -0000 Well, so what is the consensus on this? May I commit the proposed patch? On 15 =D0=BC=D0=B0=D1=8F 2014 =D0=B3., at 10:46, Dmitry Sivachenko = wrote: >=20 > On 15 =D0=BC=D0=B0=D1=8F 2014 =D0=B3., at 9:31, Marcus von Appen = wrote: >=20 >> 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 >=20 > I know, but in my example it would point to python2.7, rather than = expected python3.3 which is wrong. >=20 >=20