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

name                py-keras
version             2.1.5
revision            0
categories-append   devel math
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     27 35 36

maintainers         stromnov openmaintainer

description         Deep Learning library for Theano and TensorFlow
long_description    ${description}

homepage            https://github.com/fchollet/keras
master_sites        pypi:K/Keras

distname            Keras-${version}

checksums           rmd160  3cdf3a9756801b25163b879154806fd0955ec8c3 \
                    sha256  907ad29add1fff27342a9f4fe3e60003d450d3af41a38f22f629c7736fc8399d

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools
    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-scipy \
                        port:py${python.version}-yaml \
                        port:py${python.version}-six

    notes-append        "Please do not forget to install one of Keras backends: py${python.version}-theano or tensorflow."

    livecheck.type      none
} else {
    livecheck.name      Keras
}