# -*- 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
# $Id: Portfile 82756 2011-08-19 20:47:39Z robitaille@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pyregion
version             1.0.1
maintainers         robitaille

categories-append   science
description         pyregion is a Python module to parse ds9 region files
long_description    pyregion is a Python module to parse ds9 region files

platforms           darwin

homepage            http://leejjoon.github.com/pyregion/
master_sites        http://cloud.github.com/downloads/leejjoon/pyregion/
distname            pyregion-${version}
checksums           md5  3c9fbe2a89311d38cf5ba55f242cac85 \
                    sha1  ce6016c4066fb8b25dc68f1f316908c417a0860c \
                    rmd160  c5de67d27f93ff03f239c639516b8aabf833af82

python.versions     25 26 27
python.default_version 27

if {${subport} != ${name}} {
    depends_run-append  port:py${python.version}-numpy \
                        port:py${python.version}-matplotlib \
                        port:py${python.version}-parsing \
                        port:py${python.version}-pyrex \
                        port:py${python.version}-pywcs
}
