# -*- 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_estimator
version             2.13.0
revision            0
platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         {blair @blair} 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/5c/c318268d96791c6222ad7df1651bbd1b2409139afeb6f468c0f327177016/
distname            tensorflow_estimator-${version}-py2.py3-none-any

checksums           rmd160  576c72a1012a1fe9850179a362bf778c44039283 \
                    sha256  6f868284eaa654ae3aa7cacdbef2175d0909df9fcf11374f5166f8bf475952aa \
                    size    440805

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

extract.suffix      .whl
extract.only

python.versions     39 310 311
python.pep517_backend

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

    build {
    }

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