PortGroups / New to Port File Development, Sorry!
Ben Smith
ben at wbpsystems.com
Wed Aug 29 06:46:22 PDT 2012
Thanks Bradley, I've now updated both the heapCL and torchCL tickets
in trac with new portfiles that address these issues and use built in
linking instead of my own.
--
Ben Smith
Founder / CSA
WBP SYSTEMS
http://www.wbpsystems.com
On Tue, Aug 28, 2012 at 1:56 PM, Bradley Giesbrecht
<pixilla at macports.org> wrote:
> 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 <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
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/macports-dev
>
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev
>
More information about the macports-dev
mailing list