# -*- 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
# $Id: Portfile 119604 2014-05-02 09:12:57Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0
PortGroup           bitbucket 1.0

bitbucket.setup     fenics-project fiat 1.3.0 fiat-
name                py-fiat

categories-append   math science
license             LGPL-3+
platforms           darwin
supported_archs     noarch
maintainers         sean openmaintainer

description         FInite element Automatic Tabulator
long_description    The FInite element Automatic Tabulator FIAT supports \
                    generation of arbitrary order instances of the Lagrange \
                    elements on lines, triangles, and tetrahedra. It is \
                    also capable of generating arbitrary order instances of \
                    Jacobi-type quadrature rules on the same element shapes. \
                    Further, H(div) and H(curl) conforming finite element \
                    spaces such as the families of Raviart-Thomas, \
                    Brezzi-Douglas-Marini and Nedelec are supported on \
                    triangles and tetrahedra.

checksums           rmd160  f16e0a9a169e2ca426ad27e3209721c170f34f77 \
                    sha256  286dc0f688edcc7bd8524907509412698bf88a425377719d6f24d6e48d461647

python.versions     27
python.link_binaries_suffix

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

    livecheck.type  none
}
