# -*- 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
maintainers snc openmaintainer
homepage http://toblerity.org/shapely/
description Shapely is a Python package for manipulation \
and analysis of 2D geospatial geometries
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 \
distname Shapely-${version}
master_sites https://pypi.python.org/packages/source/S/Shapely
checksums rmd160 09415ae53fa16edfa9895890120c1ce7ad23789b \
sha256 dcb88e52146f29344fe7d05cbc1a50a20ce7d65659ea610b99c944ec622971b7
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_libgeos.py.diff
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/shapely/libgeos.py
reinplace s|\\\"cython\\\"|"${python.prefix}/bin/cython"| ${worksrcpath}/setup.py
livecheck.url https://pypi.python.org/pypi/Shapely/json
livecheck.regex {Shapely-(\d+(?:\.\d+)*)\.[tz]}