How to adapt ports to different versions of Python
Rasmus Andersson
rasmus at macports.org
Fri Feb 20 05:36:42 PST 2009
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)?
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).
On Fri, Feb 20, 2009 at 13:45, Uldis Bojars <captsolo at gmail.com> wrote:
> Hi,
>
> I'd like to update py-rdflib, which is a pure-Python RDF library, to a
> new version.
> But currently it is set to use python24 via "PortGroup python24 1.0"
> which is not useful for me.
>
> What one is the right way for creating a port that works w python25:
>
> a) create a new port py25-rdflib and make it use "PortGroup python25" ?
>
> b) remove PortGroup from py-rdflib and add variants "python24" and
> "python25" to it ?
>
> Thanks,
> Uldis
>
> [ http://captsolo.net/info/ ]
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>
--
Rasmus Andersson
More information about the macports-dev
mailing list