# -*- 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-larixite
version             2025.5.1
revision            0

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

description         convert CIF data to inputs for XAS calculations Feff, \
                    FDMNES, etcetera
long_description    {*}${description}

homepage            https://github.com/xraypy/larixite

checksums           rmd160  8effb3cd6503e088aac9367f081963d412c37e3a \
                    sha256  69c159ed24568a65dc3968766721a36cdbc261ea124e367d67f1fb785b4cabf5 \
                    size    3829489

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}-pymatgen \
                    port:py${python.version}-pyshortcuts \
                    port:py${python.version}-sqlalchemy \
                    port:py${python.version}-xraydb
}
