# -*- 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-tensorflow_estimator1
version             1.15.2
revision            0
supported_archs     noarch
platforms           {darwin any}
license             Apache-2
maintainers         {blair @blair} {jonesc @cjones051073} openmaintainer

description         High-level API that simplifies machine learning.
long_description    TensorFlow Estimator is a high-level TensorFlow API \
                    that greatly simplifies machine learning programming. \
                    Estimators encapsulate training, evaluation, prediction, \
                    and exporting for your model.

homepage            https://github.com/tensorflow/estimator

master_sites        https://files.pythonhosted.org/packages/72/33/f678e8c2a14a139aec1c376f2e8cbb11abececf656c40addc94a3d1d020d/

distname            tensorflow_estimator-${version}-py2.py3-none-any

checksums           rmd160  8c2d282add5211ac5b030a9f62b2cda0415088d0 \
                    sha256  9aacfb60d1ae87fad506c54c338b4123416ca693d1fdbaa2107c2a64c07da05f \
                    size    502866

livecheck.url   https://pypi.org/project/tensorflow-estimator/
livecheck.type  regex
livecheck.regex /project/tensorflow-estimator/(1(\\.\\d+)+)/

extract.suffix  .whl
extract.only

python.versions     39
python.pep517_backend

if {${name} ne ${subport}} {
    conflicts   py${python.version}-tensorflow_estimator

    build {
    }

    destroot.target       \
        ${distpath}/${distfiles}
}