Python PortGroups

Joshua Root jmr at macports.org
Mon Feb 2 12:33:22 PST 2009


Rasmus Andersson wrote:
> That would be really nice. Maybe a solution like Debian use? (A single
> package may include programs for several Python versions).
> 
> On Mon, Feb 2, 2009 at 21:09, Jeremy Lavergne
> <jeremy at lavergne.gotdns.org> wrote:
>> In regards to ticket #18325.
>>
>> What should be done when a portfile is submitted three times --- one for
>> each version of python (24, 25, 26), using its respective PortGroup?  The
>> only difference between the versions are four lines:  PortGroup, name,
>> depends_lib, and a post-destroot move.
>>
>> I believe these could all be combined into one portfile, however I do not
>> know how to handle the PortGroup settings then.   Does anyone have any ports
>> they might send my way for ideas?

You can't do this in the general case without a fix for
<http://trac.macports.org/ticket/126>. See
<http://trac.macports.org/ticket/16723>.

- Josh


More information about the macports-dev mailing list