# -*- 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
PortGroup           select 1.0

name                adari_core
version             4.1.0
categories          science
license             BSD-3
supported_archs     noarch
platforms           darwin

maintainers         eso.org:usd-help

description         ADARI Plotting infrastructure (Core)
long_description    ADARI is a set of python modules and utilities that can be used to create \
                    reports of astronomical data. \
                    This package contains the core of ADARI.

homepage            http://www.eso.org/sci/software/pipelines

master_sites        https://ftp.eso.org/pub/dfs/pipelines/libraries/adari_core
checksums           rmd160 4c756f8024a1c8d9076aa7d7e9544e03efeba26e \
                    sha256 2f9e7e2fdd18b47a3df59fe0f0d358f4894d2789fc96f73595c6bbfe8166fff2

# Workaround to ensure that each version of macOS produces a different
# binary and they don't clash in the package pool
platforms       darwin

# Generate a single package edps that uses the python 3.13 stack
python.default_version 312
python.pep517       yes
python.pep517_backend setuptools

depends_run-append  \
                    port:py${python.default_version}-matplotlib \
                    port:py${python.default_version}-requests \
                    port:py${python.default_version}-requests-unixsocket \
                    port:py${python.default_version}-pydantic \
                    port:py${python.default_version}-uvicorn \
                    port:py${python.default_version}-fastapi \
                    port:py${python.default_version}-astropy
