[115491] trunk/dports/python/py-pyregion/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Jan 3 07:09:54 PST 2014


On Jan 3, 2014, at 06:50, robitaille at macports.org wrote:

> Revision
> 115491
> Author
> robitaille at macports.org
> Date
> 2014-01-03 04:50:05 -0800 (Fri, 03 Jan 2014)
> Log Message
> 
> py-pyregion: update to 1.1.2
> Modified Paths
> 
> 	• trunk/dports/python/py-pyregion/Portfile
> Diff
> 
> Modified: trunk/dports/python/py-pyregion/Portfile (115490 => 115491)
> 
> --- trunk/dports/python/py-pyregion/Portfile	2014-01-03 12:44:17 UTC (rev 115490)
> +++ trunk/dports/python/py-pyregion/Portfile	2014-01-03 12:50:05 UTC (rev 115491)
> 
> @@ -5,9 +5,8 @@
> 
>  PortGroup           python 1.0
> 
>  
> 
>  name                py-pyregion
> 
> -version             1.0.1
> -revision            1
> -maintainers         robitaille
> 
> +version             1.1.2
> +maintainers         robitaille openmaintainer
> 
>  
> 
>  categories-append   science
> 
>  description         pyregion is a Python module to parse ds9 region files
> 
> @@ -16,18 +15,20 @@
> 
>  platforms           darwin
> 
>  
> 
>  homepage            http://leejjoon.github.com/pyregion/
> -master_sites        http://cloud.github.com/downloads/leejjoon/pyregion/
> +master_sites        https://pypi.python.org/packages/source/p/pyregion/
>  distname            pyregion-${version}
> 
> -checksums           md5  3c9fbe2a89311d38cf5ba55f242cac85 \
> -                    sha1  ce6016c4066fb8b25dc68f1f316908c417a0860c \
> -                    rmd160  c5de67d27f93ff03f239c639516b8aabf833af82
> 
> +checksums           md5  61dde9206ab4ba731279a4737cc5a5a5 \
> +                    sha1  4f08281b90e7b131cab5db7144c8e572288d2794 \
> +                    rmd160  b1d973b8bd9fa5ed03d40f0a160cf41a61e72b2c
> 
>  
> 
> -python.versions     26 27
> 
> +python.versions     26 27 31 32
> +python.default_version 27
> 
>  
> 
> -if {${name} ne ${subport}} {
> -    depends_run-append  port:py${python.version}-numpy \
> -                        port:py${python.version}-matplotlib \
> 
> +if {${subport} != ${name}} {

The correct way to compare strings is with the n operator, not the != operator which is for numbers, so this change (r114324) should not have been reverted; you should change it back.





More information about the macports-dev mailing list