# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-shapely version 1.2.18 python.versions 26 27 python.default_version 27 categories-append devel platforms darwin maintainers snc openmaintainer license BSD homepage http://toblerity.org/shapely/ description Shapely is a Python package for manipulation \ and analysis of 2D geospatial geometries long_description \ Shapely is a Python package for manipulation and \ analysis of 2D geospatial geometries. It is based on \ GEOS (http://geos.refractions.net). Shapely 1.0 is not \ concerned with data formats or coordinate reference \ systems. distname Shapely-${version} master_sites https://pypi.python.org/packages/source/S/Shapely checksums md5 53ad33214886e729b2d0de488eb9f115 \ rmd160 b25120f299c8c11f5613c29b31205d9a3efd4218 \ sha256 b3307b008e1cf96923f0e41a54b39e4ac316cdfa038b26ccbfc47a99cb69573c if {${name} ne ${subport}} { depends_lib-append port:geos depends_build-append port:py${python.version}-cython \ port:py${python.version}-setuptools patchfiles patch-shapely_geos.py.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/shapely/geos.py reinplace s|\\\"cython\\\"|"${python.prefix}/bin/cython"| ${worksrcpath}/setup.py } livecheck.type none } else { livecheck.url http://pypi.python.org/packages/source/S/Shapely/ livecheck.regex Shapely-(\\d+(\\.\\d+)+)${extract.suffix} }