# -*- 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.2.4
revision 0
categories-append devel math
platforms darwin
license MIT
supported_archs noarch
python.versions 27 35 36 37
maintainers {stromnov @stromnov} openmaintainer
description Deep Learning library for Theano and TensorFlow
long_description ${description}
homepage https://github.com/keras-team/keras
master_sites pypi:K/Keras
distname Keras-${version}
checksums rmd160 23f5fcfbe5b6bab2e6393a0cce917cbf348031df \
sha256 90b610a3dbbf6d257b20a079eba3fdf2eed2158f64066a7c6f7227023fd60bc9 \
size 765866
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}-h5py \
port:py${python.version}-six \
port:py${python.version}-keras_applications \
port:py${python.version}-keras_preprocessing
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
}