[68182] trunk/dports/python
Ryan Schmidt
ryandesign at macports.org
Fri May 28 11:36:04 PDT 2010
On May 28, 2010, at 13:31, phw at macports.org wrote:
> Revision: 68182
> http://trac.macports.org/changeset/68182
> Author: phw at macports.org
> Date: 2010-05-28 11:31:21 -0700 (Fri, 28 May 2010)
> Log Message:
> -----------
> Renamed Port and configured it for different python variants
Hmmmmm
> PortSystem 1.0
> -PortGroup python27 1.0
> +PortGroup python26 1.0
Should this PortGroup line still be here? Doesn't it conflict with the PortGroup statements you have below in the python2x variants?
> +default_variants python26
The correct syntax is "default_variants +python26"
> +variant python27 conflicts python24 python25 python26 description {Use ${name} with python27} {
> + PortGroup python27 1.0
> +}
> +
> +variant python26 conflicts python24 python25 python27 description {Use ${name} with python26 (default)} {
We don't write "(default)" in variant descriptions manually anymore; we let MacPorts automatically indicate default variants (it prints a "(+)" in front of default variant names in the output of "port info" and "port variants").
> + PortGroup python26 1.0
> +}
> +
> +variant python25 conflicts python24 python26 python27 description {Use ${name} with python25} {
> + PortGroup python25 1.0
> +}
> +
> +variant python24 conflicts python25 python26 python27 description {Use ${name} with python24} {
> + PortGroup python24 1.0
> +}
More information about the macports-dev
mailing list