From owner-freebsd-python@freebsd.org  Sun Jun 19 08:33:37 2016
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEE55A7945A
 for <freebsd-python@mailman.ysv.freebsd.org>;
 Sun, 19 Jun 2016 08:33:37 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:5])
 by mx1.freebsd.org (Postfix) with ESMTP id D8F871226
 for <freebsd-python@freebsd.org>; Sun, 19 Jun 2016 08:33:37 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.ysv.freebsd.org (Postfix)
 id D867DA79459; Sun, 19 Jun 2016 08:33:37 +0000 (UTC)
Delivered-To: python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id D813FA79458
 for <python@mailman.ysv.freebsd.org>; Sun, 19 Jun 2016 08:33:37 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C851D1224
 for <python@FreeBSD.org>; Sun, 19 Jun 2016 08:33:37 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5J8Xbbc052350
 for <python@FreeBSD.org>; Sun, 19 Jun 2016 08:33:37 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: python@FreeBSD.org
Subject: [Bug 209551] Python bits ignore DEFAULT_VERSIONS
Date: Sun, 19 Jun 2016 08:33:37 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Ports Framework
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: iblis@hs.ntnu.edu.tw
X-Bugzilla-Status: Open
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: python@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-209551-21822-J7O07GGe1T@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209551-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-209551-21822@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, 
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Jun 2016 08:33:38 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209551

--- Comment #6 from Iblis Lin <iblis@hs.ntnu.edu.tw> ---
(In reply to Kubilay Kocak from comment #5)

> - The port that is affected

Hmm... every python ports will be affected if the symlink
`/usr/local/bin/python` (not `/usr/local/pythonX`) exists.
This line
(https://svnweb.freebsd.org/ports/head/Mk/Uses/python.mk?view=3Dmarkup&path=
rev=3D414168#l276)
make this behavior.

So if user install `lang/python` with python27 first, THEN, the DEFAULT_VER=
SION
become useless.

e.g
    $ cd /to/py-sqlite3  # choose any py2/3 compatable ports
    $ make -V PYTHON_VERSION DEFAULT_VERSIONS=3Dpython=3D3.5
    python3.5  # expected result
    $ pkg install lang/python
    ...
    $ make -V PYTHON_VERSION DEFAULT_VERSIONS=3Dpython=3D3.5
    python2.7  # OMG

So i think the point is not the python package required...

--=20
You are receiving this mail because:
You are the assignee for the bug.=