Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15854 (new enhancement)

Opened 5 months ago

Last modified 5 months ago

swig: python variant should depend on python_select

Reported by: ram@… Owned by: kevin@…
Priority: Normal Milestone: Port Enhancements
Component: ports Version: 1.6.0
Keywords: python swig Cc: jwa@…
Port:

Description

The python variant of swig currently depends explicitly on python25, where all it actually needs is a python as the installed product doesn't actually depend on a specific python version. It would therefore make more sense if the dependency for the python variant was python_select instead.

Attachments

python_select-swig.diff (454 bytes) - added by ram@… 5 months ago.
depend on python_select for python variant

Change History

Changed 5 months ago by ram@…

depend on python_select for python variant

Changed 5 months ago by raimue@…

A dependency on python_select does not make sense because it does not depend on any python port. So an installation of swig without a previous python install will fail with this patch.

I would recommend to create variants for +python24 and +python25.

Changed 5 months ago by ram@…

It won't, python_select adds a symlink to the system python as /opt/local/bin/python and that is good enough to install swig and then nothing will break if python_select is used after to point to a different python.

Note: See TracTickets for help on using tickets.