Re: Is missing "python.default_version" bug?

2014-03-22 Thread Ryan Schmidt

On Mar 22, 2014, at 08:38, Mathias Laurin wrote:

> Some ports like py-ipython and py-cython do not set
> `python.default_version`.  The result is that `port install py-ipython`
> pulls py24-ipython.  So (1) should this be reported as a bug (the patch
> is trivial in any case)?

This was intended behavior.

> (2) I could not find how to tell port that
> `py-ipython` should install `py27-ipython`, so I installed
> `py27-ipython` directly.  Is this the recommended way?

Yes, you’re meant to install py27-ipython, if that’s what you want; there’s no 
reason to install py-ipython.

> And (3) is there
> a way to globally tell macports that I want `python.default_version 27`
> by default?

No, that wouldn’t make sense.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Is missing "python.default_version" bug?

2014-03-22 Thread Eric Gallager
This was a leftover of the old behavior from when `py-*` ports were
actually `py24-*` ports in disguise, instead of stub ports like they are
now. jmr seems to have fixed it in
r118101



On Sat, Mar 22, 2014 at 9:38 AM, Mathias Laurin wrote:

> Dear MacPorts users,
>
>
> Some ports like py-ipython and py-cython do not set
> `python.default_version`.  The result is that `port install py-ipython`
> pulls py24-ipython.  So (1) should this be reported as a bug (the patch
> is trivial in any case)?  (2) I could not find how to tell port that
> `py-ipython` should install `py27-ipython`, so I installed
> `py27-ipython` directly.  Is this the recommended way?  And (3) is there
> a way to globally tell macports that I want `python.default_version 27`
> by default?
>
>
> Mathias
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
>
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users