# -*- 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.9 python.versions 27 33 34 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 rmd160 f7bf0caa535fc4db86a4696c3c6ec1282718d749 \ sha256 51b0eb6434b63226fed742c2fe9730102f7a34a5206b6581853f991768b5cc2e 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.type regex livecheck.url https://pypi.python.org/pypi/Shapely/json livecheck.regex {Shapely-(\d+(?:\.\d+)*)\.[tz]} }