# -*- 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-astlib
version                 0.13.1
revision                0

categories-append       science
maintainers             {aronnax @lpsinger} openmaintainer
license                 LGPL-2.1
description             python modules for research astronomers
long_description \
    astLib is a set of python modules that provides some tools for research \
    astronomers. It can be used for simple plots, statistics, common \
    calculations, coordinate conversions, and manipulating FITS images with \
    World Coordinate System (WCS) information.

homepage                https://astlib.readthedocs.io

checksums               rmd160  2940f710c40846254d94a372ef151f39c62eadb2 \
                        sha256  4fc5f10396cefe25886c71bf1d6e6d00e730c41b7d122ef56c13d457c094ce45 \
                        size    8317603

python.versions         313

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-astropy \
                        port:py${python.version}-numpy \
                        port:py${python.version}-scipy \
                        port:py${python.version}-matplotlib

    test.run            yes
}
