# -*- 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-mp-api
version             0.45.13
revision            0

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

description         API Client for the Materials Project
long_description    {*}${description}

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

distname            mp_api-${version}

checksums           rmd160  6821a0088a81568f6d4e09634b30ba1c0f85975e \
                    sha256  716c944e72a7e01739b79e2bc4c28c9aff88990be5d524b683c588a4c2546236 \
                    size    715391

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-emmet-core \
                    port:py${python.version}-maggma \
                    port:py${python.version}-monty \
                    port:py${python.version}-msgpack \
                    port:py${python.version}-pymatgen \
                    port:py${python.version}-requests \
                    port:py${python.version}-setuptools \
                    port:py${python.version}-smart_open \
                    port:py${python.version}-typing_extensions
}
