# -*- 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.15
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  1ed27fa081b764f0be0cf387a67700a3eb2c3b71 \
                    sha256  ecbfec4108523614929b93e3897e54165e9297b2ede4b55432258941abfaa1e0 \
                    size    716306

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
}
