# -*- 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 PortGroup compiler_blacklist_versions 1.0 name py-clawpack version 5.8.0 revision 0 categories-append math science license BSD maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer platforms darwin 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 e2165d7e3fbee29e9942beb124732cf79ef0c6c8 \ sha256 0ba7734f21918a0dc1c11912fa9dd66d6bddc9d66beab4dd592166fa5032e74e \ size 5706095 patchfiles-append patch-python3.diff python.versions 38 39 # fatal error: 'threads.h' file not found compiler.c_standard 2011 compiler.blacklist-append {clang < 900} compilers.setup require_fortran # see https://trac.macports.org/ticket/60829 use_parallel_build no pre-build { build.env-append F90=${configure.f90} } if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-numpy depends_run-append port:py${python.version}-matplotlib # listed as extras_require in setup.py depends_run-append port:py${python.version}-petsc4py \ port:py${python.version}-scipy }