Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2016 08:33:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 209551] Python bits ignore DEFAULT_VERSIONS
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/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209551-21822-J7O07GGe1T>