Depending on generic python when using the python portgroup

Joshua Root jmr at macports.org
Thu Dec 15 20:34:12 PST 2011


On 2011-12-16 13:43 , Clemens Lang wrote:
> Hi,
> 
> is it possible to have variants for the different versions of python
> when using the python portgroup? I'm currently looking at the dblatex
> port, which uses the python26 port group, but I don't want to have yet
> another python version installed on my system and would like to be able
> to use it with python27.
> 
> What's the best practice to do this? Is there a way to set PortGroup in
> variants? Should I just switch to python27 completely?

Use the unified python PortGroup and set python.default_version in the
variants.

- Josh


More information about the macports-dev mailing list