# -*- 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             3.0
maintainers         nomaintainer

categories-append   science
description         The Kapteyn Package
long_description    {*}${description} 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.
license             BSD
homepage            https://www.astro.rug.nl/software/kapteyn/
master_sites        ${homepage}

python.versions     310

checksums           rmd160  7edf830bca9660d4fa2406bf3776c741aa8f9983 \
                    sha256  3a70167622931e33f6965aa5c1065eb6d7b11cf9e807445097b0251c7e3eddc4 \
                    size    3483067

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-cython \
                    port:py${python.version}-pythran

    depends_lib-append \
                    port:py${python.version}-astropy \
                    port:py${python.version}-numpy \
                    port:wcslib
}
