Help to develop some python package ports

Joshua Root jmr at macports.org
Fri Aug 2 20:59:39 PDT 2013


On 2013-8-3 05:47 , Ryan Schmidt wrote:
> 
> On Aug 2, 2013, at 13:29, Sterling Smith wrote:
> 
>> I'm new to the list.  Please gently correct any missteps I make.
> 
> Welcome!
> 
>> For reasons to remain unnamed, I need to install several python packages for which there are not yet ports.  While I would usually do a `pip install <package`  on linux (and this possibility exists with the py-pip port), I would like to develop the ports so that these ports can be dependencies of a later port (also not yet developed).

I know you said you weren't going to, but if you do use pip installed
with MacPorts, I strongly suggest you do so inside a virtualenv.

>> I still need to go off and read the documentation for how to develop ports, but I wondered if someone could point me to an already developed portfile for a python package which basically emulates `pip install` so that I could learn by example.
> 
> I am not familiar with pip and I don't think we have documentation about how to make python ports.

It's reference, not a tutorial, but the python PortGroup is reasonably
well documented in the Guide:
<http://guide.macports.org/chunked/reference.portgroup.html#reference.portgroup.python>

- Josh


More information about the macports-dev mailing list