# -*- 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-emmet-core
version             0.86.2
revision            0

categories-append   science databases devel
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         Core Emmet Library
long_description    {*}${description}

homepage            https://github.com/materialsproject/emmet

distname            emmet_core-${version}

checksums           rmd160  1438904f299041caada66776a1229efb0a70fb34 \
                    sha256  216cbf67a9e548bb007389da61b4749932a9faf74ad2ebd01f839446c9e663c9 \
                    size    306536

python.versions     310 311 312 313

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

    depends_lib-append \
                    port:py${python.version}-monty \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pybtex \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-pydantic_settings \
                    port:py${python.version}-pymatgen \
                    port:py${python.version}-typing_extensions
}
