On 2012-5-7 00:01 , Daniel Ericsson wrote:
> On 6 maj 2012, at 15:01, Joshua Root wrote:
> 
>> On 2012-5-6 22:30 , Daniel Ericsson wrote:
>>> Hi,
>>>
>>> I want to move mercurial to allow for installation with any version of 
>>> Python, that's supported and the user have chosen as their selected version.
>>
>> Just take the current portfile and add pythonXY variants that set
>> python.default_version to XY.
> 
> Thanks, that's an easy enough step, I'll start there.
> 
> I didn't go into the fact that there are some ports depending on mercurial 
> and I wanted to give those a target to depend on that included the python 
> version. But with 24, 25 being on the way out and most ports defaulting to 27 
> it probably will be an issue that goes away. If Python 3 ever becomes 
> preferable they can all switch to it for python.default_version at the same 
> time.
> 
> $ port list depends_lib:mercurial
> hg-forest                      @20101118       devel/hg-forest
> py-mercurial_keyring           @0.5.0          python/py-mercurial_keyring
> py24-hgsvn                     @0.1.9          python/py-hgsvn
> py25-hgsvn                     @0.1.9          python/py-hgsvn
> py26-hggit                     @0.3.1          python/py26-hggit
> py26-hgsvn                     @0.1.9          python/py-hgsvn
> py27-hggit                     @0.3.1          python/py27-hggit
> py27-hgsubversion              @1.4            python/py27-hgsubversion
> py27-hgsvn                     @0.1.9          python/py-hgsvn
> tortoisehg                     @2.1.2          devel/tortoisehg

Oh, right. Well if that needs to work I guess there's no choice but to
make mercurial replaced_by py-mercurial.

I really don't think it's unreasonable for mercurial and its dependents
to just depend on a single python version though, so long as it's
reasonably current. Although someone always complains when they have to
install n+1 ports instead of their current n...

- Josh
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to