# -*- 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-metadata
version             1.14.0
revision            0

license             Apache-2
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer

description         Library and standards for schema and statistics.
long_description    TensorFlow Metadata provides standard representations \
                    for metadata that are useful when training machine \
                    learning models with TensorFlow.

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

python.versions     39 310 311
python.pep517_backend

if {${name} ne ${subport}} {
    master_sites    https://files.pythonhosted.org/packages/41/23/3705c7139886c079ef4c0e3be56a5a1fb90e9ee413a4b7caaee0ee0ea6fe/
    distname        tensorflow_metadata-${version}-py3-none-any
    extract.suffix  .whl
    extract.only

    checksums       rmd160  885ad520d1279e7ecfa3a1cb6712281fbf056cea \
                    sha256  5ff79bf96f98c800fc08270b852663afe7e74d7e1f92b50ba1487bfc63894cdb \
                    size    28663

    depends_run-append \
                    port:py${python.version}-google-api \
                    port:py${python.version}-protobuf3

    build {}

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