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

python.versions     27 35 36

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  529b80b00a0e1948e543db6fe3da86ab3839657e \
                    sha256  8649ba6377ecc06ea10e0a8a954df5600d115b4b626861e33c79b41ec03c5194 \
                    size    25104

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
}