[kde-freebsd] [Bug 209204] Changing default Python version unduly difficult

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 6 18:00:17 UTC 2016


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

--- Comment #5 from Mikhail Teterin <mi at FreeBSD.org> ---
(In reply to David Naylor from comment #3)
> This means your system is "hard-coded" to use python-2.7 as the default
> until you uninstall all ports that depend on lang/python

This is, what I refer to as "unduly difficult". Seems like a gratuitous
requirement. If I can edit the port's Makefile and change

-USES=python
+USES=python:3

to build the package prefixed with p35- instead of p27-, I should be able to
have the same effect by simply setting my preference with DEFAULT_VERSIONS.

(In reply to Iblis Lin from comment #4)
> the python interpreter pointed by `/usr/local/bin/python`
> will be chosen. It overrides the config of `DEFAULT_VERSIONS`.

Thanks, Iblis. Should not be hard to fix, Python-folks?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list