[101807] trunk/dports/databases/ccm/Portfile

Blair Zajac blair at orcaware.com
Sun Jan 20 10:16:50 PST 2013


On 01/19/2013 09:09 PM, Joshua Root wrote:
>> Revision: 101807
>>            https://trac.macports.org/changeset/101807
>> Author:   blair at macports.org
>> Date:     2013-01-19 16:45:46 -0800 (Sat, 19 Jan 2013)
>> Log Message:
>> -----------
>> ccm: switch from python to python27 group as the dependency for the subport wasn't being picked up.
>>
>> Modified Paths:
>> --------------
>>      trunk/dports/databases/ccm/Portfile
>>
>> Modified: trunk/dports/databases/ccm/Portfile
>> ===================================================================
>> --- trunk/dports/databases/ccm/Portfile	2013-01-20 00:32:54 UTC (rev 101806)
>> +++ trunk/dports/databases/ccm/Portfile	2013-01-20 00:45:46 UTC (rev 101807)
>> @@ -2,12 +2,13 @@
>>   # $Id$
>>
>>   PortSystem      1.0
>> -PortGroup       python 1.0
>> +PortGroup       python27 1.0
>>   PortGroup       github 1.0
>>
>>   name            ccm
>>   github.setup    pcmanus ccm d8277800f244fa927c7b105766ac870729ba646e
>>   version         0.0.1
>> +revision        1
>>   categories      databases
>>
>>   maintainers     blair
>> @@ -28,10 +29,6 @@
>>   checksums       rmd160  4900e395a1770040e314e181870fafc66622a537 \
>>                   sha256  9d56054fd6a3931b33af27d4ae3a7de1c48608a18303ca7ca36c5c3751c97493
>>
>> -python.versions 27
>> +depends_lib     port:py27-yaml
>>
>> -if {$subport != $name} {
>> -    depends_lib port:py${python.version}-yaml
>> -}
>
>  From the PortGroup:
>
> # for apps (i.e. not named py-foo), no subports will be defined
> # only the python.default_version will be used
> # you can change that in variants if you want

Thanks.  Is there any preference to using python-1.0 or python27-1.0 then?

Blair




More information about the macports-dev mailing list