[107720] trunk/dports/python/py-polygon

Ryan Schmidt ryandesign at macports.org
Thu Jul 4 10:27:52 PDT 2013


On Jul 4, 2013, at 11:58, stromnov at macports.org wrote:

> Revision: 107720
>          https://trac.macports.org/changeset/107720
> Author:   stromnov at macports.org
> Date:     2013-07-04 09:58:09 -0700 (Thu, 04 Jul 2013)
> Log Message:
> -----------
> py-polygon: update to version 3.0.6 (#39624)
> 
> Modified Paths:
> --------------
>    trunk/dports/python/py-polygon/Portfile
>    trunk/dports/python/py-polygon/files/patch-setup.py.diff
> 
> Removed Paths:
> -------------
>    trunk/dports/python/py-polygon/files/patch-setup.py-numpy.diff
> 
> Modified: trunk/dports/python/py-polygon/Portfile
> ===================================================================
> --- trunk/dports/python/py-polygon/Portfile	2013-07-04 16:42:33 UTC (rev 107719)
> +++ trunk/dports/python/py-polygon/Portfile	2013-07-04 16:58:09 UTC (rev 107720)
> @@ -4,13 +4,17 @@
> PortSystem          1.0
> PortGroup           python 1.0
> 
> -name                py-polygon
> -version             2.0.5
> +set realname        polygon
> +
> +name                py-${realname}
> +version             3.0.6
> revision            0
> categories-append   devel math
> +platforms           darwin
> license             LGPL Noncommercial
> -platforms           darwin
> 
> +python.versions     25 26 27 32 33
> +
> maintainers         stromnov openmaintainer
> 
> description         Python bindings for General Polygon Clipping Library
> @@ -22,14 +26,40 @@
>     in C and pure Python.
> 
> homepage            http://www.j-raedler.de/projects/polygon
> -master_sites        https://github.com/jraedler/Polygon2/downloads
> -distname            Polygon-${version}
> +master_sites        http://bitbucket.org/jraedler/polygon3/downloads
> 
> -checksums           rmd160  6593a9ea0c8b25cab29c9cbaaf5d37230364b32d \
> -                    sha256  e0a111559eee27c8aee455cca6a1c5480a593ad5b0c11719a5cf066867d7a465
> +distname            Polygon3-${version}
> 
> -python.versions     25 26 27
> +checksums           rmd160  2bfe1173445e1b41f97a945b9a7df2282879e86f \
> +                    sha256  dea5b66870a9fd3031290f54f72d823c33bb8b8c21bec97c510d04df2608c637
> 
> +subport py25-${realname} {
> +    version             2.0.6
> +    revision            0
> +    master_sites        http://bitbucket.org/jraedler/polygon2/downloads
> +    distname            Polygon2-${version}
> +    checksums           rmd160  ee32123e4856bccc4137a06c21ea2e3135ef053b \
> +                        sha256  3e0e1a5125e892faa5964523de28c0349b573ed102547e12a1affc3fed2cac3b
> +}
> +
> +subport py26-${realname} {
> +    version             2.0.6
> +    revision            0
> +    master_sites        http://bitbucket.org/jraedler/polygon2/downloads
> +    distname            Polygon2-${version}
> +    checksums           rmd160  ee32123e4856bccc4137a06c21ea2e3135ef053b \
> +                        sha256  3e0e1a5125e892faa5964523de28c0349b573ed102547e12a1affc3fed2cac3b
> +}
> +
> +subport py27-${realname} {
> +    version             2.0.6
> +    revision            0
> +    master_sites        http://bitbucket.org/jraedler/polygon2/downloads
> +    distname            Polygon2-${version}
> +    checksums           rmd160  ee32123e4856bccc4137a06c21ea2e3135ef053b \
> +                        sha256  3e0e1a5125e892faa5964523de28c0349b573ed102547e12a1affc3fed2cac3b
> +}
> +

This is repetitive. I'm sure there's a way (e.g. by checking if python version is less than 3) to make a single block for this.




More information about the macports-dev mailing list