On 2012-07-31, at 3:02 PM, Lawrence Velázquez <[email protected]> wrote:
> On Jul 31, 2012, at 2:56 p.m., Lawrence Velázquez wrote:
>
>> You should be able to explicitly specify subport blocks for each Python
>> version (e.g., py27-html5lib, py31-html5lib, etc.) and then define separate
>> patchfiles in each block. I haven't done this myself, though, so there may
>> be a better way to do it.
>
> You might be able do something with python.version (e.g., "27") or
> python.branch ("2.7"). For instance, if you name your patchfiles
> "whatever-2.7.patch", "whatever-3.1.patch", etc., you could specify the
> correct one in the portfile as "whatever-${python.branch}.patch".
Thanks! Will try it soon.
-
Yury
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev