[Bug 209551] Python bits ignore DEFAULT_VERSIONS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 19 16:32:12 UTC 2016


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

--- Comment #10 from David Naylor <dbn at 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.  

Namely, users expect DEFAULT_VERSIONS=python=x to behave the same as
PYTHON_VERSION=x, however this is not the case.  

(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).  

Both patches achieve this goal.

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


More information about the freebsd-python mailing list