Help to develop some python package ports
Ryan Schmidt
ryandesign at macports.org
Fri Aug 2 15:57:44 PDT 2013
On Aug 2, 2013, at 17:41, Sterling Smith wrote:
> When I developed a lone Portfile, port install seemed to try to go off and look for the default python version of the port. For instance, I just submitted https://trac.macports.org/ticket/39968 for a py-fortranformat port, but when I tried `port install` in the directory with the Portfile, it went off to look for py27-fortranformat, because I had specified py-fortranformat as the name in the Portfile. By changing the name in the Portfile to py27-fortranformat, I was able to install into MacPorts.
You shouldn't need to change the port name. To install a subport of a port that's not yet in the index, specify the subport name on the command line like this:
(in the py-fortranformat directory:)
sudo port install subport=py27-fortranformat
More information about the macports-dev
mailing list