[88860] trunk/dports/python/py-pyx/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Jan 13 12:10:35 PST 2012


On Jan 13, 2012, at 12:52, phw at macports.org wrote:

> Revision: 88860
>          http://trac.macports.org/changeset/88860
> Author:   phw at macports.org
> Date:     2012-01-13 10:52:36 -0800 (Fri, 13 Jan 2012)
> Log Message:
> -----------
> py-pyx: forced default version, when no specific python name is set
> 
> Modified Paths:
> --------------
>    trunk/dports/python/py-pyx/Portfile
> 
> Modified: trunk/dports/python/py-pyx/Portfile
> ===================================================================
> --- trunk/dports/python/py-pyx/Portfile	2012-01-13 16:10:16 UTC (rev 88859)
> +++ trunk/dports/python/py-pyx/Portfile	2012-01-13 18:52:36 UTC (rev 88860)
> @@ -28,6 +28,10 @@
> 
> depends_lib-append	bin:tex:texlive
> 
> +if {${subport} == ${name}} {
> +    set name py${python.default_version}-pyx
> +}

...no. You don't use "set" to change "name", and you don't change name like that. What are you trying to achieve here?




More information about the macports-dev mailing list