[81499] trunk/dports/python
Ryan Schmidt
ryandesign at macports.org
Mon Aug 1 00:00:35 PDT 2011
On Aug 1, 2011, at 01:57, Joshua Root wrote:
> On 2011-8-1 16:49 , Ryan Schmidt wrote:
>>
>> On Aug 1, 2011, at 01:45, Joshua Root wrote:
>>
>>> On 2011-8-1 16:40 , Ryan Schmidt wrote:
>>>> When would ${name} and ${subport} ever be equal?
>>>
>>> In this particular case, when the user runs 'port <action> py-bitstring'.
>>
>> But py-bitstring isn't a valid port, is it? I thought this port only provided py26-bitstring and up:
>>
>>>>> python.versions 26 27 31 32
>>
>> Even if there were a Python 2.4 py-bitstring subport, why would one use "${name} != ${subport}" as a criteria to decide whether to install documentation or not?
>
> As 'port info' would tell you, py-bitstring exists and depends on
> py27-bitstring, as per python.default_version. This is done by the
> portgroup.
Ahhhh...... I see. Sorry, this computer is not on MacPorts 2.0.0 yet. I've been putting off upgrading it until later this week.
>> I suppose I should ask first, what impact has this unification of the python portgroups and ports had on the Python 2.4 ports? Are they still py-whatever or are they now py24-whatever?
>
> They're transitioning from py-whatever to py24-whatever. The unified
> portgroup defaults to 24 for python.default_version, so existing
> dependencies should continue to work. Modules that don't support 2.4 (or
> where there wasn't a 2.4 version previously) can use a newer default.
I don't think I quite understand the default_version thing yet, but hopefully it'll become clear when I start playing with these ports later.
More information about the macports-dev
mailing list