# -*- 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             3.0.0
revision        1
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 ad4c7970bd02c9baf1f004972633fb9eb797cfd9 \
                    sha256 aec1bae4affa39654431abeae8dbe4bedf025fa0926be0b6286f532b06ed0b73

# 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.11 stack
python.default_version 311
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
