Building for python3 instead of python2

2014-09-25 Thread Axel Rau
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.

Please advice.

Thanks, Axel
---
PGP-Key:29E99DD6  ☀ +49 151 2300 9283  ☀ computing @ chaos claudius

___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Re: Building for python3 instead of python2

2014-09-25 Thread Boris Samorodov
Hi, Axel!

25.09.2014 18:07, Axel Rau пишет:

> 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.
> 
> Please advice.

From Mk/Uses/python.mk:
-
# Variables, which can be set by a user:
#
# PYTHON_VERSION- The chosen Python interpreter including the
version,
# e.g. python2.7, python3.3, etc. This allows
the user
# to override the currently chosen default
version and
# to install the port for a specific Python version.
# It must not be set by a port.
-

Seems that a line "PYTHON_VERSION=python3.4" at /etc/make.conf
may fit your needs.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Re: Building for python3 instead of python2

2014-09-25 Thread Andrew Berg
On 2014.09.25 09:07, 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.
That's because it's the wrong syntax. You want something like this:
DEFAULT_VERSIONS=php=5.5 mysql=5.6 python=3.4 python2=2.7 python3=3.4
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Building for python3 instead of python2

2014-09-25 Thread Marcus von Appen
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

should enable this. You may want to reinstall lang/python and lang/python3
after setting this, so that /usr/local/bin/python links to python3.4.

Cheers
Marcus


pgpkeabe9Ff2a.pgp
Description: PGP signature


Re: Building for python3 instead of python2

2014-09-25 Thread Marcus von Appen
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

pgpOkk0gBIU4R.pgp
Description: PGP signature


Re: svn commit: r369166 - head/lang/cython

2014-09-25 Thread Antoine Brodin
On Wed, Sep 24, 2014 at 11:06 AM, Bartek Rutkowski  wrote:
> Author: robak
> Date: Wed Sep 24 09:06:41 2014
> New Revision: 369166
> URL: http://svnweb.freebsd.org/changeset/ports/369166
> QAT: https://qat.redports.org/buildarchive/r369166/
>
> Log:
>   lang/cython: update 0.20.2 -> 0.21
>
>   - Convert to USES=python
>
>   PR:   193643
>   Submitted by: Viltaly Magerya 
>   Approved by:  mentors (implicit)

Hi,

It seems that 2 ports are failing to build after this change:
http://package20.nyi.freebsd.org/data/91amd64-default-baseline/369213/logs/errors/py27-kivy-1.8.0_1.log
http://package20.nyi.freebsd.org/data/91amd64-default-baseline/369213/logs/errors/py27-tables-3.0.0_4.log

Cheers,

Antoine
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 193537] [NEW PORT] editors/pycharm: The intelligent Python IDE

2014-09-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193537

--- Comment #1 from mel...@magemana.nl ---
On second review, I see I still have a license detail to work out for the
professional version. If python@ sees anything else, please let me know.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"