[146978] trunk/dports/python/py-argh/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Mar 22 13:56:55 PDT 2016


> On Mar 22, 2016, at 1:27 PM, petr at macports.org wrote:
> 
> Revision
> 146978
> Author
> petr at 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?



More information about the macports-dev mailing list