# -*- 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_preprocessing
version             1.0.9
revision            0
categories-append   devel math
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     27 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         Keras Preprocessing is the data preprocessing and data augmentation module of the Keras deep learning library.
long_description    ${description}

homepage            https://github.com/keras-team/keras-preprocessing
master_sites        pypi:K/Keras-Preprocessing

distname            Keras_Preprocessing-${version}

checksums           rmd160  90659f99687a56433b3c187f14c96f7854e44d76 \
                    sha256  5e3700117981c2db762e512ed6586638124fac5842170701628088a11aeb51ac \
                    size    70609

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

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