On Jun 18, 2007, at 6:34 AM, Hanspeter Niederstrasser wrote:
> David R. Morrison wrote:
>> Dear Fink developers,
>>
>> I have added a Distribution field to fink packages which involve
>> python or perl.
>
> But it can be used for any package, not just perl/pythonmods, right?
Right.
>
>> As some of you will recall, we are sharing files between fink's 10.4
>> and 10.5 distributions. Also, fink's 10.5 distribution does not
>> contain python 2.3, perl 5.8.1, or perl 5.8.4.
>>
>> The added lines
>>
>> Distribution: (%type_pkg[python] = 23) 10.4
>
> Can we have a percent expansion, perhaps %{dist} to represent the
> value
> of Distribution: so that it can be used elsewhere in the .info
> (like for
> determining build settings)?
I think it will almost always be easier to have separate .info files
in this situation, rather than trying to parse %{Distribution}. (I'm
willing to be convinced otherwise by some examples.)
Note that we also have a mechanism to make it easy to have separate
into files: you can have a file named foo-10.4.info which includes
"Distribution: 10.4" as well as a file named foo-10.5.info which
includes "Distribution: 10.5".
-- Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel