# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 92977 2012-05-12 15:10:09Z ecronin@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-scikits-image
version             0.5
revision            0
categories-append   science
license             BSD
platforms           darwin

maintainers         stromnov openmaintainer

description         Image processing algorithms for SciPy.

long_description    Image processing algorithms for SciPy, including IO, \
                    morphology, filtering, warping, color manipulation, \
                    object detection, etc.

homepage            http://scikits-image.org/
master_sites        http://pypi.python.org/packages/source/s/scikits-image/

distname            scikits-image-${version}

checksums           rmd160  876712c2a1832f28d149e2ad5282b911c0ab4013 \
                    sha256  caf0e8557fb0f4b71b8a70c44f5bd58867deb4205ff45e268dff18e29ad49f03

python.default_version  27
python.versions     26 27

if {$subport != $name} {
    depends_lib-append  port:py${python.version}-distribute \
                        port:py${python.version}-numpy \
                        port:py${python.version}-scipy
}

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "scikits-image-(\\d+(?:\\.\\d+)*)${extract.suffix}"
