[76478] trunk/dports/devel/redo/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Feb 25 15:42:03 PST 2011


On Feb 25, 2011, at 15:07, Joshua Root wrote:
> On 2011-2-25 16:03 , Ryan Schmidt wrote:
>> Second, the a problem with this strategy in the first place is that you're declaring a dependency on the binary "python", and telling MacPorts to install python_select if it can't find one, and then making the scripts run "/opt/local/bin/python". But /usr/bin/python will satisfy the dependency; MacPorts would never install python_select in response to this dependency declaration.
>> 
>> Third, just installing "python_select" doesn't create /opt/local/bin/python; the user would have to run python_select and select a particular python to make that work. The python selected by python_select is supposed to be for the user's use only; ports installed by MacPorts should not be trying to make use of that. Instead, ports should depend on a specific version of python, and use that python binary.
> 
> There are some other ports like glib2 that use this bogus dependency, so
> they should be fixed too.

I did not think that glib2 required a dependency on python_select or a specific python port, but the dependency on the former was added  in r45190 [1]; see #17530 [2]. Guidance on what should be done here would be appreciated.

[1] https://trac.macports.org/changeset/45190

[2] https://trac.macports.org/ticket/17530





More information about the macports-dev mailing list