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

github.setup        scikit-hep particle 0.23.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
fetch.type          git

license             BSD
platforms           {darwin any}
supported_archs     noarch

maintainers         {jonesc @cjones051073} openmaintainer

description         Particle provides a pythonic interface to the Particle Data Group (PDG) data.
long_description    {*}${description}

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    python.pep517_backend   hatch

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

    depends_lib-append \
        port:py${python.version}-attrs \
        port:py${python.version}-scikit-hep-hepunits
}
