> On Mar 22, 2016, at 1:27 PM, p...@macports.org wrote:
> 
> Revision
> 146978
> Author
> p...@macports.org
> Date
> 2016-03-22 11:27:29 -0700 (Tue, 22 Mar 2016)
> Log Message
> 
> py-argh: fix livecheck, use pypi pattern
> Modified Paths
> 
>       • trunk/dports/python/py-argh/Portfile
> Diff
> 
> Modified: trunk/dports/python/py-argh/Portfile (146977 => 146978)
> 
> --- trunk/dports/python/py-argh/Portfile      2016-03-22 18:27:02 UTC (rev 
> 146977)
> +++ trunk/dports/python/py-argh/Portfile      2016-03-22 18:27:29 UTC (rev 
> 146978)
> @@ -4,8 +4,10 @@
>  PortSystem          1.0
>  PortGroup           python 1.0
>  
> -name                py-argh
> -set real_name       argh
> +set _name           argh
> +set _n              [string index ${_name} 0]
> +
> +name                py-${_name}

Doesn't the python 1.0 portgroup already come with variables you can use for 
this now?

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to