# -*- 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 PortGroup github 1.0 github.setup Toblerity Shapely 1.2.17 name py-shapely python.versions 25 26 27 python.default_version 27 categories-append devel platforms darwin maintainers snc openmaintainer license BSD 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. master_sites ${github.homepage}/archive/[join ${github.tag_prefix} ""]${github.version} checksums rmd160 97da472744bd5d150eda1445332f39a3bc614f2f \ sha256 a0851e964d7265829708dad4530bf17f579c1f9207603c3e1d5c9a1ac9022aab if {$name != $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} }