# -*- 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-pyavm
version             0.9.8
revision            0

categories-append   science
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         Pure-Python AVM library
long_description    {*}${description}

homepage            https://github.com/astrofrog/pyavm

checksums           rmd160  23fd07edbc58eaf3faf793990c9612eb2fe9149e \
                    sha256  ce11c279ec75bdf823d0c386124a1528a5e7b36fa5dd4d26499227939f117f88 \
                    size    223189

python.versions     313

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

    depends_test-append \
                    port:py${python.version}-astropy \
                    port:py${python.version}-numpy \
                    port:py${python.version}-Pillow \
                    port:py${python.version}-sortedcontainers

    test.run        yes
}
