Help to develop some python package ports
Joshua Root
jmr at macports.org
Fri Aug 2 20:45:13 PDT 2013
On 2013-8-3 08:57 , Ryan Schmidt wrote:
>
> 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
Alternatively, you can index it locally as per
<http://guide.macports.org/chunked/development.local-repositories.html>.
- Josh
More information about the macports-dev
mailing list