# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        deepmind tree 0.1.9
github.tarball_from archive
name                py-dm-${github.project}
revision            0

license             Apache-2
maintainers         nomaintainer

description         Deepmind tree is a library for working with nested \
                    data structures.
long_description    {*}${description} In a way, tree generalizes the builtin \
                    map function which only supports flat sequences, and \
                    allows to apply a function to each "leaf" preserving \
                    the overall structure.

checksums           rmd160  fe1d84fa8509b63354ff7365a44abf7bd3b58fdb \
                    sha256  d736ec355daf39c93633373a160120cdd45717e6717d105efed722d2cd2cfcc9 \
                    size    37080

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                    port:cmake

    depends_lib-append \
                    port:py${python.version}-absl \
                    port:py${python.version}-attrs \
                    port:py${python.version}-numpy \
                    port:py${python.version}-wrapt
}
