# -*- 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 instant 1.3.0 instant-
name                py-instant
revision            1

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

description         Instant inlining of C and C++ in Python
long_description    Instant is a Python module that allows for \
                    instant inlining of C and C++ code in Python. \
                    It is a small Python module built on top of SWIG \
                    and Distutils. It is part of the FEniCS Project.

checksums           rmd160  9ba75557b733c1fb672e74292f7c38c2b2c7df3f \
                    sha256  348226ef1a43793442a88a095c0078c204ce1f86bd8749e01d16def8c57abb76

python.versions     27
python.link_binaries_suffix

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

    livecheck.type  none
}
