Opened 16 years ago

Closed 16 years ago

Last modified 8 years ago

#15854 closed enhancement (fixed)

swig: python variant should depend on python_select

Reported by: skymoo (Adam Mercer) Owned by: kevin@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: python swig Cc: jyrkiwahlstedt
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 (1)

python_select-swig.diff (454 bytes) - added by skymoo (Adam Mercer) 16 years ago.
depend on python_select for python variant

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by skymoo (Adam Mercer)

Attachment: python_select-swig.diff added

depend on python_select for python variant

comment:1 Changed 16 years ago by raimue (Rainer Müller)

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.

comment:2 Changed 16 years ago by skymoo (Adam Mercer)

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.

comment:3 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

Fixed in r43198 (maintainer timeout).

comment:4 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jwa@… added; jwa@… removed
Note: See TracTickets for help on using tickets.