You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
49 lines
1.8 KiB
Tcl
49 lines
1.8 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
PortGroup github 1.0
|
|
|
|
name py-shapely
|
|
github.setup Toblerity Shapely 1.7.1
|
|
python.versions 27 35 36 37 38 39
|
|
categories-append devel
|
|
platforms darwin
|
|
maintainers {snc @nerdling} 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 8ce879de5e8bac6f5f1d4c5f12145474 \
|
|
rmd160 e5eec16643cad7c13ba05a0847c3e5b40cc6d6fc \
|
|
sha256 66c3e0c2ff6ab2ffa72338b1628cba3e8173f367d0aa04724c5e1d399563d930 \
|
|
size 293386
|
|
|
|
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]}
|
|
}
|