Help to develop some python package ports

Sterling Smith smithsp at fusion.gat.com
Sat Aug 3 00:27:18 PDT 2013


I finally read chapter 4 of the guide, and it's all much clearer now.

Thanks for your suggestions.

-Sterling

On Aug 2, 2013, at 8:45PM, Joshua Root wrote:

> 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