# -*- 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           github 1.0

github.setup        FutureLinkCorporation fann2 1.2.0
name                py-fann2
revision            1
checksums           rmd160  751e4b4ea2104bbd6500c601bd153e50a2709b27 \
                    sha256  63b2a6dde0b1d7f9a642598b86f223d0880cb87aef09024e19cc829840c1e3f0 \
                    size    65126

categories-append   science
license             LGPL-2
maintainers         {fusion.gat.com:smithsp @smithsp} openmaintainer
description         Python bindings for Fast Artificial Neural Networks 2.2.0 (FANN >= 2.2.0).
long_description    This is a python binding for Fast Artificial Neural Network Library (FANN >= 2.2.0) that \
                    implements multi-layer artificial neural networks with support for both fully-connected and sparsely-connected \
                    networks. It includes a framework for easily handling training data sets. It is easy to use, versatile, well-\ documented, and fast.

python.versions     312

github.tarball_from archive

build.env-append    PREFIX=$prefix
destroot.env-append PREFIX=$prefix

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