Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2016 18:00:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209204] Changing default Python version unduly difficult
Message-ID:  <bug-209204-13-jci0Jo5x2m@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209204-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209204-13@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=3D209204

--- Comment #5 from Mikhail Teterin <mi@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=3Dpython
+USES=3Dpython: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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209204-13-jci0Jo5x2m>