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

name                py-scikit-hep-uproot4

github.setup        scikit-hep uproot4 4.0.6
revision            0

checksums           rmd160  4f0d1dc996e4ed7581476a9e2181e067f9000c8b \
                    sha256  6ae8547d4e36ec8fff1afdbe0793fce16d6cc886b89a156f26c7c49116d7879e \
                    size    700808

platforms           darwin
supported_archs     x86_64

license             BSD

maintainers         {jonesc @cjones051073} openmaintainer

description         Uproot is a reader and a writer of the ROOT file format using only Python and Numpy.
long_description    {*}${description}

# Supported python versions
python.versions     36 37 38 39

if {${name} ne ${subport}} {

    depends_build-append \
        port:py${python.version}-setuptools

    depends_lib-append \
        port:py${python.version}-scikit-hep-awkward1 \
        port:py${python.version}-scikit-hep-boost-histogram \
        port:py${python.version}-scikit-hep-hist \
        port:py${python.version}-numpy \
        port:lz4 \
        port:xxhashlib \
        port:xrootd \
        port:zstd

    depends_test-append \
        port:py${python.version}-pytest

    livecheck.type none 

}

# Exclude pre-release candidates
github.livecheck.regex {([0-9.]+)}
