[47019] trunk/dports/sysutils/zmq/Portfile

Anders F Björklund afb at macports.org
Fri Feb 20 03:28:27 PST 2009


Ryan Schmidt wrote:

>> If you do pick a specific python version, then you need to patch out
>> "python" with "pythonX.Y" everywhere - which might be very tedious.
>
> Perhaps tedious, but isn't it the only correct solution?
>
> Imagine I want to use port foo which requires python 2.5, and I  
> also want to use port bar which requires python 2.4. If both ports  
> use "python" (or "${prefix}/bin/python") then one or the other will  
> break regardless of what I python_select, not to mention that as a  
> user of foo or bar I don't want to have to python_select anything;  
> I just want it to work out of the box.

Sure, but if you just have something that requires any Python version
then it would work with either version and "python" would be fine...

You would still have to rebuild the port if you python_select another,
but that's a different story. (other systems record python ABI used)

--anders



More information about the macports-dev mailing list