Installing an older version of swig-python

Ryan Schmidt ryandesign at macports.org
Mon Apr 22 18:34:49 PDT 2013


On Apr 22, 2013, at 18:06, tony g wrote:

> A tool I use regularly needs an older version of swig than what is currently available via MacPorts. Following this guide: https://trac.macports.org/wiki/howto/InstallingOlderPort I was able to install swig 2.0.8 and it works fine. However, I need the corresponding version of swig-python. I tried to use a similar method but I can't seem to find the portfile for swig-python.

swig-python is a subport of the swig port, ever since:

https://trac.macports.org/changeset/84644

InstallingOlderPort doesn't address subports, because the concept of subports was added to MacPorts after those instructions were written; the instructions should be updated.

To install a subport of the older swig port, `cd` to the directory where you downloaded the swig port's Portfile and files directory, as explained in the wiki page, then instead of running `sudo port install`, run e.g. `sudo port install subport=swig-python`.




More information about the macports-users mailing list