Re: getting python version used by another port

2011-11-28 Thread Ryan Schmidt
On Nov 28, 2011, at 10:21, Titus von Boxberg wrote: > I'd like to fix > http://trac.macports.org/ticket/31943 > > Short outline: > Currently there is a port py26-hgsubversion. > However, mercurial has moved to python27. > > The idea given in the ticket is to get the python version used by mercu

Re: getting python version used by another port

2011-11-28 Thread Jeremy Lavergne
> Mercurial supports (according to it's web page) 2.4 through 2.7 > > In the Portfile there is the line > python.default_version 27 > I didn't find that documented and could not figure out what exactly it > means. > Is it either > - PortGroup python now knows that there is a dependency on exactly t

Re: getting python version used by another port

2011-11-28 Thread Titus von Boxberg
Am 28.11.2011 um 17:24 schrieb Jeremy Lavergne: >> Or is it necessary to create py27-hgsubversion and have py26-hgsubversion >> being replaced_by the former? > > If mercurial only supports 2.7 and not 2.6 then I'd switch everything out > with replaced_by. If both work, then two separate ports are

getting python version used by another port

2011-11-28 Thread Titus von Boxberg
Hi, I'd like to fix http://trac.macports.org/ticket/31943 Short outline: Currently there is a port py26-hgsubversion. However, mercurial has moved to python27. The idea given in the ticket is to get the python version used by mercurial instead of hardcoding it into the hgsubversion Portfile. Is