Building for python3 instead of python2

Marcus von Appen mva at FreeBSD.org
Thu Sep 25 16:14:55 UTC 2014


On, Thu Sep 25, 2014, Marcus von Appen wrote:

> On, Thu Sep 25, 2014, Axel Rau wrote:
>
> > Hi all,
> >
> > I have a port with
> > 	USES=	 python
> > but it insists installing python2.7 instead of installed python3.4
> >
> > I played with
> > 	DEFAULT_VERSIONS= python3:3.4
> > without luck.
>
> You are telling the system that the python_3_ interpreter shall use 3.4, but
> not that the general python interpreter shall use it, thus it sticks to 2.7.
>
>   DEFAULT_VERSIONS= python:3.4 python3:3.4

That is meant to be

  DEFAULT_VERSIONS= python=3.4 python3=3.4

Cheers
Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-python/attachments/20140925/c742c2a3/attachment.sig>


More information about the freebsd-python mailing list