source: trunk/dports/python/py-rtree/Portfile @ 102584

Last change on this file since 102584 was 102584, checked in by larryv@…, 7 years ago

python/*: Use categories-append in all {no,open}maintainer ports that use a Python portgroup.

Overriding a portgroup's default category is not necessarily incorrect, but if there isn't a good reason for it, it sets a bad example.

(See https://lists.macosforge.org/pipermail/macports-dev/2013-February/021899.html and related messages.)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 102584 2013-02-05 04:25:13Z larryv@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-rtree
8version             0.7.0
9revision            0
10categories-append   devel
11license             LGPL
12platforms           darwin
13supported_archs     noarch
14
15maintainers         stromnov openmaintainer
16
17description         R-Tree spatial index for Python GIS
18
19long_description    Rtree is a Python library that uses ctypes and an  \
20                    internally built C API to wrap libspatialindex and \
21                    provide very flexible spatial indexing.
22
23homepage            http://trac.gispython.org/lab/wiki/Rtree
24master_sites        http://pypi.python.org/packages/source/R/Rtree/
25
26distname            Rtree-${version}
27
28checksums           md5     84e75e5a9fdf7bd092435588be9084ac \
29                    sha1    fe953af462fe32ef76703b733b6ce5748491e5a8 \
30                    rmd160  f55bb6acd901a24fae3823da7ebe71f5b8c68dae
31
32python.default_version  27
33python.versions     26 27
34
35if {$subport != $name} {
36    depends_lib-append \
37                    port:spatialindex
38
39    depends_build-append \
40                    port:py${python.version}-distribute
41
42    patchfiles          patch-rtree_core.py.diff
43}
44
45livecheck.type      regex
46livecheck.url       ${master_sites}
47livecheck.regex     "Rtree-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.