PortGroups / New to Port File Development, Sorry!

Ben Smith ben at wbpsystems.com
Tue Aug 28 13:18:16 PDT 2012


When I try to set the default value I get:

Failed to parse file office/torchCL/Portfile: can't set
"python.default_version": can't read "name": no such variable

--
Ben Smith
Founder / CSA
WBP SYSTEMS
http://www.wbpsystems.com


On Tue, Aug 28, 2012 at 11:59 AM, Joshua Root <jmr at macports.org> wrote:
> On 2012-8-29 04:49 , Joshua Root wrote:
>> On 2012-8-29 03:05 , Ben Smith wrote:
>>> But without doing the link myself, it doesn't appear to create the
>>> link.  I'm assuming that this is a common issue because the manual
>>> method I want to use is exactly what GoogleCL is using.
>>
>> python.link_binaries_suffix had only existed for a couple of months when
>> googlecl was created, so probably the author was simply unaware of the
>> feature. The linking code provided by the portgroup works fine for many,
>> many ports.
>
> You do actually need to set python.default_version. But with that change
> your portfile creates the link fine here.
>
> - Josh


More information about the macports-dev mailing list