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

github.setup        scikit-hep mplhep 0.3.2 v
revision            0

checksums           rmd160  0d9a9fe70038241fce04e4a4c5ea4a6ae950b45e \
                    sha256  dd2ca882e1c4cf7abd7ceeb402e041621ec3b021b6cef3037baf1b2d6f15eb71 \
                    size    1198406

platforms           darwin

license             MIT

maintainers         {jonesc @cjones051073} openmaintainer

description         A set of helpers for matplotlib to more easily produce plots typically needed in HEP.
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-mplhep_data
    
    depends_test-append \
        port:py${python.version}-pytest

    livecheck.type none 

}

# Only allow numbers, to avoid pre-release versions
github.livecheck.regex  {([0-9.]+)}
