# -*- 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                chemex
version             2025.4.0
revision            1

categories-prepend  science
supported_archs     noarch
platforms           {darwin any > 13}
license             GPL-3+
maintainers         {reneeotten @reneeotten} openmaintainer

description         ChemEx is an analysis program for chemical exchange detected by NMR
long_description    {*}${description}

homepage            https://github.com/gbouvignies/chemex

checksums           rmd160  669394382f8e81610ff8f2fc4bdf496fb450b63f \
                    sha256  a55618f2eafc3dd933ef9f4db21eeccb4c5aa0f5f6c09d14a2948d8a06978382 \
                    size    2687378

python.default_version 313
python.pep517_backend hatch

depends_build-append \
                    port:py${python.version}-uv-dynamic-versioning

depends_lib-append  port:py${python.version}-annotated_types \
                    port:py${python.version}-cachetools \
                    port:py${python.version}-emcee3 \
                    port:py${python.version}-lmfit \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-numdifftools \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-rapidfuzz \
                    port:py${python.version}-rich \
                    port:py${python.version}-scipy
