# -*- 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

name                py-kapteyn
version             2.3.1
maintainers         nomaintainer

categories-append   science
description         The Kapteyn Package
long_description    The Kapteyn Package is a collection of Python modules and \
                    applications developed by the computer group of the \
                    Kapteyn Astronomical Institute, University of Groningen, \
                    The Netherlands. The purpose of the package is to provide \
                    tools for the development of astronomical applications \
                    with Python.

platforms           darwin
license             BSD

homepage            http://www.astro.rug.nl/software/kapteyn/
master_sites        pypi:k/${python.rootname}/
distname            ${python.rootname}-${version}
checksums           md5     ddabe71a8c9ce710d7f8375049b22be8 \
                    sha1    558923cbb7b1a0bad4782345bd293281e9cbb5e5 \
                    rmd160  b0bf5634714e2a2a25cd98c67d6ad02cd42b344f

python.versions     27

if {${name} ne ${subport}} {
    depends_run-append  port:py${python.version}-numpy \
                        path:${python.pkgd}/pyfits:py${python.version}-astropy \
                        port:py${python.version}-matplotlib
}