From owner-freebsd-python@freebsd.org  Sun Jun 19 16:32:12 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 BE912A7A844
 for <freebsd-python@mailman.ysv.freebsd.org>;
 Sun, 19 Jun 2016 16:32:12 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3])
 by mx1.freebsd.org (Postfix) with ESMTP id A90D12BAE
 for <freebsd-python@freebsd.org>; Sun, 19 Jun 2016 16:32:12 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.ysv.freebsd.org (Postfix)
 id A85EAA7A843; Sun, 19 Jun 2016 16:32:12 +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 A8046A7A842
 for <python@mailman.ysv.freebsd.org>; Sun, 19 Jun 2016 16:32:12 +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 985ED2BAD
 for <python@FreeBSD.org>; Sun, 19 Jun 2016 16:32:12 +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 u5JGWCL4090167
 for <python@FreeBSD.org>; Sun, 19 Jun 2016 16:32:12 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 16:32:12 +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: dbn@FreeBSD.org
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-NOaXN2ZAVY@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 16:32:12 -0000

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

--- Comment #10 from David Naylor <dbn@FreeBSD.org> ---
(In reply to Kubilay Kocak from comment #5)
If I understand this PR correctly (in the context of bug #209204) the issue=
 is
that given the Ports Framework's DEFAULT_VERSIONS the behavior for Python is
NOT consistent with user expectations.=20=20

Namely, users expect DEFAULT_VERSIONS=3Dpython=3Dx to behave the same as
PYTHON_VERSION=3Dx, however this is not the case.=20=20

(As an aside, it does not appear that PYTHON_VERSION is documented outside =
of
Mk/Uses/python.mk.)

To elaborate, I believe the expected behavior is:
 1) if no ports are installed then DEFAULT_VERSIONS behaves the same as
PYTHON_DEFAULT_VERSION (this, it does).
 2) if python is already installed then DEFAULT_VERSIONS behaves the same as
PYTHON_VERSION (this, it does NOT).=20=20

Both patches achieve this goal.

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