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

name                py-spglib
version             2.6.0
revision            1

categories-append   science
license             BSD
maintainers         {nist.gov:joe.fowler @joefowler} openmaintainer

description         Python interface for spglib (a C library for crystal symmetries).
long_description    {*}${description}

homepage            https://spglib.readthedocs.io

checksums           rmd160  2e5b849304de45dd75aa90950171c6943bbe3adb \
                    sha256  d66eda2ba00a1e14fd96ec9c3b4dbf8ab0fb3f124643e35785c71ee455b408eb \
                    size    2360880

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                    port:ninja \
                    port:py${python.version}-setuptools_scm \
                    port:py${python.version}-scikit-build-core

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