# -*- 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-hist

github.setup        scikit-hep hist 2.7.2 v
revision            0
fetch.type          git

license             BSD
platforms           {darwin any}
supported_archs     noarch

maintainers         {jonesc @cjones051073} openmaintainer

description         Hist is a analyst friendly front-end for boost-histogram.
long_description    {*}${description}

# Supported python versions
python.versions     37 38 39 310 311

if {${name} ne ${subport}} {
    python.pep517   yes
    
    depends_build-append \
        port:py${python.version}-setuptools \
        port:py${python.version}-hatchling \
        port:py${python.version}-hatch-vcs

    depends_lib-append \
        port:py${python.version}-scikit-hep-boost-histogram

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