python_select dependents

Emmanuel Hainry milosh at macports.org
Mon Jul 5 07:09:28 PDT 2010


Citando Rainer Müller :
> 
> On 07/05/2010 11:46 AM, Emmanuel Hainry wrote:
> > Which means? When you install python_select and no python, the symlink
> > goes to the system's python.
> 
> Which would be against our policy that we are using our own libs and do
> not rely on the system.
> 
> For example, are you sure your script still works with python 3.x if the
> user selected this?

I'm sure that it does not work! http://trac.macports.org/ticket/19267

> >> Please change this dependency to one of the pythonXY ports and use
> >> configure flags or add a patch to use ${prefix}/bin/pythonX.Y instead.
> > 
> > The only sensible dependency scheme would be bin:python:python24. How
> > can I do that?
> 
> Another possibility would be to add +pythonXY variants for each
> available python version.

I know how to write those 4 variants. But I don't know how to write the
tcl code that will try to not install a new python if one is already
there.

Emmanuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20100705/027ad4b1/attachment.bin>


More information about the macports-dev mailing list