On Nov 28, 2011, at 10:21, Titus von Boxberg wrote: > I'd like to fix > http://trac.macports.org/ticket/31943 > > Short outline: > Currently there is a port py26-hgsubversion. > However, mercurial has moved to python27. > > The idea given in the ticket is to get the python version used by mercurial > instead of hardcoding it into the hgsubversion Portfile. > Is this somehow possible? > > Or is it necessary to create py27-hgsubversion and have py26-hgsubversion > being replaced_by the former?
The answer to the question how to determine what version of python is used by the mercurial port is to read the mercurial portfile; it shows that it always uses python27 now, and doesn't have variants for selecting another python version. Corresponding to that fact, there should be only a py27-hgsubversion port, and it should always depend on python27 versions of things. Yes, using "replaced_by py27-hgsubversion" in the py26-hgsubversion port would be a nice touch. _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev