Apparently you have python.default_version too early in your Portfile, before 
"name" is declared.

Put the python vars later in your Portfile, after checksums for example:

checksums           rmd160  5a07d156e48d2345aad899370a45eb4db91189ae \
                    sha256  
c73a2a705acb17c9d8231cf54d280adae66c4432dcd3c461d8754a61efb1c549

python.version      27
python.link_binaries_suffix



On Aug 28, 2012, at 1:18 PM, Ben Smith wrote:

> 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 <[email protected]> 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
> _______________________________________________
> macports-dev mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo/macports-dev

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to