# -*- 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-photutils
version             2.3.0
revision            0

categories-append   science
license             BSD
maintainers         nomaintainer

description         An Astropy package for source detection and photometry
long_description    Photutils is an AstroPy affiliated package to provide tools for \
                    detecting and performing photometry of astronomical sources.

homepage            https://github.com/astropy/photutils

checksums           rmd160  db2e6f2d78bb8035d0f956805e0e678e9f369bbc \
                    sha256  947527f77794469f960d51e6fd7add2fd531b16f2369d4541b1441eb81b3d9f7 \
                    size    762758

python.versions     313

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

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