# -*- 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
PortGroup               compilers 1.0

name                    py-clawpack
version                 5.14.0
revision                0

categories-append       math science
license                 BSD
maintainers             {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description             a collection of finite volume methods for linear and nonlinear hyperbolic systems of conservation laws
long_description        Clawpack ("Conservation Laws Package") is ${description}.

homepage                https://www.clawpack.org

checksums               rmd160  ccadb9179f4a5c33238fa79c502dcb59946025ff \
                        sha256  b9f3208fe9e1d834122ae86e2af536a3010435d0d65e6629f360416ea9cffe89 \
                        size    9748479

python.versions         314
python.pep517_backend   meson

# fatal error: 'threads.h' file not found
compiler.c_standard     2011
compiler.blacklist-append {clang < 900}

compilers.setup         require_fortran

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