How to adapt ports to different versions of Python

Uldis Bojars captsolo at gmail.com
Fri Feb 20 04:45:26 PST 2009


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/ ]


More information about the macports-dev mailing list