# -*- 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-cclib
version             1.8.1
revision            0

categories-append   science
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         parsers and algorithms for computational chemistry
long_description    {*}${description}

homepage            https://pypi.org/project/cclib

checksums           rmd160  40e1106ad2c49ce9c5d68b86b9a60dee9c8c0136 \
                    sha256  d10aa2352479fcdaa86cc32055a8ae7f98ce26523ea928944ab2256f0875d605 \
                    size    315050

python.versions     314

if {${name} ne ${subport}} {
    patchfiles      patch-pyproject.toml.diff

    depends_build-append \
                    port:py${python.version}-versioningit

    depends_lib-append \
                    port:py${python.version}-numpy \
                    port:py${python.version}-packaging \
                    port:py${python.version}-periodictable \
                    port:py${python.version}-scipy
}
