# -*- 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.5.17 python.versions 27 34 35 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 pypi:S/Shapely checksums md5 afb3feef824bde120cd0eb63caf863f4 \ rmd160 31a429383612493518d87935cfa6f90024606eba \ sha256 31fee47d9208078a19f40a451c0c99c085d16343e66cbd0dd5af0af6f48cfc3a if {${name} ne ${subport}} { depends_lib-append port:geos depends_build-append port:py${python.version}-cython \ port:py${python.version}-setuptools 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.type regex livecheck.url https://pypi.python.org/pypi/Shapely/json livecheck.regex {Shapely-(\d+(?:\.\d+)*)\.[tz]} }