swiginac
Joshua Root
jmr at macports.org
Fri Nov 13 21:03:10 PST 2015
On 2015-11-14 15:25 , Mark Brethen wrote:
> I’d like to write a port file for swiginac. The install notes indicate it can be installed using python distutils or make. The python setup file was written for version 2.4, I’d like to use it with 2.7. I did not find a configure script and the Makefile does not use the CC, etc. variables, so will have to be patched.
>
> This is my first attempt at writing a portfile for python. In addition to the Python wiki, are there other guides I should read before I begin?
An old setup.py has a fairly good chance of still working fine with
python 2.7. You could try generating an initial Portfile with pypi2port;
the result will not be perfect but it saves some work.
The python portgroup documentation is at
<http://guide.macports.org/#reference.portgroup.python>.
- Josh
More information about the macports-dev
mailing list