How to adapt ports to different versions of Python

Frank Schima macsforever2000 at macports.org
Fri Feb 20 09:01:15 PST 2009


On Feb 20, 2009, at 6:36 AM, Rasmus Andersson wrote:

> I have the same question for my upcoming py-smisk package – should I
> go with one package (py-smisk) having three variants (python24,
> python25, python26) or should I go with three different packages
> (py24-smisk, py25-smisk, py26-smisk)?

Without knowing anything about smisk, I would say you need to make  
three different ports. If the port was called "py-smisk", then it  
should only be for python 2.4 by convention.

>
> Personally I would prefer to have a way of installing one package but
> getting support for several python versions. Dunno if variants would
> be the best way though (as the package would need to be part of one of
> the python groups).

Cheers!
Frank


More information about the macports-dev mailing list