# -*- 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.84.9
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  f9a9acbe06dabc999cf80c007cbd43b06e4517af \
                    sha256  13c2b8dc5785940ba02fa4f76d17f5509d8b3af944ad2e023bce9bcd9299eb54 \
                    size    244528

python.versions     39 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
}
