Installing an older version of swig-python

tony g tonyg3622 at yahoo.com
Mon Apr 22 19:36:02 PDT 2013


Awesome. Worked perfectly. Thanks.


________________________________
 From: Ryan Schmidt <ryandesign at macports.org>
To: tony g <tonyg3622 at yahoo.com> 
Cc: "macports-users at lists.macosforge.org" <macports-users at lists.macosforge.org> 
Sent: Monday, April 22, 2013 9:34 PM
Subject: Re: Installing an older version of swig-python
 


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`.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130422/f87b90e0/attachment.html>


More information about the macports-users mailing list