source: trunk/dports/python/py-shapely/Portfile @ 87115

Last change on this file since 87115 was 87115, checked in by snc@…, 9 years ago

py-shapely: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 87115 2011-11-10 20:55:31Z snc@macports.org $
3
4PortSystem      1.0
5PortGroup           python 1.0
6
7name                py-shapely
8version             1.2.13
9python.versions     25 26 27
10python.default_version 27
11categories      python devel
12platforms       darwin
13maintainers     snc openmaintainer
14license             BSD
15description     Shapely is a Python package for manipulation \
16                and analysis of 2D geospatial geometries
17
18long_description \
19                Shapely is a Python package for manipulation and \
20                analysis of 2D geospatial geometries. It is based on \
21                GEOS (http://geos.refractions.net). Shapely 1.0 is not \
22                concerned with data formats or coordinate reference \
23                systems.
24
25homepage        http://trac.gispython.org/projects/PCL/wiki/Shapely
26master_sites    http://pypi.python.org/packages/source/S/Shapely/
27distname        Shapely-${version}
28
29checksums           rmd160  a3f98d936d603253febab3aa1b6b1ea9ee503b55 \
30                    sha256  64310a22d2f1c1d5f85de0f8ac08cf360ce1eac5cd78a84e8e4185cc92128c86
31
32if {$name != $subport} {
33    depends_lib-append      port:geos
34    depends_build-append    port:py${python.version}-distribute
35
36    patchfiles      patch-shapely_geos.py.diff
37
38    post-patch {
39            reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/shapely/geos.py
40    }
41
42    livecheck.type      none
43} else {
44    livecheck.url           http://pypi.python.org/packages/source/S/Shapely/
45    livecheck.regex         Shapely-(\\d+(\\.\\d+)+)${extract.suffix}
46}
Note: See TracBrowser for help on using the repository browser.